Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

syncthing crashloop on startup #474

Open
shish opened this issue May 6, 2024 · 1 comment
Open

syncthing crashloop on startup #474

shish opened this issue May 6, 2024 · 1 comment
Labels
bug Something isn't working syncthing syncthing Addon

Comments

@shish
Copy link

shish commented May 6, 2024

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
@shish shish added the bug Something isn't working label May 6, 2024
@Poeschl Poeschl added the syncthing syncthing Addon label May 6, 2024
@shish
Copy link
Author

shish commented May 6, 2024

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working syncthing syncthing Addon
Projects
None yet
Development

No branches or pull requests

2 participants