Syncthing
Last modified on July 24, 2026 • 1 min read • 201 wordsSyncthing is one of the best tools for keeping folders synchronized across the internet.
systemctl enable syncthing@username.serviceStart the service: systemctl start syncthing@username.serviceCheck the status: systemctl status syncthing@username.serviceThe URL of the GUI:
https://127.0.0.1:8384
However, the above solution does not work well if e.g. the files to syncronize reside on an encrypted folder which is mounted only after the user has logged in (e.g. in Ubuntu 16.04, there was the possibility to encrypt the user folder, which was only unlocked during user login). Alternatively, one can run the service as a “user service” like this:cp /usr/lib/systemd/user/syncthing.service ~/.config/systemd/user/systemctl --user enable syncthing.servicesystemctl --user start syncthing.serviceSyncthing seems to regularly loose a file called “.stfolder”, which is supposed to be in the root of any shared folder (or it gets converted into a folder). For me the problem gets usually fixed by simply recreating that (empty) file (and deleting the folder with the same name if it exists).