Skip to content

syncthing

Continuous file synchronization program (https://syncthing.net)

To install syncthing on Debian/Ubuntu

sudo apt install syncthing

To start syncthing as a service for a user (e.g. root)

sudo systemctl enable syncthing@root
sudo systemctl start syncthing@root

To check syncthing service status

sudo systemctl status syncthing@root

To view syncthing logs

journalctl -u syncthing@root -f

To open the web UI (default port 8384)

http://localhost:8384 To start syncthing manually (foreground):

syncthing

To generate a device ID

syncthing --generate=~/.config/syncthing

To check syncthing version

syncthing --version

Config file location

~/.config/syncthing/config.xml To back up syncthing config:

cp -r ~/.config/syncthing ~/.config/syncthing.bak

To allow remote GUI access (edit config.xml)

Change

127.0.0.1:8384
to
0.0.0.0:8384
To set GUI credentials via config.xml:
0.0.0.0:8384
admin bcrypt-hashed-password
Proxmox LXC post-setup convention: Always install syncthing and enable syncthing@root after container creation.

sudo apt install -y syncthing
sudo systemctl enable --now syncthing@root