"Found 0 tuners" after reboot (Ubuntu networking)

This morning after reboot, DVR won’t start automatically. Then it won’t find tuners unless I scan network for them. I can’t seem to check the box “Enable Bonjour Discovery.” Not sure what’s going on here. Any suggestions?

OS
linux ubuntu
16.04 (kernel: 4.4.0-62-generic)
CPU
8 cores / Intel® Xeon® CPU E3-1240 V2 @ 3.40GHz
load averages: 0.57 0.53 0.24
RAM
16.78 GB
91.0% free

Thanks!

I had this problem earlier. A restart of the DVR fixed it. But then it happened again on reboot.

Please post your log

When it happened to me here are my logs. Looks like the HDHR couldn’t be 2017/02/04 05:41:45 [SYS] Starting Channels DVR v2017.02.03.0335 (darwin-x86_64) in /Users/todd/channels-dvr/data
2017/02/04 05:41:45 [HDR] Found 0 devices
2017/02/04 05:41:45 [SYS] Bonjour service running for dvr-imac.local. [192.168.1.15]
2017/02/04 05:41:45 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com: no such host
2017/02/04 05:41:45 [SYS] Started HTTP Server
2017/02/04 05:41:46 [DVR] Recording engine started in /Volumes/Macintosh HD/Users/todd/Channels DVR
2017/02/04 05:41:46 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 05:41:46 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 05:41:46 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 05:41:46 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 05:41:46 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 05:41:46 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1486429200-3: Supergirl
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1486515600-4: The Flash
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1486519200-5: DC’s Legends of Tomorrow
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1486602000-1: Arrow
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1486690200-6: Powerless
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1486778400-2: Emerald City
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1487034000-3: Supergirl
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1487206800-1: Arrow
2017/02/04 05:41:46 [DVR] Deleting job with expired serial 1.486208356e+09: 1487295000-6: Powerless
2017/02/04 05:41:46 [SYS] Created database snapshot: backup-20170204.054146found…

You already posted your logs on the other thread and figured out your issue, no? The server is coming up without network access so it cannot find your hdhomerun.

Seems to be working. Just wanted to add To the thread I had the same problem with the same version. Never had the problem with previous versions.

Thanks

2017/02/04 11:26:42 [SYS] Starting Channels DVR v2017.02.03.0335 (linux-x86_64) in /home/nokomis/channels-dvr/data
2017/02/04 11:26:43 [HDR] Found 0 devices
2017/02/04 11:26:43 [SYS] Bonjour service running for dvr-nokomis.local. []
2017/02/04 11:26:43 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: read udp [::1]:44877->[::1]:53: read: connection refused
2017/02/04 11:26:43 [SYS] Started HTTP Server
2017/02/04 11:26:43 [DVR] Recording engine started in /media/dvr/Recorded TV
2017/02/04 11:26:43 [NAT] Failed to discover gateway: no gateway found
2017/02/04 11:26:43 [NAT] Failed to discover upnp: write udp4 0.0.0.0:57950->239.255.255.250:1900: sendto: network is unreachable
2017/02/04 11:26:43 [NAT] Failed to discover router using natpmp and upnp.
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [DVR] Error during search: cannot perform operation on empty alias
2017/02/04 11:26:43 [SYS] Error checking for update: Get https://channels-dvr.s3.amazonaws.com/latest.json: dial tcp: lookup channels-dvr.s3.amazonaws.com on [::1]:53: read udp [::1]:60020->[::1]:53: read: connection refused
2017/02/04 11:26:43 [SYS] Created database snapshot: backup-20170204.112643
2017/02/04 11:26:43 [SYS] Removing old backup backup-20170129.213036

Looks like the same issue. The software is starting before the network is available. What distro and version of Linux was this?

Mine occurred on Mac OS X 10.12.3.

linux ubuntu
16.04 (kernel: 4.4.0-62-generic)

I think you are right. When I kill the DVR process, it restarts itself and then works flawlessly – including Bonjour.

It’s possible your ubuntu is not configured to bring up networking correctly. See the discussion in Wait for networking on reboot (ubuntu network-online.target)

No issues with ubuntu here. The DVR is automatically updating and running great. Linux Ubuntu 16.04 (kernel: 4.4.0-59-generic)

1 Like

Yes, that was the problem. Somehow my eth0 is now eno1 – so had to make an edit to the /etc/network/interfaces file. Not sure how or when that happened.

All working now. Resolved.

1 Like

Or not. That was resolved for one or two reboots. Now, though I have no network issues (boot log shows clean boot with no errors) it also shows Channels is loading before the network. Any idea how to change that to wait?

Maybe @karlmitchell has some ideas too

Try running “sudo systemctl list-dependencies network-online.target” to see if the DVR is listed

it is not.

Check to see if network-online.target is listed in /etc/systemd/system/channels-dvr.service

[Unit]
Description=Channels DVR
Wants=network-online.target
After=network-online.target

No, only has:

[Unit]
Description=Channels DVR

Adding that to channels-dvr.service fixes the problem.

Not sure why that wasn’t there to start…

1 Like