Knowledgebase:
Synology installation
Posted by pspzockerscene psp, Last modified by pspzockerscene psp on 01 April 2021 10:19 AM

Synology installation (easy - Community package)

  1. Open Package Center --> Settings --> Package Sources and add the following package location:
    https://spk.netzbaer.de​
    In some cases this doesn't work. In this case, try only spk.netzbaer.de .
  2. Close- and re-open the Package Center and search for "JDownloader" and install it.
    If you cannot find it you most likely didn't close your Package Center before searching for the package!
  3. Your installation is now complete. It is recommended to checkout the other articles in this Headless support category - especially these useful headless hints.
    Have fun with JDownloader on your headless device!

Thanks to JD forum user neutr0n

Synology installation (Advanced users - Terminal)

You need to enable Terminal support in your DSM settings in order to perform the steps below!
Your Synology terminal needs to be in root mode so perform a sudo -i and enter password before!

  1. Create a Jdownloader directory, for example
    mkdir /volume1/@appstore/JDownloader
  2. Go to that directory and follow these headless install instructions.
  3. Enter:
    wget http://installer.jdownloader.org/JDownloader.jar
    Alternative download JDownloader.jar
  4. Enter:
    java -jar JDownloader.jar -norestart
    Repeat this command until JDownloader asks you to enter your MyJDownloader login/password on console.
    You can now remote-control your JDownloader instance via MyJDownloader with the credentials entered before.
  5. [Optional] If you want JD to autostart whenever your Synology starts up, do the following:
    a.
    Create a file called start.sh in /volume1/@appstore/JDownloader
    b.
    Put the following text into this file:
    #!/bin/bash
    cd /volume1/@appstore/JDownloader
    /volume1/@appstore/Java8/j2sdk-image/bin/java -jar JDownloader.jar &
    c. Enter the following command:
    chmod a+x start.sh
    d. Go to Control Panel -> Task Scheduler -> Create -> Triggered Task -> User-defined script:
    General: Task: Run JD on startup
    Task Settings -> User-defined script: sleep 10 && /volume1/@appstore/JDownloader/start.sh
    e. Add this task by clicking Ok and make sure that it is enabled.
    JD will now start after 10 seconds delay whenever your Synology is started.
  6. You're done! It is recommended to checkout the other articles in this Headless support category - especially these useful headless hints.
    Have fun with JDownloader on your headless device!

You should disable terminal access in your DSM settings again if you don't need it anymore!
Leaving it enabled can be a security risk!


Troubleshooting

JDownloader is not starting at all
By default, Synology is providing a Java version which can lead to issues on devices with ARM processors!
If your device has an ARM processor, a manual Java downgrade should help.
There are at least two ways of installing Java - chose the one that works best for you.

[Option 1] Manual Java installation:

  1. Uninstall the pre-installed Java (8) version in the Package Center.
  2. Download a Java version below- or equal to 8.0.161-0017 from the official Synology archive.
  3. Go to the Package Center --> Manual installation --> Chose the downloaded .spk file and install it.
  4. You should be able to start JD now!

[Option 2] Automatic Java installation via open source Community Package:

  1. Go to Package Center --> Settings --> Package Sources --> Add the following package location:
    https://get.filebot.net/syno/
  2. Close- and e-open the Package Center, search for "Java Installer" and install it.
    If you cannot find it you most likely didn't close your Package Center before searching for the package!
  3. You should be able to start JD now.

Slow downloads / high CPU usage during downloads from websites using https (nearly all are using https by now)
See slow speed troubleshooting.
There isn't really much you can do about this other than using the mentioned https-workarounds if existant in our plugin settings for the provider you want to download from.



Attachments 
 
 synology_package_center_install_jdownloader.png (42.04 KB)
 synology_package_center_install_java_installer.png (66.49 KB)
(42 vote(s))
Helpful
Not helpful