Can't start syncthing anymore

Hello! i run syncthng since long time but I recently cannot start it anymore. Not sure if I change something in my computer setup… but I don’t really know how to debug it, if someone could point me to the right direction would be great.

systemctl --user status syncthing.service

● syncthing.service - Syncthing - Open Source Continuous File Synchronization
     Loaded: loaded (/usr/lib/systemd/user/syncthing.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2021-09-30 18:01:35 CEST; 2h 21min ago
       Docs: man:syncthing(1)
    Process: 402240 ExecStart=/usr/bin/syncthing serve --no-browser --no-restart --logflags=0 (code=exited, status=1/FAILURE)
   Main PID: 402240 (code=exited, status=1/FAILURE)

Sep 30 18:01:35 anaketa systemd[1630]: syncthing.service: Scheduled restart job, restart counter is at 4.
Sep 30 18:01:35 anaketa systemd[1630]: Stopped Syncthing - Open Source Continuous File Synchronization.
Sep 30 18:01:35 anaketa systemd[1630]: syncthing.service: Start request repeated too quickly.
Sep 30 18:01:35 anaketa systemd[1630]: syncthing.service: Failed with result 'exit-code'.
Sep 30 18:01:35 anaketa systemd[1630]: Failed to start Syncthing - Open Source Continuous File Synchronization.
Syncthing -version 
syncthing v1.18.2 "Fermium Flea" (go1.17 linux-amd64) deb@build.syncthing.net

Thanks for the support :pray:

1 Like

You should actually provide the logs of the attempt of running it, via journalctl

Tbh I didn’t really understand how to gets the logs. If I run journalctl -r -u anaketa@syncthing.service or journalctl -r -u syncthing.service I get:

No entries

You used --user with systemctl, you also need to do that with journalctl then, i.e. journalctl --user -r -u syncthing.service.

1 Like

Thanks @imsodin. So here are the logs

Sep 30 18:00:05 anaketa systemd[1630]: Failed to start Syncthing - Open Source Continuous File Synchronization.
Sep 30 18:00:05 anaketa systemd[1630]: syncthing.service: Failed with result 'exit-code'.
Sep 30 18:00:05 anaketa systemd[1630]: syncthing.service: Start request repeated too quickly.
Sep 30 18:00:05 anaketa systemd[1630]: Stopped Syncthing - Open Source Continuous File Synchronization.
Sep 30 18:00:05 anaketa systemd[1630]: syncthing.service: Scheduled restart job, restart counter is at 4.
Sep 30 18:00:04 anaketa systemd[1630]: syncthing.service: Failed with result 'exit-code'.
Sep 30 18:00:04 anaketa systemd[1630]: syncthing.service: Main process exited, code=exited, status=1/FAILURE
Sep 30 18:00:04 anaketa syncthing[401380]: [start] WARNING: Error opening database: resource temporarily unavailable (is another instance of Syncthing running?)
Sep 30 18:00:04 anaketa syncthing[401380]: [start] INFO: syncthing v1.18.2 "Fermium Flea" (go1.17 linux-amd64) deb@build.syncthing.net 2021-08-22 18:04:47 UTC [noupgrade]
Sep 30 18:00:04 anaketa systemd[1630]: Started Syncthing - Open Source Continuous File Synchronization.
Sep 30 18:00:04 anaketa systemd[1630]: Stopped Syncthing - Open Source Continuous File Synchronization.
Sep 30 18:00:04 anaketa systemd[1630]: syncthing.service: Scheduled restart job, restart counter is at 3.
Sep 30 18:00:02 anaketa systemd[1630]: syncthing.service: Failed with result 'exit-code'.

and If I run sudo ps aux | grep syncthing I get gio 463131 0.0 0.0 9380 2720 pts/4 S+ 12:36 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox syncthing

So i think just one syncthing is running…

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