Been fighting this for a couple months. File permissions and airings/groupings clearing fixed it last time but isn't helping this time.
Channels will idle just fine however as soon as I start playing a recording it panic loops with the below error. So long as the recording plays (or tries to) it'll continually loop that same panic.
I've upgraded to latest nightly, set the media library to 777 recursive, disabled all sources, and removed all .airings and .groups. I'm running ubuntu 2204 and file storage is a local raid5 array.
Considering blowing the install away and starting over with a fresh db but throwing a hail mary here first. Any suggestions?
2026/03/23 19:55:51.665112 [SYS] Starting Channels DVR v2026.03.22.2059 (linux-x86_64 pid:1382763) in /home/mitchpate/channels-dvr/data
2026/03/23 19:55:51.721114 [SYS] Started HTTP Server on 8089
2026/03/23 19:55:52.373342 [DVR] Waiting 14h3m58s until next job 1774360790-13 Peppa Pig
2026/03/23 19:55:52.409132 [DVR] Recording engine started in /home/mitchpate/share/Media/channels
2026/03/23 19:55:52.411006 [SYS] Bonjour service running for dvr-pateserver.local. [10.200.0.26]
2026/03/23 19:55:52.798341 [SYS] Created database snapshot: backup-20260323.235552
2026/03/23 19:55:52.798437 [SYS] Removing old backup backup-20260323.232824
.......
panic: runtime error: slice bounds out of range [:4877007] with capacity 4100680
goroutine 237 [running]:
github.com/blugelabs/bluge_segment_api.(*Data).Read(0x41f154?, 0xc00007d008?, 0x41eb06?)
github.com/blugelabs/[email protected]/data.go:56 +0xea
github.com/blugelabs/ice.(*chunkedIntDecoder).loadChunk(0xc001434780, 0x4c1ae674d9?)
github.com/blugelabs/[email protected]/intdecoder.go:85 +0x70
github.com/blugelabs/ice.(*PostingsIterator).loadChunk(0xc000545880, 0x0)
github.com/blugelabs/[email protected]/posting.go:345 +0x2b
github.com/blugelabs/ice.(*PostingsIterator).nextDocNumAtOrAfter(0xc000545880, 0x0)
github.com/blugelabs/[email protected]/posting.go:572 +0x214
github.com/blugelabs/ice.(*PostingsIterator).nextAtOrAfter(0xc000545880, 0x30?)
github.com/blugelabs/[email protected]/posting.go:458 +0x27
github.com/blugelabs/ice.(*PostingsIterator).Next(...)
github.com/blugelabs/[email protected]/posting.go:445
github.com/blugelabs/ice.mergeTermFreqNormLocs(0xc000bff8c8, 0xc000545880, {0xc0017bb500, 0x69c, 0xc000000401?}, 0xc000bff558, 0xc000bff628, 0xc000bff5a8, {0xc0011ac520, 0x0, ...}, ...)
github.com/blugelabs/[email protected]/merge.go:563 +0x68
github.com/blugelabs/ice.persistMergedRestField({0xc000bff9d0?, 0xc0008cd468?, 0x49778a?}, {_, _, _}, _, {0xc000b26018, 0x1, 0x1}, ...)
github.com/blugelabs/[email protected]/merge.go:303 +0x84f
github.com/blugelabs/ice.persistMergedRest({0xc000bff9d0, 0x1, 0x1}, {0xc000808000, 0x1, 0x1}, {0xc00074cc08, 0x2c, 0x0?}, 0xc000bff8c8, ...)
github.com/blugelabs/[email protected]/merge.go:215 +0x534
github.com/blugelabs/ice.mergeToWriter({0xc0008cd9d0, 0x1, 0x1}, {0xc000808000, 0x1, 0x1}, 0x401, 0xc00090c000, 0xc000cf60e0)
github.com/blugelabs/[email protected]/merge.go:137 +0x3ae
github.com/blugelabs/ice.mergeSegmentBasesWriter({0xc0008cd9d0, 0x1, 0x1}, {0xc000808000, 0x1, 0x1}, {0x4118500, 0xc0009b2040}, 0x401, 0xc000cf60e0)
github.com/blugelabs/[email protected]/merge.go:97 +0xe5
github.com/blugelabs/ice.merge({0xc00094a000?, 0xc00078c000?, 0x23?}, {0xc000808000?, 0x180?, 0x0?}, {0x4118500?, 0xc0009b2040?}, 0xc000cf60e0)
github.com/blugelabs/[email protected]/merge.go:86 +0x165
github.com/blugelabs/ice.(*Merger).WriteTo(0xc0017b6000, {0x4117ba0, 0xc000808010?}, 0xc000cf60e0)
github.com/blugelabs/[email protected]/merge.go:49 +0x13b
github.com/blugelabs/bluge/index.(*FileSystemDirectory).Persist(0xc00077e400, {0x318208d, 0x4}, 0xc000808000?, {0x7f9c21482e50, 0xc0017b6000}, 0xc000cf60e0)
github.com/blugelabs/[email protected]/index/directory_fs.go:125 +0x155
github.com/blugelabs/bluge/index.(*Writer).merge(0xc0008f2488, {0xc00094a000?, 0x60e0d40?, 0x1?}, {0xc000808000?, 0x1?, 0x1?}, 0x284a49)
github.com/blugelabs/[email protected]/index/merge.go:368 +0xb7
github.com/blugelabs/bluge/index.(*Writer).executeMergeTask(0xc0008f2488, 0xc000e804d0, 0xc000b820f0)
github.com/blugelabs/[email protected]/index/merge.go:144 +0x11b
github.com/blugelabs/bluge/index.(*Writer).planMergeAtSnapshot(0xc0008f2488, 0xc000e804d0, 0xc000822900, {0xa, 0x4c4b40, 0x4024000000000000, 0xa, 0x7d0, 0x4000000000000000, 0x0, ...})
github.com/blugelabs/[email protected]/index/merge.go:118 +0x336
github.com/blugelabs/bluge/index.(*Writer).mergerLoop(0xc0008f2488, 0xc000e804d0, 0xc000752150)
github.com/blugelabs/[email protected]/index/merge.go:56 +0x317
created by github.com/blugelabs/bluge/index.OpenWriter in goroutine 179
github.com/blugelabs/[email protected]/index/writer.go:131 +0x7bf