Syncthing will no longer start on my Mint Linux machine

Hello,

I have been happily using syncthing for a few months now on Mint Linux 17 (derived from Ubuntu). However, recently, I’m not sure when, it has stopped starting, i.e. it now refuses to start. The version of syncthing i had originally was syncthing-linux-amd64-v0.10.21. This now does nothing when I run the syncthing binary, absolutely no output, and no process starts, the GUI doesn’t run.

I’ve now downloaded syncthing-linux-amd64-v0.10.29, and get the following output:

$ ./syncthing 
[monitor] 19:17:14 INFO: Starting syncthing
[IPYVP] 19:17:14 INFO: syncthing v0.10.29 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-03-22 14:09:14 UTC
[IPYVP] 19:17:14 INFO: My ID: IPYVPUC-RLUUZGZ-DGOUILF-H6O3BFN-FXYDQEH-4W6QSXX-DM2WI2L-5AWDPQ5
[IPYVP] 19:17:14 FATAL: Configuration: EOF
[monitor] 19:17:14 INFO: Syncthing exited: exit status 1
[monitor] 19:17:15 INFO: Starting syncthing
[IPYVP] 19:17:16 INFO: syncthing v0.10.29 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-03-22 14:09:14 UTC
[IPYVP] 19:17:16 INFO: My ID: IPYVPUC-RLUUZGZ-DGOUILF-H6O3BFN-FXYDQEH-4W6QSXX-DM2WI2L-5AWDPQ5
[IPYVP] 19:17:16 FATAL: Configuration: EOF
[monitor] 19:17:16 INFO: Syncthing exited: exit status 1
[monitor] 19:17:17 INFO: Starting syncthing
[IPYVP] 19:17:17 INFO: syncthing v0.10.29 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-03-22 14:09:14 UTC
[IPYVP] 19:17:17 INFO: My ID: IPYVPUC-RLUUZGZ-DGOUILF-H6O3BFN-FXYDQEH-4W6QSXX-DM2WI2L-5AWDPQ5
[IPYVP] 19:17:17 FATAL: Configuration: EOF
[monitor] 19:17:17 INFO: Syncthing exited: exit status 1
[monitor] 19:17:18 INFO: Starting syncthing
[IPYVP] 19:17:18 INFO: syncthing v0.10.29 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-03-22 14:09:14 UTC
[IPYVP] 19:17:18 INFO: My ID: IPYVPUC-RLUUZGZ-DGOUILF-H6O3BFN-FXYDQEH-4W6QSXX-DM2WI2L-5AWDPQ5
[IPYVP] 19:17:18 FATAL: Configuration: EOF
[monitor] 19:17:18 INFO: Syncthing exited: exit status 1
[monitor] 19:17:19 WARNING: 4 restarts in 5.684976587s; not retrying further

Any suggestions for what the problem might be?

The Line “FATAL: Configuration: EOF” suggests that the config file is maybe damaged. That file is normally at ~/.config/syncthing/config.xml. It contains the information for every folder, device and settings for syncthing. Deleting that file will reset every setting you made in syncthing and every folder and device you added, but will keep your own ID and cert.

1 Like

That’s a very uninformative error message, but what @wweich says is correct. The config file seems to end before it’s expected to, so either corrupt or empty? There may be a backup or two laying around as config.xml.v9 and similar.

I copied over the v7 version and it works again, the config.xml seemed to be empty. Not sure how that happened.

Thanks for the help.