Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working syncthing syncthing Addon
Projects
None yet
Development

No branches or pull requests

2 participants