Problems moving DVR to Synology DS918+

I am attempting to move my Channels DVR installation from a Mac to a new Synology DS918+. I did the following:

  • Installed the Channels Synology package on the NAS
  • I can see the Channels DVR admin screen at http://[Synology IP]:8089/admin/settings
  • Changed my router to forward port 8089 to the NAS
  • Copied over the Channels DVR folder and imported all of the settings

However, on the Admin screen under Remote DVR, the URL section is just spinning with "Requesting HTTPS Certificate" . Only a handful of the HDHR Premium channels show up under On Now. None of the local channels show up. And the channels that do show up will not play. And I get some really nasty errors in the log when I try to watch a channel (log below). Any ideas what I am missing here?

2019/01/02 12:02:21 [Recovery] 2019/01/02 - 12:02:21 panic recovered:
GET /devices/ANY/channels/1111/hls/stream.m3u8/stream1.ts? HTTP/1.1
Host: 192.168.1.221:8089
Accept: /
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Cookie: stay_login=1; smid=zdEoDz8rkdZVMeiVziKGFoeJbxFXSRTCxpoI8X1LyqX_c01zG3nrr0lFud3JbhNchE63FHRmUdFlXUruWqSMFw; id=edmOS5wjrli6U1890PDN235018
Referer: http://192.168.1.221:8089/admin/guide/now
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

runtime error: invalid memory address or nil pointer dereference
/home/vagrant/go/src/runtime/panic.go:513 (0x42d838)
/home/vagrant/go/src/runtime/panic.go:82 (0x42c98d)
/home/vagrant/go/src/runtime/signal_unix.go:390 (0x443811)
/home/vagrant/channels-server-x86_64/http.go:3731 (0xc4c7e8)
/home/vagrant/channels-server-x86_64/http.go:3457 (0xc76c2c)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:3100 (0xc727ea)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:230 (0xc438e2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:210 (0xc42883)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:48 (0x998e69)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-contrib/[email protected]/sessions.go:65 (0xbea95e)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:275 (0xc53ea5)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:361 (0x99043a)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:326 (0x98fc61)
/home/vagrant/go/src/net/http/server.go:2741 (0x6c5daa)
/home/vagrant/go/src/net/http/server.go:1847 (0x6c1fa5)
/home/vagrant/go/src/runtime/asm_amd64.s:1333 (0x45dbe0)

2019/01/02 12:02:23 [Recovery] 2019/01/02 - 12:02:23 panic recovered:
GET /devices/ANY/channels/1111/hls/stream.m3u8/stream1.ts? HTTP/1.1
Host: 192.168.1.221:8089
Accept: /
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Cookie: stay_login=1; smid=zdEoDz8rkdZVMeiVziKGFoeJbxFXSRTCxpoI8X1LyqX_c01zG3nrr0lFud3JbhNchE63FHRmUdFlXUruWqSMFw; id=edmOS5wjrli6U1890PDN235018
Referer: http://192.168.1.221:8089/admin/guide/now
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

runtime error: invalid memory address or nil pointer dereference
/home/vagrant/go/src/runtime/panic.go:513 (0x42d838)
/home/vagrant/go/src/runtime/panic.go:82 (0x42c98d)
/home/vagrant/go/src/runtime/signal_unix.go:390 (0x443811)
/home/vagrant/channels-server-x86_64/http.go:3731 (0xc4c7e8)
/home/vagrant/channels-server-x86_64/http.go:3457 (0xc76c2c)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:3100 (0xc727ea)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:230 (0xc438e2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:210 (0xc42883)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:48 (0x998e69)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-contrib/[email protected]/sessions.go:65 (0xbea95e)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:275 (0xc53ea5)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:361 (0x99043a)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:326 (0x98fc61)
/home/vagrant/go/src/net/http/server.go:2741 (0x6c5daa)
/home/vagrant/go/src/net/http/server.go:1847 (0x6c1fa5)
/home/vagrant/go/src/runtime/asm_amd64.s:1333 (0x45dbe0)

2019/01/02 12:02:25 [Recovery] 2019/01/02 - 12:02:25 panic recovered:
GET /devices/ANY/channels/1111/hls/stream.m3u8/stream1.ts? HTTP/1.1
Host: 192.168.1.221:8089
Accept: /
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Cookie: stay_login=1; smid=zdEoDz8rkdZVMeiVziKGFoeJbxFXSRTCxpoI8X1LyqX_c01zG3nrr0lFud3JbhNchE63FHRmUdFlXUruWqSMFw; id=edmOS5wjrli6U1890PDN235018
Referer: http://192.168.1.221:8089/admin/guide/now
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

runtime error: invalid memory address or nil pointer dereference
/home/vagrant/go/src/runtime/panic.go:513 (0x42d838)
/home/vagrant/go/src/runtime/panic.go:82 (0x42c98d)
/home/vagrant/go/src/runtime/signal_unix.go:390 (0x443811)
/home/vagrant/channels-server-x86_64/http.go:3731 (0xc4c7e8)
/home/vagrant/channels-server-x86_64/http.go:3457 (0xc76c2c)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:3100 (0xc727ea)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:230 (0xc438e2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:210 (0xc42883)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:48 (0x998e69)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-contrib/[email protected]/sessions.go:65 (0xbea95e)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:275 (0xc53ea5)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:361 (0x99043a)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:326 (0x98fc61)
/home/vagrant/go/src/net/http/server.go:2741 (0x6c5daa)
/home/vagrant/go/src/net/http/server.go:1847 (0x6c1fa5)
/home/vagrant/go/src/runtime/asm_amd64.s:1333 (0x45dbe0)

2019/01/02 12:02:29 [Recovery] 2019/01/02 - 12:02:29 panic recovered:
GET /devices/ANY/channels/1111/hls/stream.m3u8/stream1.ts? HTTP/1.1
Host: 192.168.1.221:8089
Accept: /
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Cookie: stay_login=1; smid=zdEoDz8rkdZVMeiVziKGFoeJbxFXSRTCxpoI8X1LyqX_c01zG3nrr0lFud3JbhNchE63FHRmUdFlXUruWqSMFw; id=edmOS5wjrli6U1890PDN235018
Referer: http://192.168.1.221:8089/admin/guide/now
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

runtime error: invalid memory address or nil pointer dereference
/home/vagrant/go/src/runtime/panic.go:513 (0x42d838)
/home/vagrant/go/src/runtime/panic.go:82 (0x42c98d)
/home/vagrant/go/src/runtime/signal_unix.go:390 (0x443811)
/home/vagrant/channels-server-x86_64/http.go:3731 (0xc4c7e8)
/home/vagrant/channels-server-x86_64/http.go:3457 (0xc76c2c)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:3100 (0xc727ea)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:230 (0xc438e2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:210 (0xc42883)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:48 (0x998e69)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-contrib/[email protected]/sessions.go:65 (0xbea95e)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/channels-server-x86_64/http.go:275 (0xc53ea5)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 (0x987dd2)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:361 (0x99043a)
/home/vagrant/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:326 (0x98fc61)
/home/vagrant/go/src/net/http/server.go:2741 (0x6c5daa)
/home/vagrant/go/src/net/http/server.go:1847 (0x6c1fa5)
/home/vagrant/go/src/runtime/asm_amd64.s:1333 (0x45dbe0)

Yeah, ignore all of that. I restarted the NAS and everything worked. :slight_smile:

1 Like