syncthing crashloop on startup
shish opened this issue · 1 comments
Which addon?
syncthing
Describe the bug
Crash-looping with this in the logs:
[17:42:17] INFO: Post-Start syncthing setup
syncthing: error: Post "http://172.30.33.1:8384/rest/system/config": EOF
s6-rc: warning: unable to start service syncthing-setup: command exited 1
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
Looks like the final line of https://github.com/Poeschl/Hassio-Addons/blob/main/syncthing/root/etc/s6-overlay/s6-rc.d/syncthing-setup/run is failing, though I can't tell why. The rest of the logs show syncthing starting up correctly, and notably the error is "EOF" rather than "connection refused", which is weird.
Running the same syncthing cli command on my laptop, I managed to get the EOF error once, but all the other times it worked. On home assistant, it is failing every time D:
System
- Supervisor version: 2024.04.4
- Host system version: 12.2
I have hacked around this by making a fork with || true
on the end of that command line, so it silently fails to hide the warning, instead of crash-looping - which feels like a band-aid but not ideal...