Skip to main content

Syncthing

Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it's transmitted over the internet.

Initial Setup#

Installing Syncthing is easy. Simply issue the following command from SSH:

sudo box install syncthing

This command will configure and install syncthing for your user.

After installation, the config is stored in ~/.config/syncthing/.

How to Access#

After installation, you can access the web client at https://<hostname.ltd>/syncthing/.

You can access the download section here for your other client that you plan to sync.

Service Management#

sudo systemctl start syncthing

Configuration & Usage#

Syncthing needs to connect to another server running syncthing. We will do this by editing the settings.

Setup Remote Device#

  1. On your Remote Client, Click Actions and then Show ID.
  2. Copy the ID
  3. On your other server on the bottom right click +Add Remote Device
  4. Paste the Device ID and give it a name
  5. Press Save
  6. On the other client there should be a pop up asking you if you want to add the device; Press add device.
  7. Another pop up will appear, press Save.

Adding a Folder to Synch with a Remote Server#

  1. Click +Add Folder
  2. Give the Folder a Label
  3. Add the folder path of the directory that you want to sync to a remote server.
  4. Go to the Sharing Tab and put a check mark in the client you want to share it with remotely.
  5. Go to the Advanced Tab and choose the folder type you want.
  6. On your other client, another pop up will appear, choose add.
  7. Go through the settings and change what you want.

Troubleshooting#

tip

You can always also try the general troubleshooting tips written in our guide. They might or might not apply, but asking these questions can often make you understand what is under the hood better and help you find what needs to be fixed. It's always worth a shot!

Please refer to the syncthing documentation for further help.