|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Can't seem to change Sage webserver port
Port 8080 is very popular and lots of dockers want to use this port. So I am trying to change this port in the SageTV docker.
I have changed it to 7070 - I changed it in Advanced settings like this (7070 is within the data entry box): Code:
Hide advanced settings ... Port 1: 7070 SageTV WebServer Port 8080 root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="stuckless-sagetv-server-java8" --net="host" --privileged="true" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "VERSION"="latest" -e "JAVA_MEM_MB"="3072" -e "LICENCE_DATA"="" -e "TCP_PORT_7070"="7070" -e "TCP_PORT_42024"="42024" -e "TCP_PORT_7818"="7818" -e "UDP_PORT_8270"="8270" -e "UDP_PORT_31100"="31100" -e "TCP_PORT_31099"="31099" -e "UDP_PORT_16867"="16867" -e "UDP_PORT_16869"="16869" -e "TCP_PORT_16881"="16881" -e "OPT_GENTUNER"="Y" -e "OPT_COMMANDIR"="N" -e "OPT_COMSKIP"="Y" -e "OPT_SETPERMS"="Y" -e "OPT_LIRC"="N" -v "/mnt/user/appdata/sagetv/":"/opt/sagetv":rw -v "/mnt/user/media/":"/var/media":rw -v "/mnt/user/media2/videos/":"/var/mediaext":rw -v "/mnt/user":"/unraid":rw stuckless/sagetv-server-java8 Shouldn't that part in red be either "TCP_PORT_8080"="7070" or "TCP_PORT_7070"="8080"
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
|||
|
|||
Don't forget, you also need to change the HTTP Port in the Jetty Web Server plugin settings to 7070.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
#3
|
||||
|
||||
Keep in mind that the port mappings that listed for the Docker container ONLY are used if you run in BRIDGE mode, and for sagetv, you can't actually run in Bridge mode... so changing those, do nothing
Someday, I want to get sagetv working in a way that it would support running in Bridge mode, and when that happens, you could use the docker settings to redirect the port.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
|||
|
|||
Quote:
So does that mean that you can't change the port, or you have to change the port in both the docker config and in the Jetty Webserver config?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#5
|
||||
|
||||
Quote:
It's not that sagetv won't run in bridged mode (NAT), because it will... but if you do that, then sagetv thinks ALL connections are remote and you get a the placeshifter login. But when sagetv is running in BRIDGE mode, changing the docker config would change the port (via NAT). For my setup, sagetv runs in HOST mode and claims port 8080 via sagetv webserver config. Then when I install other docker containers, I run them in bridged mode and I make sure to remap any 8080 ports on those.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#6
|
|||
|
|||
Quote:
For now I will keep Sage on 7070. My Ubiquiti Unifi controller wants 8080 so I am letting it use that port.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#7
|
||||
|
||||
Quote:
https://docs.docker.com/engine/userg...work-in-detail
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#8
|
||||
|
||||
Yeah, the problem is 'Bridge' mode is not named properly. If named properly, a Bridge should join them on the same subnet, and each container would make it's own DHCP request (or use static IP), just like if the different containers were connected to the same switch that the host is. What is really happening here in docker's 'bridge' mode is really a 'routed' mode, where each container that is routed through a gateway to the host's network, with NAT in there to translate packets to the right container.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#9
|
|||
|
|||
Quote:
Code:
set inform http://host:port/inform
__________________
Home Network: https://karylstein.com/technology.html |
#10
|
|||
|
|||
I have changed the Sage ports although now that I have all of my Unifi APs up and running on the new controller I don't know that I really need port 8080 anymore.
I did have to ssh into them and set the inform hostort as you suggest.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#11
|
|||
|
|||
Question on this -
I'm also running into port 8080 issues as other docker containers use it (sabnzd). If not running the jetty webserver if 8080 on sage even used? If I did run jetty is it as simple as changing 8080 to another port in the jetty config? Or is it in the sage.properties file? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help using Jetty Proxy in Sage Webserver | MacDaddy | SageTV v7 Customizations | 0 | 07-01-2012 09:54 AM |
SageTV Not Opening Com Port (Using Digi realport multi-port serial adapter) | personalt | Hardware Support | 0 | 06-09-2010 07:02 PM |
serial port channel change | Ryel | Hardware Support | 1 | 11-21-2006 02:44 PM |
Sage Webserver user names | crypto55 | SageTV Customizations | 2 | 01-22-2006 08:23 AM |
Setting up IIS in conjunction w/ Sage Webserver | sleonard | General Discussion | 10 | 01-30-2005 02:42 PM |