Whilst looking through the DVR log to search for clues as to why my TV guide is not getting updated, I noticed the following error in red text. It looks like my wife had entered a search for the space character? Just posting in case it needs a fix.
2018/07/26 14:55:35 [Recovery] panic recovered:
GET /dvr/guide/search/groups?q=%20&limit=undefined&filter=undefined HTTP/1.1
Host: dvr-synologyds218.local:8089
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-gb
Connection: keep-alive
Referer: http://dvr-synologyds218.local:8089/admin/search?q=%20
User-Agent: Mozilla/5.0 (iPad; CPU OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1
runtime error: slice bounds out of range
/home/vagrant/go/src/runtime/panic.go:502 (0x42c208)
/home/vagrant/go/src/runtime/panic.go:35 (0x42b0bd)
/home/vagrant/channels-server-x86_64/dvr/search.go:259 (0xb6b8a2)
/home/vagrant/channels-server-x86_64/http.go:1638 (0xc06ba7)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:104 (0x928b22)
/home/vagrant/channels-server-x86_64/http.go:207 (0xbe951b)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:104 (0x928b22)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/recovery.go:45 (0x938609)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:104 (0x928b22)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/contrib/sessions/sessions.go:65 (0xb926fd)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:104 (0x928b22)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-contrib/gzip/gzip.go:47 (0xb8ac4b)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:104 (0x928b22)
/home/vagrant/channels-server-x86_64/http.go:271 (0xbf9b0e)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/context.go:104 (0x928b22)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/gin.go:332 (0x92fbc4)
/home/vagrant/channels-server-x86_64/.go/src/github.com/gin-gonic/gin/gin.go:296 (0x92f412)
/home/vagrant/go/src/net/http/server.go:2694 (0x6a85fb)
/home/vagrant/go/src/net/http/server.go:1830 (0x6a4750)
/home/vagrant/go/src/runtime/asm_amd64.s:2361 (0x45bd50)
P.S. Good to see so much gin involved in recovering from a panic!