I made your suggested setting changes and restarted my TVHeadend box. The Muxes scan still fails.
/storage/tvheadend-locast/out.log doesn't exist. When I attempted to update Cabernet it said it couldn't update because it saw that file in the folder. So I deleted the file and removed the command to create the log from my autostart.sh file which allowed me to update Cabernet. I can temporarily put that command back into the autostart.sh file if that will help.
I entered the "systemctl status kodi-autostart.service -l --no-pager" command and got the following:
CoreELEC:~ # systemctl status kodi-autostart.service -l --no-pager
● kodi-autostart.service - Kodi user autostart script
Loaded: loaded (/usr/lib/systemd/system/kodi-autostart.service; disabled; vendor preset: disabled)
Active: active (exited) since Sun 2021-11-07 17:08:55 PST; 51min ago
Process: 5162 ExecStart=/bin/sh -c . /etc/profile; exec /bin/sh /storage/.config/autostart.sh (code=exited, status=0/SUCCESS)
Main PID: 5162 (code=exited, status=0/SUCCESS)
Tasks: 27 (limit: 1735)
Memory: 98.7M
CGroup: /system.slice/kodi-autostart.service
├─5230 /opt/bin/python3 /storage/tvheadend-locast/tvh_main.py
├─5545 /opt/bin/python3 /storage/tvheadend-locast/tvh_main.py
└─5554 /opt/bin/python3 /storage/tvheadend-locast/tvh_main.py
Nov 07 17:56:31 CoreELEC sh[7832]: self.m3u8_q = M3U8Queue(_config,
channeldict)
Nov 07 17:56:31 CoreELEC sh[7832]: File "/storage/tvheadend-locast/lib/streams/m3u8_queue.py", line 77, in
init__
Nov 07 17:56:31 CoreELEC sh[7832]: self.pts_resync = PTSResync(_config, self.config_section,
channeldict['uid'])
Nov 07 17:56:31 CoreELEC sh[7832]: File "/storage/tvheadend-locast/lib/streams/pts_resync.py", line 37, in
init__
Nov 07 17:56:31 CoreELEC sh[7832]: self.ffmpeg_proc = self.open_ffmpeg_proc()
Nov 07 17:56:31 CoreELEC sh[7832]: File "/storage/tvheadend-locast/lib/streams/pts_resync.py", line 112, in open_ffmpeg_proc
Nov 07 17:56:31 CoreELEC sh[7832]: ffmpeg_process = subprocess.Popen(ffmpeg_command,
Nov 07 17:56:31 CoreELEC sh[7832]: File "/opt/lib/python3.9/subprocess.py", line 951, in
init__
Nov 07 17:56:31 CoreELEC sh[7832]: File "/opt/lib/python3.9/subprocess.py", line 1821, in
executechild
Nov 07 17:56:31 CoreELEC sh[7832]: FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
It looks like it has a problem finding ffmpeg.
Thanks for your help!