admin:cloud:syncthing

SyncThing

siehe auch: Syncthing Docs – How to set up a user service

systemctl --user enable syncthing.service
systemctl --user start syncthing.service
/etc/ufw/applications.d/syncthing
[syncthing]
title=Syncthing
description=Syncthing file synchronisation
ports=22000/tcp|21027/udp

[syncthing-gui]
title=Syncthing-GUI
description=Syncthing web gui
ports=8384/tcp
ufw app update syncthing
ufw app update syncthing-gui

Add the following to your user service file (systemctl edit –user –full syncthing):

RequiresMountsFor=/home/your_user_name

Possibly your devices still have to discover each other.

  1. wait a few (~5) minutes
  2. restart syncthing on both ends
  3. rinse and repeat, it will work eventually

You can circumvent this by hardcoding (selfhosted) discovery servers and relays.

  • Last modified: 2024-07-05 14:31