From Indie IT Wiki
Jump to: navigation, search

Access Control Lists ACL

HOWTO: Unpause Via The Command Line

curl -X POST -H "X-API-Key: myapikey" http://localhost:8384/rest/system/resume?device=DEVICE-ID

Android App

Syncthing for Android by Felix Ableitner



In the following example the user will be called 'Mac'.

Create a folder called 'bin' in your user profile.

Download Syncthing and extract the binary file (it is the one call Syncthing with no file extension) to the 'bin' folder.

Create the file required to launch Syncthing:

touch ~/Library/LaunchAgents/se.nym.syncthing.plist

Edit the file adding the text below, remembering to change the path /Users/Mac/bin/syncthing (line 9) to match where you have copied the syncthing binary file and /Users/Mac (line 14) to your home directory:

nano ~/Library/LaunchAgents/se.nym.syncthing.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">

Run the following to launch Syncthing:

launchctl load ~/Library/LaunchAgents/se.nym.syncthing.plist

Your default web browser should launch and open the Syncthing interface (

Once opened go to Actions >> Settings >> and untick the 'Launch Browser' option. This will prevent the web browser from being launched everytime the user logs in.

Thanks to Jakob Borg at the Syncthing Forum.


Add the release PGP keys, then "release" channel to your APT sources:

curl -s | sudo apt-key add -
echo deb syncthing release | sudo tee /etc/apt/sources.list.d/syncthing-release.list

Update the packages list and install Syncthing:

sudo apt-get update && sudo apt-get install syncthing

Start Syncthing...

syncthing &

...and wait for your web browser to load the GUI interface.

Once the GUI has loaded go back to the terminal and CTRL+C to detach the process.

Thanks to Syncthing

Ubuntu Server

16.04 SystemD

sudo apt-get install curl apt-transport-https
curl -s | sudo apt-key add -
echo "deb syncthing release" | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing
ll /lib/systemd/system/syncthing*
sudo systemctl enable syncthing@joebloggs.service
sudo systemctl start syncthing@joebloggs.service
systemctl status syncthing@joebloggs.service
sudo systemctl stop syncthing@joebloggs.service
systemctl status syncthing@joebloggs.service
nano .config/syncthing/config.xml
sudo systemctl start syncthing@joebloggs.service
systemctl status syncthing@joebloggs.service

14.04 Upstart


Accessing Web GUI On Headless Install (Server)

You will need to edit Syncthing's configuration file:

sudo nano .config/syncthing/config.xml

<gui enabled="true" tls="false">

<gui enabled="true" tls="false">

Adding To Startup Applications

/usr/bin/syncthing -no-browser

Prevent Syncthing Launching Web Browser

By default if you have Syncthing set to start when you log in it will attempt to open the GUI in the system default web browser.

You can either add the "-no-browser" option to the startup setting (as shown in the previous tip) or the option is available from the GUI:

Action >> Settings >> Untick "Start Browser" option

Thanks to Syncthing.

Required Firewall Ports

Open ports on the server's firewall (in this example UFW):

For internal connection (text in bold is a comment do not add to the firewall rule):

sudo ufw allow from to any port 22000 proto tcp
 (or the actual listening port if you have changed the Sync Protocol Listen Address setting)
sudo ufw allow from to any port 21025 proto udp
 (for discovery broadcasts)

Complete Tutorial Sync Between 2 Headless Servers

Ignoring Files

Create a file called .stignore in the folder you are syncing.

Here is an example of "ignoring everything except Thunderbird Filters files"...


Thanks -

From Dropbox to Syncthing (Good Directory Structure)

Syncthing Official Links

Syncthing Home Page

Syncthing Getting Started

Syncthing Documentation | Help

Syncthing at GitHub


Donate Money To Syncthing Project

Nice video -