|
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
|
||||
|
||||
OpenDCT on Docker not finding HDHR
Hi all,
I installed the CraziFuzzy OPENDCT docker on an unraid machine, but it does not seem to be getting out to the HDHR devices. I see in the log file where ODCT is sending discovery packets out to 0.0.0.0. Whereas on my odct on my windows machine it is broadcasting to 192.168.1.255. Also there is an error for port 64998 (?). Can I manually override these? The Unraid box IP is 192.168.1.180, and I can see and communicate with all other dockers (incl sagetv) without issues. ODCT Docker is set to HOST mode. There's a Win7 SageTV at .190 that has no issues seeing the HDHR's. So I don't think it's a router issue. Logs attached. Any ideas? Thanks!
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. Last edited by BobbyDing; 01-29-2017 at 09:46 PM. |
#2
|
||||
|
||||
One possible issue was I was using Community Applications for the install which was installing it to the apps directory (original install from Oct). I deleted that and removed and re installed odct docker so it's now installing into appdata, but it's still failing the same. I'm thinking it has something to do with the lines:
"[WrapperSimpleAppMain] ERROR HDHomeRunDiscovery - Unable to use port 64998, using any port available." and/or HDHomeRunDiscovery - Broadcasting HDHomeRun discovery packet to /0.0.0.0:65001... (startup) The windows machine on the same network it not getting these errors. I have all other containers and also the windows install shut down, but 64998 still appears to be blocked. Is there any way to tell if the discovery packets are getting out and or responded too? Thanks. Latest logs attached.
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. Last edited by BobbyDing; 01-29-2017 at 09:49 PM. |
#3
|
||||
|
||||
I did push out a new image today. I honestly have never posted it to CA, because I never got around to figuring out how that's done. I just add
Code:
https://github.com/crazifuzzy/opendct-docker
__________________
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 |
#4
|
||||
|
||||
Hi Fuzzy. Thanks for the reply. The unraid CA app keeps your old install settings in case you want to re install (keeps your specific settings). Thus it still had the settings from when I tried installing this docker image back in October. So earlier today it installed your latest image to the apps directory instead of appdata. I got that corrected though. It seems like the odct docker is failing to see and use the network for hdhr discovery and is defaulting to 0.0.0.0 instead of 192.168.1.255. I have no idea what might cause this. It seems odd because odct is seeing eth0 as 192.168.1.180 in the logs, which is the IP of the unraid box on the network.
Bobby
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. Last edited by BobbyDing; 01-29-2017 at 10:40 PM. |
#5
|
||||
|
||||
I will try to check my logs later today and see what mine is showing. one of the changes in 0.5.24 was in dealing with the broadcast address, but I do know that mine IS working with that version, so I'll try to see what is different between my logs and yours.
__________________
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 |
#6
|
||||
|
||||
Quote:
I deleted odct again tonight and re installed. This time I'm not getting the port 64998 failure anymore (not sure what changed) but it is still using 0.0.0.0 for the discovery packets and not seeing any HDHR devices. I looked through the documentation and don't see a way to force discovery to a particular IP. New logs attached. .
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. |
#7
|
||||
|
||||
Okay, so I've checked in my log, and it is broadcasting to two different addresses (192.168.99.255:65001, and 0.0.0.0:65001), and they are responding.
Something appears to be different in your network config. Your openDCT is seeing a single network interfaces: eth0 @ 192.168.1.180. My openDCT is seeing two network interfaces: docker0 @ 172.17.0.1 and br0 @ 192.168.99.9. This difference is what is causing the problem. I am not entirely sure why you are seeing the eth0 instead of br0 for your local lan. What version of unRAID are you running on, and what is the Network Type setting in the openDCT container settings?
__________________
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 |
#8
|
||||
|
||||
Yeah in a previous log I remember seeing an Docker IP included in the log and it's not there now. I think you are right about there being something wrong with this unraid network. Odd that all other containers work fine (plex/emby/plexpy/sickrage, and a win 7 VM all work normally (all shut down during this install). Under settings/network settings, Enable bonding/bridging/vlans are set to NO (is that correct?) and the ip is set to 192.168.1.180. The odct container is set for HOST. Not sure where else to look.
Unraid V 6.2.1 .
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. Last edited by BobbyDing; 01-30-2017 at 11:13 PM. |
#9
|
||||
|
||||
This isn't a permanent solution, but if you have the IP addresses of all your HDHomeRuns, you can specify them in on the property hdhr.static_addresses_csv= separated by commas.
e.g. Code:
hdhr.static_addresses_csv=192.168.1.96,192.168.1.102
__________________
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 |
#10
|
||||
|
||||
Thank You. I've started removing unused containers and VM's. Found some leftover folders from openvpn that was removed months ago. I think some house cleaning is in order before continuing, including a parity check.
I will try your suggestions if the cleanup doesn't help. I always try to use the stock settings. Might there be something in the network settings I need to change (bonding/bridging/vlans)? All are presently disabled. Thanks, Bobby
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. |
#11
|
||||
|
||||
By the way, how is this container to be installed? Do you have to stop it after running for 30 seconds and restart it again before starting sage? Like the Win version? Or is that automated?
Thanks, Bobby
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. |
#12
|
||||
|
||||
Quote:
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. Last edited by BobbyDing; 01-31-2017 at 12:31 AM. |
#13
|
||||
|
||||
So still no joy. Here's the logs again. Still showing the same. Could this be my router blocking it for some reason?
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. |
#14
|
||||
|
||||
The line shouldn't be getting removed unless OpenDCT didn't actually stop running. This is really odd. It all but implies that you have two instances of the OpenDCT Docker installed if the container really did stop.
__________________
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 Last edited by EnterNoEscape; 01-31-2017 at 05:28 AM. |
#15
|
||||
|
||||
Quote:
shut down all other docker containers/VM's. stopped and restarted the array. completely removed the odct docker container and assc. folders/files. stopped and restarted the array. installed odct docker container (version.config=4, version.program=0.5.24.) stopped the container. stopped and restarted the array (to be sure odct is stopped). added line hdhr.static_addresses_csv=192.168.1.255 stopped and restarted the array. checked that the new line was still in opendct.properties (it was). started odct container. checked properties file and the new line is gone again. I'm completely baffled. This must be peculiar to my machine as nobody else is having this issue. update... So maybe this will help. I just did the following: stopped the container. checked the time on the opendct.properties file (4:44 pm). stopped and restarted the array. checked the time on the opendct.properties file (4:44 pm). started the container. checked the time on the opendct.properties file (4:47 pm). stopped the container. checked the time on the opendct.properties file (4:47 pm). also I noticed the last modified time on the transcode folder changed to 4:47 pm. so I deleted the profile_example from the transcode folder and restarted the container. encoder_profile returned to the transcode folder. transcode folder and opendct.properties files times changed to 5:00 pm. I wasn't sure if this was proper behavior. It seems like it is re installing itself on startup of the container, and not updating the properties file on stopping. Could it be possible that something in my unraid is restoring the files whenever the odct container starts? .
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. Last edited by BobbyDing; 01-31-2017 at 04:17 PM. |
#16
|
||||
|
||||
Quote:
__________________
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 |
#17
|
||||
|
||||
Quote:
This only because an issue in the last few docker images that auto-update the version by simply installing the latest.
__________________
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 |
#18
|
||||
|
||||
Quote:
Obviously in a Docker situation, this doesn't make a lot of sense because you can't edit the file ahead of time. It is marked as a configuration file which is why you see the prompt in the log about overwriting it. It also shouldn't disappear if you were to uninstall OpenDCT for the same reason. Point taken though. I'll see about changing that in future versions. Edit: I also wanted to mention that it the default is to not replace the file, so I still don't know why it would make that kind of decision for you. As soon as the options appear, the installation dies and it's unclear what happened.
__________________
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 Last edited by EnterNoEscape; 01-31-2017 at 06:18 PM. |
#19
|
||||
|
||||
I think it was failing to install because it was asking whether to overwrite the properties file, so I think I had put the wrong force option on there.
__________________
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 |
#20
|
||||
|
||||
I've got this docker loaded so I can try to get my HDHR to record in h.264 instead of mpeg 2 and I'm not sure where to start with the docker.
I set it as a host and the /config dir is in /appdata/openDCT After getting the docker running I don't see any files in the appdata dir. What am I missing? A lot I'm guessing
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenDCT not finding HDHomeRun Tunners | NetworkGuy | Hardware Support | 21 | 06-01-2017 10:58 AM |
problem tuning single channel with OpenDCT Docker | matt91 | SageTV for unRAID/Docker | 1 | 01-25-2017 01:58 PM |
OpenDCT and R5000 | checkbin | Hardware Support | 9 | 12-29-2016 12:54 PM |
Broke my OpenDCT? | ThePaladinTech | Hardware Support | 2 | 03-29-2016 03:19 PM |
OpenDCT: Can I use it? | SDeGonge | Hardware Support | 7 | 02-20-2016 10:27 AM |