How to stop DVR server from disabling itself panic: runtime error:

Paging Dr. @eric

Is the DVR running on your server?

No

Are you able to get it to start? Otherwise you're going to need to find the channels-dvr.log on the system and see what it is saying. It's very unusual that it wouldn't start up.

No, the site keeps saying unable to connect. I'm assuming it's taking its sweet time updating the server.

Which will be here
/mnt/HD/HD_a2/Nas_Prog/ChannelsDVR/channels-dvr/data/channels-dvr.log

I logged into my NAS and, on a whim, I turned off the Channels DVR app and then turned it back on and now it's starting up. Weird.

I would check the log while it's still running.
And you should submit diagnostics so the developers can see what's going on.
DVR web UI
Support > Troubleshooting

The server is running and it's scanning my media but it won't connect to the log.

Please go to Support -> Troubleshooting -> Submit Diagnostic Logs from the web interface of the DVR and let us know when it's been submitted so we can have a better idea of what was going on.

Getting the same error.

What error? I need diagnostics or more details to have any idea what’s going on.

Unable to connect

And now the website is down again. This is frustrating!

Please find the log file at /mnt/HD/HD_a2/Nas_Prog/ChannelsDVR/channels-dvr/data/channels-dvr.log on your NAS and email it to [email protected]

Here's everything recorded today:

2026/03/22 02:29:08.119341 [SYS] Detected time jump of -22.808025913s
2026/03/22 05:05:29.229152 [HC] Removed 198 entries for 18.9M from /shares/Volume_1/channels-data/Images/tmsimg to keep under cache limit of 1G (oldest deleted: 2025-03-02T22:21:30-06:00, newest deleted: 2025-03-03T13:37:11-06:00)
2026/03/22 08:06:49.852866 [SYS] Starting Channels DVR v2026.02.09.1530 (linux-armv7l pid:12956) in /mnt/HD/HD_a2/Nas_Prog/ChannelsDVR/channels-dvr/data
2026/03/22 08:06:49.955884 [SYS] Started HTTP Server on 8089
2026/03/22 08:07:02.070829 [DVR] No listings for X-M3U (41856 airings, 0 groups); starting indexer..
2026/03/22 08:07:15.715300 [DVR] Recording engine started in /shares/Volume_1/channels-data
2026/03/22 08:07:16.163468 [SYS] Bonjour service running for dvr-mycloudex2ultra.local. [192.168.0.112]
2026/03/22 08:08:08.393524 [ERR] No stations available in lineup X-M3U during guide data download
2026/03/22 08:14:25.312184 [DVR] Indexed 128 channels (43008 airings + 1920 replaced) with placeholders [6m17s index]
2026/03/22 08:14:43.764451 [IDX] Pruned 0 expired groups from X-M3U in 581µs.
2026/03/22 08:17:03.050880 [SYS] Created database snapshot: backup-20260322.131657
2026/03/22 08:17:03.143300 [SYS] Removing old backup backup-20260220.192701
2026/03/22 09:38:07.310541 [ERR] No stations available in lineup X-M3U during guide data download
2026/03/22 09:42:30.287948 [DVR] Indexed 128 channels (43008 airings + 0 replaced) with placeholders [4m23s index]
2026/03/22 09:42:42.878394 [IDX] Pruned 0 expired groups from X-M3U in 171µs.
2026/03/22 09:42:43.367624 [IDX] Pruned 1152 expired airings from X-M3U in 429ms.
2026/03/22 09:57:37.001696 [DVR] Recording engine stopped.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1f9b0ac]

goroutine 61 [running]:
github.com/fancybits/channels-server/dvr.(*Scannable).SetLastError(0x866a100, {0x3c63fb8, 0x53e1d98})
	github.com/fancybits/channels-server/dvr/scannable.go:38 +0x128
github.com/fancybits/channels-server/dvr.(*Recorder).scanPath(0x5d2da48, {0x2cce4ce, 0x2}, {0x6035b26, 0xa}, 0x6605f74)
	github.com/fancybits/channels-server/dvr/scanner.go:284 +0x2cc
