Server v2026.08.07.0346 Crash-Looping Started Today

Channels DVR Server v2026.08.07.0346 (linux-x86_64) is crash-looping on every startup (or nearly every startup) with:

panic: runtime error: index out of range [281] with length 28

It happens consistently within ~1-20 seconds of startup, immediately after these log lines:

[SYS] Created database snapshot: backup-
[SYS] Removing old backup backup-
stderr: panic: runtime error: index out of range [281] with length 28

systemd then auto-restarts the service, which repeats the same panic, resulting in a full crash loop — the server is only reachable for a few seconds at a time between restarts. I confirmed there's no stale process or lock issue (killed any orphaned PIDs, confirmed only one instance running). I also confirmed there are no backup files accumulating on disk (find turned up nothing under the data directory), so this appears to be an internal database/snapshot indexing bug rather than a filesystem issue.

I temporarily tried rolling back to v2026.06.29.0212 via the 'latest' symlink to restore service, but since auto-update can't be disabled, the server keeps re-downloading and re-triggering the crash on v2026.08.07.0346.

Setup: Debian/Ubuntu (Proxmox) host running channels-dvr via systemd, HDHomeRun tuner, sources include Frndly1 (M3U), ErstatzTV, SamsungPlusComedy.

Happy to provide full logs or a diagnostics submission if helpful — just let me know the best way to get those to you given the server won't stay up long enough to use the web UI's diagnostic submission feature.

Curruently running v2026.08.16.0152 on Ubuntu linux and not having an issue. Can you roll back to v2026.06.29.0212 and jump straight to v2026.08.16.0152 and see if that resolves your issue?

1 Like

I've tried rolling back to v2026.06.29.0212 - but when I do that, it loops back to trying to download Downloading new version v2026.08.07.0346. It does this over & over again, making accessing the webUI impossible. I'm guessing there was an issue when the server tried updating to v2026.08.16.0152 today, which is causing these constant loops / making Channels inaccessible (except via Shell in Proxmox)

This thread might be helpful:

1 Like

Thank you so much! I was ripping my hair out trying to find a solution. For those looking, check out Post 4 from this thread for a fix: DVR server repeatedly crashing with `panic: runtime error: index out of range`