I’ve been trying to install rclone on my Synology DS414.
I hit a few stumbling blocks and figured this might help out someone searching for answers on the forum.
Firstly, check which processor your Synology NAS is running:
For me this was:
DS414 Marvell Armada XP MV78230 Dual Core 2 Yes Armadaxp DDR3 1 GB
I had been following the instructions on the rclone install page
curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
however, what I have discovered, after also trying:
curl -O https://downloads.rclone.org/rclone-current-linux-386.zip
is that I might need the arm version:
curl -O https://downloads.rclone.org/rclone-current-linux-arm.zip
(NB: should I be using this one, or the arm-64?)
visit this page to browse all the available versions of rclone you can download:
If you have trouble accessing your Synology via SSH you can install sshfs via Community Packages
Q: does it matter if I access my Synology as root or a normal user?
Q: should rclone be installed as root or normal user?
the next line on the install page tells me to run:
or for me this would be:
My Synology doesn’t have unzip installed – but it does seem to have 7zip
so I used:
sudo 7z x rclone-current-linux-arm.zip
then I ran:
sudo cp rclone /usr/bin/
sudo chown root:root /usr/bin/rclone
sudo chmod 755 /usr/bin/rclone
sudo mkdir -p /usr/local/share/man/man1
sudo cp rclone.1 /usr/local/share/man/man1/
this last line gave me an error:
sudo: mandb: command not found
is there any way to fix this?
I read on the forum that it isn’t necessary to have this for rclone to run(?)
but can it be added/installed on Synology?
I think this would have been easier if my specific Synology NAS model supported Docker (but apparently it doesn’t).
The stumbling blocks for me were I wrongly tried:
which lead to the following error:
-sh: /bin/rclone: cannot execute binary file: Exec format error
also using 7zip instead of unzip solved another problem.
I wasn’t able to figure out the bit about ‘mandb’