Ubuntu - DVR Won't Start

I installed Channels DVR on Ubuntu 18, however I can't get it to start.

2019/10/08 02:12:26 [SYS] Starting Channels DVR v2019.09.23.2227 (linux-x86_64 pid:2191) in /usr/local/channels-dvr/data
2019/10/08 02:12:27 [HDR] Found 0 devices
2019/10/08 02:12:27 [ERR] Failed to refresh auth: missing oauth client
2019/10/08 02:12:27 [SYS] Started HTTP Server
2019/10/08 02:12:27 [zeroconf] no suitable IPv4 interface: udp4: failed to join any of these interfaces: []
2019/10/08 02:12:27 [zeroconf] no suitable IPv6 interface: udp6: failed to join any of these interfaces: []
2019/10/08 02:12:27 [SYS] Bonjour failed to register service: No supported interface
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1077d6e]

goroutine 1 [running]:
github.com/fancybits/bonjour.(*Server).Service(...)
/home/vagrant/gopath/pkg/mod/github.com/fancybits/[email protected]/server.go:168
main.setupBonjour()
/home/vagrant/channels-server-x86_64/bonjour_generic.go:71 +0x4fe
main.StartBonjour()
/home/vagrant/channels-server-x86_64/bonjour.go:148 +0x20
main.run()
/home/vagrant/channels-server-x86_64/main.go:218 +0x363
main.SetupMenu(...)
/home/vagrant/channels-server-x86_64/menu.go:6
main.main()
/home/vagrant/channels-server-x86_64/main.go:142 +0x1e0

What does "ifconfig -a" show?

Here you go -

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 1824 bytes 108032 (108.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1824 bytes 108032 (108.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

venet0: flags=211<UP,BROADCAST,POINTOPOINT,RUNNING,NOARP> mtu 1500
inet 127.0.0.1 netmask 255.255.255.255 broadcast 0.0.0.0 destination 127.0.0.1
inet6 ::2 prefixlen 128 scopeid 0x80<compat,global>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 0 (U NSPEC)
RX packets 1297401 bytes 1835389029 (1.8 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 767007 bytes 157299336 (157.2 MB)
TX errors 0 dropped 175 overruns 0 carrier 0 collisions 0

venet0:0: flags=211<UP,BROADCAST,POINTOPOINT,RUNNING,NOARP> mtu 1500
inet 199.167.31.209 netmask 255.255.255.255 broadcast 199.167.31.209 destination 199.167.31.209
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 0 (U NSPEC)

Is this in a VM?

Why are both interfaces set to point to point?

Yes, it is.

1 Like

Try:

curl -o channels-dvr/latest/channels-dvr https://channels-dvr.s3.amazonaws.com/2019.10.08.0258/channels-dvr-linux-x86_64

Yes, this worked!! Thanks!

1 Like