Can the DVR be installed on a Chromebox running Ubuntu 14.04.5 LTS?
Yes anything that runs Ubuntu should work.
I would double check the specs and CPU model though, especially if you want advanced features like comskip and Quick Sync transcoding.
Ok, tried to install the DVR service by running the command at the terminal and it failed. Output from the terminal window shown below.
NOTE: Your root password is required to install Channels DVR as a service.
NOTE: Please enter it at the prompt below.
[sudo] password for tom:
initctl: Unknown job: channels-dvr
ERROR: Installation of Channels DVR failed.
ERROR: Please contact [email protected] with the full output above.
I’m sure it’s likely me doing something wrong, don’t know that much about Ubuntu.
That’s version of Ubuntu is a couple years old. Looks like you hit a bug since we haven’t tested with it yet.
Can you run a couple commands and paste the output:
ls -alh /etc/conf/channels-dvr.conf
sudo status channels-dvr
I think that version of Ubuntu may be the only one that runs on a Chromebox but I have not researched that very extensively at this point. Below is the output from the 2 commands.
Thx.
(trusty)tom@localhost:~$ ls -alh /etc/conf/channels-dvr.conf
ls: cannot access /etc/conf/channels-dvr.conf: No such file or directory
(trusty)tom@localhost:~$ sudo status channels-dvr
[sudo] password for tom:
status: Unknown job: channels-dvr
(trusty)tom@localhost:~$
Okay seems the service installation is failing.
Run these:
ls -alh channels-dvr
bash -x channels-dvr/install.sh
Ok, finally got Ubuntu 14 reinstalled on the Chromebox and ran the original command listed on the beta page to install the DVR server and it worked. Everything appears to be working…now to move recordings, passess, etc. to the new box.
Thx for your assistance, much appreciated!
Cool!
Ran into a problem. After I got the DVR installed and reconfigured I tried to reboot the Chromebox to ensure everything started back up properly. When the Chromebox reboots the “Enable Bonjour Discovery” box is unchecked and can’t be re-checked and my tuners do not show. I can use the drop down to scan for tuners then they show up however the bonjour box is still unchecked and the DVR is not working on the AppleTV.
I tried to reboot the AppleTV as well but same result. I then tried to uninstall the DVR, re-installed it and rebooted the Chromebox and the same result.
What does the Log tab say?
/home/vagrant/channels-server-x86_64/http.go:205 (0x4060dd)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:97 (0x4d78ea)
/home/vagrant/channels-server-x86_64/http.go:185 (0x405191)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:97 (0x4d78ea)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/recovery.go:45 (0x4e727a)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:97 (0x4d78ea)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/contrib/sessions/sessions.go:65 (0x64c8c9)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:97 (0x4d78ea)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/gin.go:284 (0x4dd93e)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/gin.go:265 (0x4dd220)
/home/vagrant/go/src/net/http/server.go:2202 (0x5d3eed)
/home/vagrant/go/src/net/http/server.go:1579 (0x5d07f7)
/home/vagrant/go/src/runtime/asm_amd64.s:2086 (0x485af1)
2017/02/16 23:43:22 [SYS] Shutting down...
2017/02/16 23:43:22 [DVR] Recording engine stopped.
2017/02/16 23:43:37 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/16 23:43:37 [HDR] Found 0 devices
2017/02/16 23:43:37 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
2017/02/16 23:43:37 [SYS] Started HTTP Server
2017/02/16 23:43:37 [DVR] Recording engine started in /media/tom/DVR
2017/02/16 23:43:37 [SYS] Bonjour service running for dvr-tom-panther.local. []
2017/02/16 23:43:37 [ERR] Could not create backup: mkdir /media/tom/DVR/Database: permission denied
2017/02/16 23:43:37 [NAT] Failed to discover gateway: no gateway found
2017/02/16 23:43:37 [NAT] Failed to discover upnp: write udp4 0.0.0.0:57267->239.255.255.250:1900: sendto: network is unreachable
2017/02/16 23:43:37 [NAT] Failed to discover router using natpmp and upnp.
2017/02/16 23:43:37 [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: dial udp [::1]:53: connect: cannot assign requested address
2017/02/16 23:44:21 [DVR] Recording engine stopped.
2017/02/16 23:44:23 [DVR] Recording engine started in /media/tom/DVR
2017/02/16 23:44:24 [SYS] Created database snapshot: backup-20170216.234423
2017/02/16 23:44:33 [IDX] Pruned 1 expired airings from USA-TN41505-X in 113.398085ms.
2017/02/16 23:44:44 [SYS] Shutting down...
2017/02/16 23:44:44 [DVR] Recording engine stopped.
2017/02/16 23:44:58 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/16 23:44:58 [HDR] Found 0 devices
2017/02/16 23:44:58 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
2017/02/16 23:44:58 [SYS] Started HTTP Server
2017/02/16 23:44:58 [DVR] Recording engine started in /media/tom/DVR
2017/02/16 23:44:58 [SYS] Bonjour service running for dvr-tom-panther.local. []
2017/02/16 23:44:58 [NAT] Failed to discover gateway: no gateway found
2017/02/16 23:44:58 [NAT] Failed to discover upnp: write udp4 0.0.0.0:34212->239.255.255.250:1900: sendto: network is unreachable
2017/02/16 23:44:58 [NAT] Failed to discover router using natpmp and upnp.
2017/02/16 23:44:58 [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: dial udp [::1]:53: connect: cannot assign requested address
2017/02/16 23:44:58 [ERR] Could not create backup: mkdir /media/tom/DVR/Database: permission denied
2017/02/17 01:44:58 [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]:59451->[::1]:53: read: connection refused
2017/02/17 02:44:58 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: read udp [::1]:36203->[::1]:53: read: connection refused
2017/02/17 03:44:58 [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]:37282->[::1]:53: read: connection refused
2017/02/17 05:28:01 [DVR] Recording engine stopped.
2017/02/17 05:28:27 [DVR] Recording engine started in /media/tom/DVR
2017/02/17 05:28:27 [SYS] Created database snapshot: backup-20170217.052827
2017/02/17 05:28:38 [IDX] Pruned 752 expired airings from USA-TN41505-X in 1.376274625s.
2017/02/17 05:32:28 [NAT] Failed to discover upnp: write udp4 0.0.0.0:32770->239.255.255.250:1900: i/o timeout
2017/02/17 05:32:28 [NAT] Failed to discover router using natpmp and upnp.
2017/02/17 05:38:39 [SYS] Shutting down...
2017/02/17 05:38:39 [DVR] Recording engine stopped.
2017/02/17 05:39:25 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/17 05:39:26 [HDR] Found 2 devices
2017/02/17 05:39:27 [SYS] Started HTTP Server
2017/02/17 05:39:28 [DVR] Recording engine started in /media/tom/DVR
2017/02/17 05:39:28 [SYS] Bonjour service running for dvr-tom-panther.local. [192.168.1.117]
2017/02/17 05:39:28 [SYS] Created database snapshot: backup-20170217.053928
2017/02/17 05:39:31 [NAT] Failed to discover upnp: write udp4 0.0.0.0:38314->239.255.255.250:1900: i/o timeout
2017/02/17 05:39:31 [NAT] Failed to discover router using natpmp and upnp.
2017/02/17 05:39:38 [IDX] Pruned 51 expired airings from USA-TN41505-X in 166.011459ms.
2017/02/17 05:39:53 [SYS] Shutting down...
2017/02/17 05:39:53 [DVR] Recording engine stopped.
2017/02/17 05:40:08 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/17 05:40:08 [HDR] Found 0 devices
2017/02/17 05:40:08 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
2017/02/17 05:40:08 [SYS] Started HTTP Server
2017/02/17 05:40:08 [DVR] Recording engine started in /media/tom/DVR
2017/02/17 05:40:08 [SYS] Bonjour service running for dvr-tom-panther.local. []
2017/02/17 05:40:08 [ERR] Could not create backup: mkdir /media/tom/DVR/Database: permission denied
2017/02/17 05:40:08 [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: dial udp [::1]:53: connect: cannot assign requested address
2017/02/17 05:40:08 [NAT] Failed to discover gateway: no gateway found
2017/02/17 05:40:08 [NAT] Failed to discover upnp: write udp4 0.0.0.0:50783->239.255.255.250:1900: sendto: network is unreachable
2017/02/17 05:40:08 [NAT] Failed to discover router using natpmp and upnp.
2017/02/17 05:44:19 [SYS] Shutting down...
2017/02/17 05:44:19 [DVR] Recording engine stopped.
2017/02/17 05:44:34 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/17 05:44:34 [HDR] Found 0 devices
2017/02/17 05:44:34 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
2017/02/17 05:44:34 [SYS] Started HTTP Server
2017/02/17 05:44:34 [DVR] Recording engine started in /media/tom/DVR
2017/02/17 05:44:34 [SYS] Bonjour service running for dvr-tom-panther.local. []
2017/02/17 05:44:34 [ERR] Could not create backup: mkdir /media/tom/DVR/Database: permission denied
2017/02/17 05:44:34 [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: dial udp [::1]:53: connect: cannot assign requested address
2017/02/17 05:44:34 [NAT] Failed to discover gateway: no gateway found
2017/02/17 05:44:34 [NAT] Failed to discover upnp: write udp4 0.0.0.0:54274->239.255.255.250:1900: sendto: network is unreachable
2017/02/17 05:44:34 [NAT] Failed to discover router using natpmp and upnp.
2017/02/17 05:45:40 [DVR] Error during search: cannot perform operation on empty alias
2017/02/17 05:45:45 [DVR] Error during search: cannot perform operation on empty alias
2017/02/17 05:50:12 [SYS] Shutting down...
2017/02/17 05:50:12 [DVR] Recording engine stopped.
2017/02/17 05:50:25 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/17 05:50:25 [HDR] Found 0 devices
2017/02/17 05:50:25 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
2017/02/17 05:50:25 [SYS] Started HTTP Server
2017/02/17 05:50:25 [DVR] Recording engine started in /media/tom/DVR
2017/02/17 05:50:25 [SYS] Bonjour service running for dvr-tom-panther.local. []
2017/02/17 05:50:25 [ERR] Could not create backup: mkdir /media/tom/DVR/Database: permission denied
2017/02/17 05:50:25 [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: dial udp [::1]:53: connect: cannot assign requested address
2017/02/17 05:50:25 [NAT] Failed to discover gateway: no gateway found
2017/02/17 05:50:25 [NAT] Failed to discover upnp: write udp4 0.0.0.0:33587->239.255.255.250:1900: sendto: network is unreachable
2017/02/17 05:50:25 [NAT] Failed to discover router using natpmp and upnp.
2017/02/17 05:56:10 [DVR] Error during search: cannot perform operation on empty alias
2017/02/17 05:56:24 [DVR] Error during search: cannot perform operation on empty alias
2017/02/17 05:59:16 [DVR] Rule 'Golden State Warriors' found 3 new airings
2017/02/17 05:59:16 [DVR] queued recording job 1487907000-19
2017/02/17 05:59:16 [DVR] queued recording job 1488326400-19
2017/02/17 05:59:16 [DVR] queued recording job 1488502800-19
2017/02/17 06:01:26 [SYS] Shutting down...
2017/02/17 06:01:26 [DVR] Recording engine stopped.
2017/02/17 06:01:58 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/17 06:01:59 [HDR] Found 2 devices
2017/02/17 06:01:59 [SYS] Started HTTP Server
2017/02/17 06:02:00 [DVR] Recording engine started in /media/tom/DVR
2017/02/17 06:02:00 [SYS] Bonjour service running for dvr-tom-panther.local. [192.168.1.117]
2017/02/17 06:02:00 [SYS] Created database snapshot: backup-20170217.060200
2017/02/17 06:02:03 [NAT] Failed to discover upnp: write udp4 0.0.0.0:43966->239.255.255.250:1900: i/o timeout
2017/02/17 06:02:03 [NAT] Failed to discover router using natpmp and upnp.
2017/02/17 06:02:10 [IDX] Pruned 78 expired airings from USA-TN41505-X in 151.796394ms.
2017/02/17 06:03:09 [SYS] Shutting down...
2017/02/17 06:03:09 [DVR] Recording engine stopped.
2017/02/17 06:03:23 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/17 06:03:23 [HDR] Found 0 devices
2017/02/17 06:03:23 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
2017/02/17 06:03:23 [SYS] Started HTTP Server
2017/02/17 06:03:23 [DVR] Recording engine started in /media/tom/DVR
2017/02/17 06:03:23 [SYS] Bonjour service running for dvr-tom-panther.local. []
2017/02/17 06:03:23 [ERR] Could not create backup: mkdir /media/tom/DVR/Database: permission denied
2017/02/17 06:03:23 [NAT] Failed to discover gateway: no gateway found
2017/02/17 06:03:23 [NAT] Failed to discover upnp: write udp4 0.0.0.0:43204->239.255.255.250:1900: sendto: network is unreachable
2017/02/17 06:03:23 [NAT] Failed to discover router using natpmp and upnp.
2017/02/17 06:03:23 [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: dial udp [::1]:53: connect: cannot assign requested address
2017/02/17 06:07:29 [DVR] Error during search: cannot perform operation on empty alias
2017/02/17 09:52:02 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-17 9:30AM
2017/02/17 09:52:09 [DVR] indexed 663 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:52:10 [DVR] indexed 43 movies (16 channels) [1s fetch, 0s index]
2017/02/17 09:52:10 [DVR] pruned 36 replaced airings in 0s.
2017/02/17 09:52:10 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-17 3:30PM
2017/02/17 09:52:16 [DVR] indexed 656 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:52:18 [DVR] indexed 61 movies (25 channels) [1s fetch, 0s index]
2017/02/17 09:52:19 [DVR] pruned 30 replaced airings in 0s.
2017/02/17 09:52:19 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-17 9:30PM
2017/02/17 09:52:26 [DVR] indexed 669 airings (97 channels) [5s fetch, 1s index]
2017/02/17 09:52:28 [DVR] indexed 57 movies (27 channels) [2s fetch, 0s index]
2017/02/17 09:52:29 [DVR] pruned 36 replaced airings in 0s.
2017/02/17 09:52:29 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-18 3:30AM
2017/02/17 09:52:36 [DVR] indexed 796 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:52:37 [DVR] indexed 39 movies (19 channels) [1s fetch, 0s index]
2017/02/17 09:52:37 [DVR] pruned 9 replaced airings in 0s.
2017/02/17 09:52:38 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-18 9:30AM
2017/02/17 09:52:44 [DVR] indexed 632 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:52:46 [DVR] indexed 77 movies (30 channels) [2s fetch, 0s index]
2017/02/17 09:52:46 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:52:46 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-18 3:30PM
2017/02/17 09:52:52 [DVR] indexed 591 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:52:55 [DVR] indexed 83 movies (33 channels) [2s fetch, 0s index]
2017/02/17 09:52:55 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-18 9:30PM
2017/02/17 09:53:01 [DVR] indexed 633 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:53:03 [DVR] indexed 58 movies (30 channels) [1s fetch, 0s index]
2017/02/17 09:53:03 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:53:03 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-19 3:30AM
2017/02/17 09:53:09 [DVR] indexed 796 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:53:11 [DVR] indexed 36 movies (18 channels) [1s fetch, 0s index]
2017/02/17 09:53:11 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-19 9:30AM
2017/02/17 09:53:17 [DVR] indexed 600 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:53:19 [DVR] indexed 73 movies (29 channels) [1s fetch, 0s index]
2017/02/17 09:53:19 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:53:19 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-19 3:30PM
2017/02/17 09:53:24 [DVR] indexed 508 airings (97 channels) [3s fetch, 1s index]
2017/02/17 09:53:26 [DVR] indexed 94 movies (38 channels) [1s fetch, 0s index]
2017/02/17 09:53:27 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-19 9:30PM
2017/02/17 09:53:33 [DVR] indexed 648 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:53:35 [DVR] indexed 62 movies (27 channels) [1s fetch, 0s index]
2017/02/17 09:53:35 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:53:36 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-20 3:30AM
2017/02/17 09:53:45 [DVR] indexed 737 airings (97 channels) [7s fetch, 2s index]
2017/02/17 09:53:47 [DVR] indexed 39 movies (19 channels) [1s fetch, 0s index]
2017/02/17 09:53:47 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-20 9:30AM
2017/02/17 09:53:53 [DVR] indexed 583 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:53:55 [DVR] indexed 64 movies (25 channels) [1s fetch, 0s index]
2017/02/17 09:53:55 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-20 3:30PM
2017/02/17 09:54:02 [DVR] indexed 588 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:54:03 [DVR] indexed 69 movies (28 channels) [1s fetch, 0s index]
2017/02/17 09:54:03 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-20 9:30PM
2017/02/17 09:54:11 [DVR] indexed 692 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:54:13 [DVR] indexed 48 movies (28 channels) [1s fetch, 0s index]
2017/02/17 09:54:13 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-21 3:30AM
2017/02/17 09:54:20 [DVR] indexed 772 airings (97 channels) [5s fetch, 2s index]
2017/02/17 09:54:22 [DVR] indexed 31 movies (12 channels) [1s fetch, 0s index]
2017/02/17 09:54:22 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:54:22 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-21 9:30AM
2017/02/17 09:54:29 [DVR] indexed 676 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:54:31 [DVR] indexed 43 movies (18 channels) [1s fetch, 0s index]
2017/02/17 09:54:31 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-21 3:30PM
2017/02/17 09:54:37 [DVR] indexed 679 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:54:39 [DVR] indexed 45 movies (20 channels) [1s fetch, 0s index]
2017/02/17 09:54:39 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:54:39 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-21 9:30PM
2017/02/17 09:54:47 [DVR] indexed 715 airings (97 channels) [5s fetch, 2s index]
2017/02/17 09:54:48 [DVR] indexed 38 movies (18 channels) [1s fetch, 0s index]
2017/02/17 09:54:48 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-22 3:30AM
2017/02/17 09:54:54 [DVR] indexed 762 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:54:55 [DVR] indexed 30 movies (10 channels) [0s fetch, 0s index]
2017/02/17 09:54:55 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:54:56 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-22 9:30AM
2017/02/17 09:55:03 [DVR] indexed 662 airings (97 channels) [5s fetch, 1s index]
2017/02/17 09:55:04 [DVR] indexed 40 movies (14 channels) [0s fetch, 0s index]
2017/02/17 09:55:04 [DVR] pruned 2 replaced airings in 0s.
2017/02/17 09:55:04 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-22 3:30PM
2017/02/17 09:55:11 [DVR] indexed 643 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:55:15 [DVR] indexed 51 movies (22 channels) [3s fetch, 0s index]
2017/02/17 09:55:15 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:55:15 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-22 9:30PM
2017/02/17 09:55:23 [DVR] indexed 692 airings (97 channels) [5s fetch, 1s index]
2017/02/17 09:55:24 [DVR] indexed 42 movies (21 channels) [1s fetch, 0s index]
2017/02/17 09:55:24 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-23 3:30AM
2017/02/17 09:55:31 [DVR] indexed 761 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:55:33 [DVR] indexed 40 movies (15 channels) [2s fetch, 0s index]
2017/02/17 09:55:33 [DVR] pruned 4 replaced airings in 0s.
2017/02/17 09:55:34 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-23 9:30AM
2017/02/17 09:55:40 [DVR] indexed 651 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:55:42 [DVR] indexed 45 movies (19 channels) [1s fetch, 0s index]
2017/02/17 09:55:42 [DVR] pruned 5 replaced airings in 0s.
2017/02/17 09:55:42 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-23 3:30PM
2017/02/17 09:55:50 [DVR] indexed 672 airings (97 channels) [4s fetch, 2s index]
2017/02/17 09:55:51 [DVR] indexed 54 movies (20 channels) [1s fetch, 0s index]
2017/02/17 09:55:51 [DVR] pruned 1 replaced airings in 0s.
2017/02/17 09:55:51 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-23 9:30PM
2017/02/17 09:55:59 [DVR] indexed 699 airings (97 channels) [5s fetch, 2s index]
2017/02/17 09:56:00 [DVR] indexed 43 movies (19 channels) [1s fetch, 0s index]
2017/02/17 09:56:00 [DVR] pruned 2 replaced airings in 0s.
2017/02/17 09:56:01 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-24 3:30AM
2017/02/17 09:56:08 [DVR] indexed 749 airings (97 channels) [5s fetch, 2s index]
2017/02/17 09:56:10 [DVR] indexed 32 movies (13 channels) [1s fetch, 0s index]
2017/02/17 09:56:10 [DVR] pruned 12 replaced airings in 0s.
2017/02/17 09:56:10 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-02-24 9:30AM
2017/02/17 09:56:17 [DVR] indexed 639 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:56:18 [DVR] indexed 45 movies (18 channels) [1s fetch, 0s index]
2017/02/17 09:56:18 [DVR] pruned 10 replaced airings in 0s.
2017/02/17 09:56:22 [DVR] Fetching guide data for 97 stations in USA-TN41505-X @ 2017-03-03 3:30AM
2017/02/17 09:56:29 [DVR] indexed 769 airings (97 channels) [4s fetch, 1s index]
2017/02/17 09:56:30 [DVR] indexed 28 movies (11 channels) [0s fetch, 0s index]
2017/02/17 09:56:31 [IDX] Pruned 0 expired groups from USA-TN41505-X in 1.083658ms.
2017/02/17 09:56:32 [DVR] Rule 'The Big Bang Theory' found 1 new airings
2017/02/17 09:56:32 [DVR] queued recording job 1487898000-5
2017/02/17 09:56:32 [DVR] Waiting 10h3m27.23123151s until next job 1487383200-ch1005
2017/02/17 09:56:32 [IDX] Pruned 358 expired airings from USA-TN41505-X in 1.06859633s.
It looks like your networking might not be configured correctly, which is causing the DVR to start before the network is available.
It also looks like it might have started before the external drive was mounted.
For the networking issue, see Wait for networking on reboot (ubuntu network-online.target)
You need to check your /etc/network/interfaces file and make sure it references the right ethernet adapter, and is set to something like:
auto eth0
iface eth0 inet dhcp
Once networking is fixed, if the DVR still shows “permission denied” errors in the log after boot then try this: Fedora 25 Help - Start Channels-DVR automatically after reboot
Currently the Chromebox is connected via wifi. I changed the interfaces file as suggested, plugged it into ethernet and rebooted. Here is the output of the log after that:
2017/02/18 08:59:00 [SYS] Shutting down…
2017/02/18 08:59:00 [DVR] Recording engine stopped.
2017/02/18 08:59:14 [SYS] Starting Channels DVR v2017.02.15.0045 (linux-x86_64) in /home/tom/channels-dvr/data
2017/02/18 08:59:14 [HDR] Found 0 devices
2017/02/18 08:59:14 [ERR] Failed to refresh auth: Post https://community.getchannels.com/dvr/api: dial tcp: lookup community.getchannels.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
2017/02/18 08:59:14 [SYS] Started HTTP Server
2017/02/18 08:59:14 [DVR] Recording engine started in /media/tom/DVR
2017/02/18 08:59:14 [SYS] Bonjour service running for dvr-tom-panther.local. []
2017/02/18 08:59:14 [ERR] Could not create backup: mkdir /media/tom/DVR/Database: permission denied
2017/02/18 08:59:14 [NAT] Failed to discover gateway: no gateway found
2017/02/18 08:59:14 [NAT] Failed to discover upnp: write udp4 0.0.0.0:34945->239.255.255.250:1900: sendto: network is unreachable
2017/02/18 08:59:14 [NAT] Failed to discover router using natpmp and upnp.
2017/02/18 08:59:14 [DVR] Waiting 11h1m45.076743218s until next job 1487469660-13
2017/02/18 08:59:14 [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: dial udp [::1]:53: connect: cannot assign requested address
I tried the link you provided for the “permission denied” error but when I opened the channels-dvr.service file using sudo gedit /etc/systemd/system/channels-dvr.service a window opens but I don’t see anything to edit.
I upgraded Ubuntu to 16.04 and now all seems to work fine after a reboot…so far, so good.
Really appreciate your assistance!