Installing Resilio Sync (rslSync) on the Raspberry Pi

From KlavoWiki
Jump to navigationJump to search

If you would like to manually install Resilio Sync then have a look at the page Manually Installing Resilio Sync (rslSync) on the Raspberry Pi

I have based my install from Raspbian Lite

OS Updates

Ensure OS has all the latest updates.

apt-get update
apt-get -y upgrade
apt-get -y dist-upgrade
apt-get -y autoclean
apt-get -y autoremove

sudo apt-get -y install rpi-update

sudo rpi-update


apt source

echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list
wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add -

Install Resilio

sudo apt-get install resilio-sync

Stopping/starting Service

systemctl stop resilio-sync
systemctl start resilio-sync
systemctl restart resilio-sync
systemctl status resilio-sync

Notes

Config File

/etc/resilio-sync/config.json

Storage

/var/lib/resilio-sync/

User Account

rslsync

Using an existing database and folders I had to assign the user and group rslsync to the files and folders for resilio-sync to be able to access the storage.