Seeing some issues with pausing and stopping of streams on the web player. I have checked the directory permissions and owner. the owner is the user running the channels process and the permissions of the directories all the way down are 777. To a developer, can you tell me what would cause this?
2025/11/21 06:50:01.295375 [HLS] ffmpeg: ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-remux: [hls @ 0xb962080] failed to rename file /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-190997984/remux/stream.m3u8.tmp to /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-190997984/remux/stream.m3u8: Permission denied
2025/11/21 06:50:03.430171 [HLS] Couldn't generate stream playlist for ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295: Couldn't find playlist: /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-190997984/remux/stream.m3u8: stat /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-190997984/remux/stream.m3u8: no such file or directory
2025/11/21 06:50:03.430369 [HLS] Stopping transcoder session ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295 (out=14.549333s finished=false first_seq=1 last_seq=6)
2025/11/21 06:50:03.431079 [TNR] Closed connection to TVE-Philo for ch6110 SCIENCE
2025/11/21 06:50:03.434698 [SNR] Buffer statistics for ch6110 SCIENCE: buf=0% drop=0%
2025/11/21 06:50:03.434780 [SNR] Streaming statistics for ch6110 SCIENCE: timeouts=0 segment_timeouts=0 playlist_timeouts=0
2025/11/21 06:50:04.598385 [TVE] stream timestamps: science: start_at=2025-11-21T06:49:04-05:00 end_at=2025-11-21T06:49:32-05:00 live_delay=27.732380541s
2025/11/21 06:50:04.598592 [TNR] Opened connection to TVE-Philo for ch6110 SCIENCE
2025/11/21 06:50:04.598646 [HLS] Starting live stream for channel 6110 from fd5a:1d17:b07a:3e4e:e9a3:8cc:96:a295 (bitrate=5647kbps)
2025/11/21 06:50:05.697357 [ERR] ULK invalid: {"next_time": -1, "error": "The pt received must be greater than the last …d less than or equal to the returned next_time (24.0). We received 0.0."}
2025/11/21 06:50:06.637002 [HLS] Probed live stream in 1.887011379s: h264 1920x1080 progressive 5315571bps
2025/11/21 06:50:06.931179 [HLS] Session ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295 started in 2.332463492s
2025/11/21 06:51:36.934685 [HLS] ffmpeg: ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-remux: [hls @ 0x2e876780] failed to rename file /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-583295408/remux/stream.m3u8.tmp to /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-583295408/remux/stream.m3u8: Permission denied
2025/11/21 06:51:38.388976 [HLS] Couldn't generate stream playlist for ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295: Couldn't find playlist: /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-583295408/remux/stream.m3u8: stat /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-583295408/remux/stream.m3u8: no such file or directory
2025/11/21 06:51:38.389153 [HLS] Stopping transcoder session ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295 (out=1m41.632s finished=false first_seq=1 last_seq=60)
2025/11/21 06:51:38.605271 [TNR] Closed connection to TVE-Philo for ch6110 SCIENCE
2025/11/21 06:51:38.605429 [SNR] Buffer statistics for ch6110 SCIENCE: buf=0% drop=0%
2025/11/21 06:51:38.605499 [SNR] Streaming statistics for ch6110 SCIENCE: timeouts=0 segment_timeouts=0 playlist_timeouts=0
2025/11/21 06:51:39.452388 [WARN] Stopped stream ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295 took 1.063264264s
2025/11/21 06:51:40.818796 [TVE] stream timestamps: science: start_at=2025-11-21T06:50:40-05:00 end_at=2025-11-21T06:51:09-05:00 live_delay=27.302791738s
2025/11/21 06:51:40.819002 [TNR] Opened connection to TVE-Philo for ch6110 SCIENCE
2025/11/21 06:51:40.819075 [HLS] Starting live stream for channel 6110 from fd5a:1d17:b07a:3e4e:e9a3:8cc:96:a295 (bitrate=5647kbps)
2025/11/21 06:51:42.464498 [HLS] Probed live stream in 1.45587822s: h264 1920x1080 progressive 5237198bps
2025/11/21 06:51:42.781474 [HLS] Session ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295 started in 1.962354066s
2025/11/21 06:52:38.690788 [HLS] ffmpeg: ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-remux: [hls @ 0x2b214080] failed to rename file /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-121270974/remux/stream.m3u8.tmp to /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-e9a3-8cc-96-a295-121270974/remux/stream.m3u8: Permission denied
Running the same channel on ios app and web at the same time. The web browser eventually stops playing the stream on its own. The IOS app seems mostly fine. I have tried both hardware and software transcoding with the same result.
Ubuntu 24.04
Channels version: 2025.11.19.1617
Server is a beelink mini with n95.
Media is stored on a NAS.
just keeps stopping, here are more logs from the last one:
2025/11/21 09:18:48.983047 [HLS] Couldn't generate stream playlist for ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad: Couldn't find playlist: /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad-2545360726/remux/stream.m3u8: stat /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad-2545360726/remux/stream.m3u8: no such file or directory
2025/11/21 09:18:48.983235 [HLS] Stopping transcoder session ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad (out=3m59.829333s finished=false first_seq=1 last_seq=108)
2025/11/21 09:18:49.474688 [TNR] Closed connection to TVE-Philo for ch6110 SCIENCE
2025/11/21 09:18:49.474870 [SNR] Buffer statistics for ch6110 SCIENCE: buf=0% drop=0%
2025/11/21 09:18:49.474932 [SNR] Streaming statistics for ch6110 SCIENCE: timeouts=0 segment_timeouts=0 playlist_timeouts=0
2025/11/21 09:18:51.513400 [WARN] Stopped stream ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad took 2.530186346s
2025/11/21 09:18:51.548271 [TVE] stream timestamps: science: start_at=2025-11-21T09:17:51-05:00 end_at=2025-11-21T09:18:20-05:00 live_delay=27.298267348s
2025/11/21 09:18:51.548490 [TNR] Opened connection to TVE-Philo for ch6110 SCIENCE
2025/11/21 09:18:51.548564 [HLS] Starting live stream for channel 6110 from fd5a:1d17:b07a:3e4e:7990:e0f:cf95:f2ad (bitrate=5476kbps)
2025/11/21 09:18:53.579184 [HLS] Probed live stream in 1.810967496s: h264 1920x1080 progressive 5225574bps
2025/11/21 09:18:54.022533 [HLS] Session ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad started in 2.473879135s
2025/11/21 09:24:46.424972 [HLS] ffmpeg: ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad-remux: [hls @ 0x3d07c540] failed to rename file /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad-2580853587/remux/stream.m3u8.tmp to /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad-2580853587/remux/stream.m3u8: Permission denied
2025/11/21 09:24:47.994641 [HLS] Couldn't generate stream playlist for ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad: Couldn't find playlist: /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad-2580853587/remux/stream.m3u8: stat /mnt/ChannelsDVR/Streaming/sessions/ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad-2580853587/remux/stream.m3u8: no such file or directory
2025/11/21 09:24:47.994853 [HLS] Stopping transcoder session ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad (out=6m1.632289s finished=false first_seq=1 last_seq=182)
2025/11/21 09:24:48.421148 [TNR] Closed connection to TVE-Philo for ch6110 SCIENCE
2025/11/21 09:24:48.421214 [SNR] Buffer statistics for ch6110 SCIENCE: buf=0% drop=0%
2025/11/21 09:24:48.421250 [SNR] Streaming statistics for ch6110 SCIENCE: timeouts=0 segment_timeouts=0 playlist_timeouts=0
2025/11/21 09:24:55.259988 [WARN] Stopped stream ch6110-dANY-ipfd5a-1d17-b07a-3e4e-7990-e0f-cf95-f2ad took 7.26516679s