github.com/fancybits/channels-server/dvr.(*Recorder).doScan(0x5d2da48)
	github.com/fancybits/channels-server/dvr/scanner.go:245 +0x184
github.com/fancybits/channels-server/dvr.(*Recorder).RunScanner(0x5d2da48)
	github.com/fancybits/channels-server/dvr/scanner.go:115 +0x220
created by github.com/fancybits/channels-server/dvr.(*Recorder).Run in goroutine 1
	github.com/fancybits/channels-server/dvr/recorder.go:248 +0x178
2026/03/22 11:02:37.917046 [SYS] Starting Channels DVR v2026.02.09.1530 (linux-armv7l pid:18351) in /mnt/HD/HD_a2/Nas_Prog/ChannelsDVR/channels-dvr/data
2026/03/22 11:02:38.054590 [SYS] Started HTTP Server on 8089
2026/03/22 11:02:50.670314 [DVR] No listings for X-M3U (41856 airings, 0 groups); starting indexer..
2026/03/22 11:02:50.799570 [ERR] No stations available in lineup X-M3U during guide data download
2026/03/22 11:02:54.050576 [DVR] Recording engine started in /shares/Volume_1
2026/03/22 11:02:54.235293 [SYS] Bonjour service running for dvr-mycloudex2ultra.local. [192.168.0.112]
2026/03/22 11:04:45.900014 [DVR] Recording engine stopped.
2026/03/22 11:04:53.498438 [DVR] Recording engine started in /shares/Volume_1
2026/03/22 11:04:57.941746 [DVR] No listings for X-M3U (42126 airings, 0 groups); starting indexer..
2026/03/22 11:04:58.162922 [ERR] No stations available in lineup X-M3U during guide data download
2026/03/22 11:06:35.280071 [DVR] Indexed 128 channels (43008 airings + 0 replaced) with placeholders [3m44s index]
2026/03/22 11:11:50.181994 [DVR] Indexed 128 channels (43008 airings + 0 replaced) with placeholders [6m52s index]
2026/03/22 11:12:02.675093 [IDX] Pruned 0 expired groups from X-M3U in 205µs.
2026/03/22 11:13:08.723636 [SYS] Created database snapshot: backup-20260322.161259
2026/03/22 13:40:46.701101 [SCN] Imported movie #39559 MUSIC/Big Country - Eclectic - London, Dingwalls - March 21, 1996.mp4
2026/03/22 13:44:36.646448 [SCN] Imported movie #39560 MUSIC/Florence + the Machine - HPLive.mp4
2026/03/22 13:47:58.825784 [SCN] Imported movie #39561 MUSIC/Sum 41 - Introduction to Destruction (Live in London 2001).webm
2026/03/22 13:49:24.368624 [SCN] Imported movie #39562 MUSIC/The Pixies- Barrymore Theater, Madison Wi 12592.mp4
2026/03/22 13:50:38.615596 [SCN] Imported movie #39563 MUSIC/The Police - Synchronicity Concert, Montreal, Canada, August 2nd, 1983.mp4
2026/03/22 15:30:34.515260 [SYS] Downloading new version v2026.03.22.2002
2026/03/22 15:31:56.329958 [SYS] Update downloaded and verified successfully.
2026/03/22 15:33:03.598052 [SYS] Bonjour service stopped.
2026/03/22 15:33:08.107851 [DVR] Recording engine stopped.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1f9b0ac]

goroutine 349 [running]:
github.com/fancybits/channels-server/dvr.(*Scannable).SetLastError(0x6473140, {0x3c63fb8, 0x53e1d98})
	github.com/fancybits/channels-server/dvr/scannable.go:38 +0x128
github.com/fancybits/channels-server/dvr.(*Recorder).scanPath(0x81d48c8, {0x2cce4ce, 0x2}, {0x7fc0410, 0xa}, 0x8601f74)
	github.com/fancybits/channels-server/dvr/scanner.go:284 +0x2cc
