Ubuntu 16.04 : Syncthing failed to start Syncthing

Hello,

I install syncthing on my ubuntu 16.04. I follow these instruction : https://doc.ubuntu-fr.org/syncthing

When i type the command : systemctl status synchting@user.service

i’ve got theses messages :

syncthing@multimedia.service - Syncthing - Open Source Continuous File Synchronization for multimedia Loaded: loaded (/etc/systemd/system/syncthing@.service; enabled; vendor preset: enabled) Active: inactive (dead) (Result: exit-code) since mer. 2016-12-28 09:32:27 CET; 1min 55s ago Docs: man:syncthing(1) Process: 4512 ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0 (code=exited, status=1/FAILURE) Main PID: 4512 (code=exited, status=1/FAILURE)

déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service: Unit entered failed state. déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service: Failed with result ‘exit-code’. déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service: Service hold-off time over, scheduling restart. déc. 28 09:32:27 multimedia-All-Series systemd[1]: Stopped Syncthing - Open Source Continuous File Synchronization for multimedia. déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service: Start request repeated too quickly. déc. 28 09:32:27 multimedia-All-Series systemd[1]: Failed to start Syncthing - Open Source Continuous File Synchronization for multimedia.

what can i do to fix the problem ?

Sorry for my english i’m french guy.

thanks a lot for your asnwers

journalctl -r -u syncthing@multimedia.service

when i type your command i have this result :

-- Logs begin at mar. 2016-12-27 16:09:55 CET, end at mer. 2016-12-28 10:58:14 C
déc. 28 09:54:50 multimedia-All-Series systemd[1]: Stopped Syncthing - Open Sour
déc. 28 09:32:27 multimedia-All-Series systemd[1]: Failed to start Syncthing - O
déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:27 multimedia-All-Series systemd[1]: Stopped Syncthing - Open Sour
déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:27 multimedia-All-Series syncthing[4512]: [start] FATAL: save cert
déc. 28 09:32:27 multimedia-All-Series syncthing[4512]: [start] INFO: Generating
déc. 28 09:32:27 multimedia-All-Series systemd[1]: Started Syncthing - Open Sour
déc. 28 09:32:27 multimedia-All-Series systemd[1]: Stopped Syncthing - Open Sour
déc. 28 09:32:27 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:26 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:26 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:26 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:26 multimedia-All-Series syncthing[4501]: [start] FATAL: save cert
déc. 28 09:32:26 multimedia-All-Series syncthing[4501]: [start] INFO: Generating
déc. 28 09:32:26 multimedia-All-Series systemd[1]: Started Syncthing - Open Sour
déc. 28 09:32:26 multimedia-All-Series systemd[1]: Stopped Syncthing - Open Sour
déc. 28 09:32:26 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
déc. 28 09:32:26 multimedia-All-Series systemd[1]: syncthing@multimedia.service:
lines 1-23...skipping...

It looks like the user “multimedia” doesn’t have write access to it’s home directory, maybe?

yes it’s seems the directory \home\sync is locked…

i can’t enter in this director, there is only root access

i’ll test to change the access.

thank you for your answer.

I try to change the right of the folder home/Sync but i’ve got the same problem…

i fix it… i don’t read the journal correctly… there are another folder which the access denied.

thank for your help

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