install Pyload on NAS Synology – DSM 5.1

Two months ago I bought a new Network Attached Storage.
For my purposes, I choose a NAS Synology DS213J with two hd Western Digital RED of 3TB for each, to have 3TB of free space with a best RAID1 “bit-to-bit” backup.

So this special NAS, has a custom Linux OS with a wonderful web GUI to manage every part and to use various applications created for it, like a Download Manager, a Video Streamer, a Cloud Station and so on. Using Linux and having so many applications (made by the producer or by the community of users) I hoped to find a version of Pyload made for it. But I was wrong, because there is a Pyload made for Synology, but it is for older version of Synology OS: on my OS, DSM version 5.1, it doesn’t work.

So, in this forum I found a working solution.


Following, the steps:


1- For first you need to install the official app of “Synology Pyload” developed by the pyload Team.
This app is a 3rd party community package, that means that is developed by the community and not directly from Synology. So, to have this app into the installation list on your DSM 5.1 operating system you need to open the DSM Package Center, click on the Settings tab, then on the item Package Sources, Add button and insert the url Now, you can find the Pyload app into the Community item, into the Package Center, and then try to install it on the DSM 5.1. On the DSM 5.1 the installation process fails, but it necessary to do this before the next steps.


2- The second step is to do the standard setup by command-line of Pyload, as on a normal linux machine.
So, for this you must connect on remote terminal to your NAS through ssh, using the root user (pay attention!), that has the same password of the admin user (is the same user, but for the terminal is needed the username root to have correct administration priviledges). After the ssh connection, you should have a particular terminal like this:


To have a normal sh terminal, type the command su and then you’ll get the root terminal on your Synology NAS.
Then, the linux command to correct install Pyload on your DSM 5.1 is:

# /volume1/@appstore/pyload/bin/python /volume1/@appstore/pyload/pyload/ -s

ATTENTION: to run Pyload and its setup process you need to have PYTHON installed. I installed both the app “Python3” and the “Python Module” found into the producer’s app list

After that command, you must have to insert all the Pyload configurations, like the Port of the NAS on which start the Pyload daemon (to connect to Pyload via browser), the SSL security connection settings and so on.

Then, you can try to start Pyload using

# /volume1/@appstore/pyload/bin/python /volume1/@appstore/pyload/pyload/

and verify it connecting via browser to the IP of the NAS at the daemon port specified. Mine is at:


3- Configuration of the Pyload user.
Pyload needs a special configuration command to add a Pyload user (even if is the first or the only user), done with the command:

# /volume1/@appstore/pyload/bin/python /volume1/@appstore/pyload/pyload/ -u


4- Automate the startup of Pyload
To automate the startup of Pyload at the startup of the machine, you need to create the new script file:

# touch /usr/syno/etc/rc.d/

and write into that file this script:

COMMAND="/volume1/@appstore/pyload/bin/python /volume1/@appstore/pyload/pyload/"

start() {
        echo "Starting PyLoad"
        $COMMAND --daemon

status() {
        echo -n "Status of PyLoad: "
        STATUS=$($COMMAND --status)
        if [[ $STATUS = "False" ]]; then
                echo "Not running"
                echo "Running as PID $STATUS"

stop() {
        echo "Stopping PyLoad"
        $COMMAND --quit

case "$1" in
                sleep 4
                echo "Usage: $0 (start|stop|restart|status)"
                exit 1
exit 0

Then this file need the execution priviledges

# chmod +x /usr/syno/etc/rc.d/

and on the next system startup Pyload will be launched automatically!
To start now pyload, the command is:

# /usr/syno/etc/rc.d/ start


VERY INTERESTING: after this setup, Pyload can be used also by the Synology app, that opens a window with the same web GUI in execution at the port specified!!


Enjoy! 😉


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: