Closed x0rld closed 4 years ago
It seems that you have accidentally switched on the systemd system service instead of the systemd user service. Try switching off the systemd system service by running
systemctl disable syncthing
systemctl stop syncthing
After that the on/off switch should work.
oh yes thanks but it will automaticly start when i start my computer ?
If you enable the user service and enable linger, yes.
systemctl --user enable syncthing
loginctl enable-linger
Thanks. I was also using Syncthing as a system service instead of a user service on Fedora 32. Using your solution solved the problem for me too.
I reproduce the same issue but the service seems to be associated with the user
$ systemctl --user status syncthing
● syncthing.service - Syncthing - Open Source Continuous File Synchronization
Loaded: loaded (/usr/lib/systemd/user/syncthing.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2020-08-12 11:29:56 CEST; 1s ago
Docs: man:syncthing(1)
Process: 8437 ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0 (code=exited, status=1/FAILURE)
Main PID: 8437 (code=exited, status=1/FAILURE)
$ systemctl status syncthing
Unit syncthing.service could not be found.
System: Ubuntu 20.04 64b
It just started to work for me after upgrading to Syncthing 1.8.0 (the Debian package), was failing on 1.7.1.
@tmortagne If you are using a user service, then it should be a distinct issue and I would prefer a second GitHub issue being opened. However, I am glad it works for you now.
Describe the bug the button off on is always on off and when I turn it on there is a danger flag
Screenshots
Version information:
Logs Add the output of
journalctl -b /usr/bin/gnome-shell | grep syncthingicon mai 13 13:54:29 ldlcpc gnome-shell[3469]: [syncthingicon] found syncthing config file in /home/x0rld/.config/syncthing mai 13 13:59:17 ldlcpc gnome-shell[3469]: [syncthingicon] found syncthing config file in /home/x0rld/.config/syncthing