2nv2u / gnome-shell-extension-syncthing-indicator

Put an indicator on the panel signalling the Syncthing daemon status using SystemD
https://extensions.gnome.org/extension/1070/syncthing-indicator/
GNU General Public License v3.0
56 stars 9 forks source link

syncthing-indicator not finding running syncthing instance #27

Open epe opened 1 year ago

epe commented 1 year ago

Hi! I'm getting this error every 20 seconds: gnome-shell[115898]: [syncthing-indicator-manager:ERROR], Service failed to start, syncthing.service gnome-shell[115898]: error: Syncthing Indicator: daemon-error

Unfortunately I cant find documentation about how the indicator expects synthing to be started?

I have configured syncthing to startup via systemd as described in the syncthing docs. ./systemd/system/multi-user.target.wants/syncthing@username.service ./systemd/system/sleep.target.wants/syncthing-resume.service

what can I do to get it working together?

2nv2u commented 1 year ago

Currently the extension uses the user config for systemd, I'll have a look on howto detect the system wide as well.

doronbehar commented 1 year ago

In my case I run syncthing as a system service and it's api key is located in /var/lib/syncthing/.config/syncthing/config.xml - not readable by any user. It would have been great if it was possible to specify the API key manually.

2nv2u commented 11 months ago

I'll also see if I can create a preference section for settings like this. Bare with me though, I'm not having much time to work on this at the moment.