Syncthing repeatedly shuts down on server

Every day on one of my servers, syncthing quits, but I can’t pinpoint why, and the only way I know is if I attempt to load the GUI and it fails.

So, I SSH into the box and get this:

**●** syncthing@jongriffith.service - Syncthing - Open Source Continuous File Synchronization for jongriffith
Loaded: loaded (/lib/systemd/system/syncthing@.service; enabled; vendor preset: enabled)
Active: **failed** (Result: start-limit-hit) since Fri 2019-05-24 00:00:03 MST; 14h ago
Docs: man:syncthing(1)
Process: 28220 ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0 **(code=exited, status=1/FAILURE)**
 Main PID: 28220 (code=exited, status=1/FAILURE)
May 24 00:00:03 server1 systemd[1]: **syncthing@jongriffith.service: Unit entered failed state.**
May 24 00:00:03 server1 systemd[1]: **syncthing@jongriffith.service: Failed with result 'exit-code'.**
May 24 00:00:03 server1 systemd[1]: syncthing@jongriffith.service: Service hold-off time over, scheduling restart.
May 24 00:00:03 server1 systemd[1]: Stopped Syncthing - Open Source Continuous File Synchronization for jongriffith.
May 24 00:00:03 server1 systemd[1]: **syncthing@jongriffith.service: Start request repeated too quickly.**
May 24 00:00:03 server1 systemd[1]: **Failed to start Syncthing - Open Source Continuous File Synchronization for jongriffith.**
May 24 00:00:03 server1 systemd[1]: **syncthing@jongriffith.service: Unit entered failed state.**
May 24 00:00:03 server1 systemd[1]: **syncthing@jongriffith.service: Failed with result 'start-limit-hit'.**

When I check the journalctl for the service I get:

May 20 12:31:39 server1 systemd[1]: Started Syncthing - Open Source Continuous File Synchronization for jongriffith.
May 20 12:31:42 server1 systemd[1]: **syncthing@jongriffith.service: Main process exited, code=exited, status=1/FAILURE**
May 20 12:31:42 server1 systemd[1]: **syncthing@jongriffith.service: Unit entered failed state.**
May 20 12:31:42 server1 systemd[1]: **syncthing@jongriffith.service: Failed with result 'exit-code'.**

These 4 lines repeat themselves over and over again.

The only thing I can do to restart it is to manually restart it and then wait until it fails again.

The only error I see is Main process existed, code=exited, status=1/FAILURE

No clue how to fix this problem. Thanks!

Check where the logs are going as it does not have syncthing logs to understand why its exiting.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.