github.com/fancybits/channels-server/dvr.(*Recorder).doScan(0x81d48c8)
	github.com/fancybits/channels-server/dvr/scanner.go:245 +0x184
github.com/fancybits/channels-server/dvr.(*Recorder).RunScanner(0x81d48c8)
	github.com/fancybits/channels-server/dvr/scanner.go:115 +0x220
created by github.com/fancybits/channels-server/dvr.(*Recorder).Run in goroutine 89
	github.com/fancybits/channels-server/dvr/recorder.go:248 +0x178
2026/03/22 19:31:48.257120 [SYS] Starting Channels DVR v2026.03.22.2002 (linux-armv7l pid:9391) in /mnt/HD/HD_a2/Nas_Prog/ChannelsDVR/channels-dvr/data
2026/03/22 19:31:48.635866 [SYS] Started HTTP Server on 8089
2026/03/22 19:32:03.742860 [DVR] No listings for X-M3U (43008 airings, 0 groups); starting indexer..
2026/03/22 19:32:03.948581 [ERR] No stations available in lineup X-M3U during guide data download
2026/03/22 19:32:57.974902 [DVR] Recording engine started in /shares/Volume_1
2026/03/22 19:32:59.300727 [SYS] Bonjour service running for dvr-mycloudex2ultra.local. [192.168.0.112]
2026/03/22 19:39:41.573052 [DVR] Recording engine stopped.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1d86ba0]

goroutine 88 [running]:
github.com/fancybits/channels-server/dvr.(*Scannable).SetLastError(0x103d9340, {0x3b2a620, 0x51dbca0})
	github.com/fancybits/channels-server/dvr/scannable.go:38 +0x128
github.com/fancybits/channels-server/dvr.(*Recorder).scanPath(0x5d5e548, {0x2bad476, 0x6}, {0x1005e400, 0xe}, 0x5871f74)
	github.com/fancybits/channels-server/dvr/scanner.go:284 +0x2cc
github.com/fancybits/channels-server/dvr.(*Recorder).doScan(0x5d5e548)
	github.com/fancybits/channels-server/dvr/scanner.go:238 +0xac
github.com/fancybits/channels-server/dvr.(*Recorder).RunScanner(0x5d5e548)
	github.com/fancybits/channels-server/dvr/scanner.go:115 +0x224
created by github.com/fancybits/channels-server/dvr.(*Recorder).Run in goroutine 1
	github.com/fancybits/channels-server/dvr/recorder.go:248 +0x178
2026/03/22 20:05:10.422471 [SYS] Starting Channels DVR v2026.03.22.2002 (linux-armv7l pid:23217) in /mnt/HD/HD_a2/Nas_Prog/ChannelsDVR/channels-dvr/data
2026/03/22 20:05:10.536228 [SYS] Started HTTP Server on 8089
2026/03/22 20:05:22.561971 [DVR] No listings for X-M3U (43008 airings, 0 groups); starting indexer..
2026/03/22 20:05:22.740818 [ERR] No stations available in lineup X-M3U during guide data download
2026/03/22 20:05:24.827281 [DVR] Recording engine started in /shares/Volume_1
2026/03/22 20:05:25.144130 [SYS] Bonjour service running for dvr-mycloudex2ultra.local. [192.168.0.112]
2026/03/22 20:09:07.490028 [DVR] Indexed 128 channels (43008 airings + 0 replaced) with placeholders [3m45s index]
2026/03/22 20:09:18.378420 [IDX] Pruned 0 expired groups from X-M3U in 161µs.
2026/03/22 20:09:28.989337 [SYS] Created database snapshot: backup-20260323.010925

I also submitted the diagnostic logs through the website.

Please update to the next pre-release if you are able to. It has a fix for that crash.

When you said you submitted the diagnostic log through the website, did it give you an ID back? I don't see that it was submitted.

d1927015-de05-4e84-83f0-a597f4abfaf7