|
#1
|
|||
|
|||
JDownloader2 Qpkg on Qnap (Arm & Intel)
With this guide you can easily install JDownloader 2 (from now on JD2) on your nas Qnap, both version are supported, Arm and Intel!
Premise This method is "fully" automated, just follow this simple step! This script install also the qpkg for your Qnap, so you can activate and deactivate it through the App Center on your Qnap system. This script is also Auto-Upgradable, so if new version of this script is released, it upgrade itself automatically! Let's do it! Requirements
Here is the exact process , I recommend you follow it, step to step and you'll be fine Installation
Configuration
Last edited by Jiaz; 31.05.2022 at 18:37. Reason: Unlocked all URLs so that our users can see them |
#2
|
|||
|
|||
Hi Chryses,
nice job! I didn't test it yet, but it looks very promising. Did you use the QDK to build the qpkg? If yes, where did you get? I also wanted to have a look at it (just out of curiosity), but I couldn't get the QDK anywhere (all links on the QNAP page are not available anymore). The App Center of my TS-219P II doesn't contain it neither. Is it only available for certain models? Update: I found it myself. There is a valid link for QDK 2.2.4 in the quick start guide PDF. Last edited by jimmydietulpe; 10.07.2015 at 19:36. |
#3
|
|||
|
|||
Many tnx, sorry for the delay!
2.2.4? I'm still stuck at 2.2.2, that actually have some bug! Yep is a mix of a qpkg and an external script that install all! |
#4
|
|||
|
|||
JD2 unfortunately does not work properly on QNAP ( my 453mini qts 4.2 )
after installation is all ok, but after a reboot does not work, you can start it manually but you can not connect to it through the site my.jdownloader.org. Java works well, so i don't wny idea how fixit it. |
#5
|
||||
|
||||
I can help via Teamviewer if you want, contact us via support@jdownloader.org
When it works one, it should work always. After rebooting not working -> guess its simple setup issue
__________________
JD-Dev & Server-Admin |
#6
|
|||
|
|||
The script uses disown, but I think is not available on all system, so ... what do you think is better Jiaz, screen or disown?
@yabba235 can you write to me the output of this command? Code:
disown Code:
which screen |
#7
|
||||
|
||||
you dont need disown or screen
you can also use su -c "command &" user to start in background,would change it into that
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
I don't know why but, seems that
1. by default seems that all programs installed via qpkg run with admin 2. there is no sudo so no su command availabe, must be installed via ipkg 3. not all version of qnap have disown I don't know why but seems that some peoples have some trouble to start jd2, ok during the installation phase if you close the ssh session and jd2 is not on background, but in theory if you go to the cpannel and start it again must works! But seems that is not true, and is strange. So: I tried to use screen, after a jd2 update screen wont works Not all qnap have disown! I've now 2 way 1. installing sudo via ipkg and run your command 2. installing coreutils via ipkg and run nohup |
#9
|
|||
|
|||
Qpkg updated to 1.32.
Introduced a double check on the pid file Disabled disown command |
#10
|
|||
|
|||
Great work, love this alot...
I only have one issue... every time i close the ssh connection, jdownloader stops working... Any ideas? |
#11
|
|||
|
|||
Hi, tnx.
First of all check that have the latest version 1.32 The ssh connection is only for the installing purpose, so you install jd2 via ssh and close the ssh session, if jd2 stop you need to go to the qnap app center and disable JDownloader2, the you can re-enable it, always from qnap app center |
#12
|
||||
|
||||
I helped him via teamviewer and installed coreutils -> to provide nohup and updated script to use nohup
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
Updated to 1.33
If launched via ssh connection, jd2 starts with screen and inform the user |
#14
|
|||
|
|||
@Chryses
thank you for the guide. Everything works perfectly. Only thing i see is that my Qnap dont go in standby, do you think its jdownloader? I also do a firmware upgrade on the Qnap. |
#15
|
||||
|
||||
This will be fixed by an update for JDownloader. We will fix this issue as soon as possible
__________________
JD-Dev & Server-Admin |
#16
|
|||
|
|||
Tnx. I think that is a "common" problem when you use programs that need to be always on activity and/or online. In my opinion this is better for the hd life, less start/stop cycle I mean.
|
#17
|
|||
|
|||
Quote:
There are some updates in last time, but problem is stil here. If i turn off jdownloader in qnap, the harddisk spin down. |
#18
|
||||
|
||||
Its not the activity, it is the update check touching a file on disk.
__________________
JD-Dev & Server-Admin |
#19
|
|||
|
|||
Quote:
Quote:
Thank you, hope a update will solve this little problem. I think i can update via Jdownloader Androis app, i see there is something like "update jdwonloader". No need to change something on the Qnap? |
#20
|
||||
|
||||
nothing to change jd will update itself and remote apps will inform about pending update
__________________
JD-Dev & Server-Admin |
#21
|
|||
|
|||
Thanks.
|
#22
|
|||
|
|||
Hi,
I am regular user of Jdownloader and just bought a Qnap TS-431+. first time user for NAS. I have to install Optware from "**External links are only visible to Support Staff**, but encountered error. Current firmware of TS-431+ is 4.2.0 Please advise. Thanks. |
#23
|
|||
|
|||
Hi,
Can anyone advise? |
#24
|
|||
|
|||
Umm thats the same version I have (4.2) and I got jDownloader working!. I followed the tutorial on this forum and it went smoothly!
|
#26
|
|||
|
|||
Installation not successful
Hi all,
I installed jdownlader on my QNAP TS-212p as per the description above. Everything worked fine, I got the "set CONNECTED" and "All done!!!.." messages. However, on my jdownloader account, I still get the message "No connected JDownloader found". How can I establish the connection again? |
#27
|
|||
|
|||
help pls
Hi,
i have the following Problem running this script: JDownloader2 QPKG Installer script ============================================================= Checking for /opt... Found! Checking for Java... Found... exporting variables Checking for Java executable... All OK! Info: Downloading update file ... Done. Info: Starting download QPKG ... ######################################################################## 100.0% Info: Download completed succesfully Info: Installing the QPKG ... Install QNAP package on TS-NAS... 18+1 records in 18+1 records out ./ ./package_routines ./qpkg.cfg ./qinstall.sh 17+1 records in 17+1 records out 0+1 records in 0+1 records out Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff**. Updated list of available packages in /opt/var/opkg-lists/packages. Installing grep (2.22-1) to root... Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff**. Installing libpcre (8.37-2) to root... Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff**. Configuring libpcre. Configuring grep. Installing sed (4.2.2-1) to root... Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff**. Configuring sed. Unknown package 'procps'. Collected errors: * opkg_install_cmd: Cannot install package procps. /opt/bin/opkg install procps failed Installing bc (1.06.95-1) to root... Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff**. Installing libreadline (6.3-1) to root... Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff** k. Installing libncurses (6.0-1) to root... Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff** . Configuring libreadline. Configuring libncurses. Configuring bc. Installing bash (4.3.42-1a) to root... Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff**. Configuring bash. Installing coreutils (8.23-2) to root... Downloading **External links are only visible to Support Staff****External links are only visible to Support Staff** . Configuring coreutils. JDownloader2 1.34 installation failed. The following QPKG must be installed and enabled: Optware | opkg. The following Optware package must be installed: procps . Installation Abort. Info: Installation succesfully completed. Info: Downloading JDownloader2 Jar file... Done SetOut java.io.PrintStream@cf9800 SetErr java.io.PrintStream@17c264 Application Root: /jd2 (jared) class org.jdownloader.update.launcher.SecondLevel Launcher sun.Desktop: null XDG_CURRENT_DESKTOP: null GNOME_DESKTOP_SESSION_ID: null KDE_FULL_SESSION: null DESKTOP_SESSION: null Ignored: org.appwork Update Message: Download Updates... Downloadspeed: 0 B/s, Time left: 00s | There is not enough free space on your harddisk C:. | Make sure that there are at least 170.20 MB of free space (156.40 MB mor e needed) and restart the update. | Press Enter to continue |
#28
|
|||
|
|||
JRE Error
Hey Guys
This would be the solution to all my problems I tried to follow the described steps but keep getting the following error while installing JDownloader: [/share/HDA_DATA/Public] # sh JD2_Qnap_installer.sh ============================================================= JDownloader2 QPKG Installer script ============================================================= Checking for /opt... Found! Checking for Java... Found... exporting variables Checking for Java executable... Java does not run correctly. Please test the Java environment and try again. Can somebody tell my what I was doing wrong? NAS: TS-109 Firmware: 3.3.3 Build 1003T JRE: Version: 6.0.22 Installation Path: /share/HDA_DATA/.qpkg/JRE I googled now what the problem could be, but i am stock, everything looks properly set up .... Thanks for the support guys! |
#29
|
|||
|
|||
Got an error while trying to install it.
[/share/Public] # cd `/sbin/getcfg Public path -f /etc/config/smb.conf` [/share/MD0_DATA/Public] # chmod +x jd2_qnap_installer.sh [/share/MD0_DATA/Public] # ./jd2_qnap_installer.sh ============================================================= JDownloader2 QPKG Installer script ============================================================= Checking for /opt... Found! Checking for Java... Found... exporting variables Checking for Java executable... All OK! Info: Downloading update file ... Failed. Oops, couldn't download the JDownloader2 update file. Please check your internet connection. [/share/MD0_DATA/Public] # Looks like the update file is gone. JD2_UPDATE_FILE="jd2_update" JD2_UPDATE_LINK="**External links are only visible to Support Staff** The link leads to file not found. Can anyone help? Thanks in advance |
#30
|
|||
|
|||
everytime I install jdownloader through putty,
it always stuck in "Update message: check for updates". Therefore I could never get to "set: connected". Anyone knows how can I fix this? |
#31
|
||||
|
||||
That's not stuck, that's normal and okay.
It is important to start it first time with java -jar JDownloader.jar -norestart so you can enter your MyJDownloader logins on console.
__________________
JD-Dev & Server-Admin |
#32
|
|||
|
|||
I have folled the steps except for the location of the JDownloader2 QPKG Installer script.
In my case this is in "cd '/sbin/getcfg /share/CACHEDEV1_DATA/Multimedia/Downloads/JDownloader2/Config path -f /etc/config/smb.conf'" However, when I try to execute ./JD2_Qnap_installer.sh, I'm faced with "============================================================= JDownloader2 QPKG Installer script ============================================================= The Public share not found. [/share/CACHEDEV1_DATA/Multimedia/Downloads/JDownloader2/Config] # #" Any ideas? |
#33
|
|||
|
|||
INstallation wird nicht beendet
Die Installation läuft bis 'Upgrade progress: 100%' – ca. 25 Zeilen nach Eingabe der Login Credentials. Danach passiert in der SSH-Session gar nichts mehr; ich habe vorsichtshalber fast eine Stunde gewartet.
Im QNAP App-Center (TS-332x, Arm Cortex 57 CPU) taucht der JDownloader auf und lässt sich auch über my.jdownloader.org verwalten. Wenn ich die SSH-Session dann schließe, verschwindet allerdings auch der JDownloader wieder aus dem Dashboard auf my.jdownloader.org. Stoppen und Neustarten der QNAP-App (JDL) hilft nicht. Zusammengefasst also: Der JDL wird auf dem QNAP NAS nur solange bereitgestellt, wie die SSH-Session noch offen ist. Danach 'isser wech'. Mache ich etwas falsch? Oder ist es ein spezielles Problem mit der Arm 57 x64 CPU? Bin für jeden Tipp dankbar! |
#34
|
||||
|
||||
You're welcome!
__________________
JD-Dev & Server-Admin |
#35
|
|||
|
|||
Hello Chryses,
it seems that there is something change in the actual QNAP Firmware 4.2.0(20150819). I now it is Beta status at the moment, but it will be final soon. I get the attached Warning message, that the JDownloader2 Apps will no longer be supported. But it seems to work fine. Maybe you want to look into it. Best regards tarkett |
#36
|
|||
|
|||
Quote:
For now work fine so I'm happy Reg |
#37
|
||||
|
||||
I guess its a simple version variable in package that defines what qnap firmware are supported
__________________
JD-Dev & Server-Admin |
#38
|
|||
|
|||
For more information about the QNAP changes
_**External links are only visible to Support Staff** I hope it is okay, that I post the link. Edit: Here is the interest part about this change. I think Optware is the problem. Code:
Hi, For Your Information After exchange with QNAP ... please consider following message from App. Center ... saying that some QPKG are now unsupported as an error (Bug) An error occurs in the test ... that ONLY compare to a whitelist of QNAP's official application ... and not separate applications by origin ... SO the warning is correct for QNAP's list NOR (or perhaps) for other QPKG Change impacting App. ... that will don't work or not : ALL using Optware (perhaps) ... please contact dev. or use other version without ipkg / Optware requested ... move to QNAPware / Entware PHP application due to upgrade of PHP : PHP Version => 5.5.27 Mysql application and MariaDB application due to replacement of mysql by MariaDB : Ver 15.1 Distrib 5.5.44-MariaDB This will be corrected in next update with a more clear message AND special notes in "release notes". Philippe. Last edited by tarkett; 08.09.2015 at 12:50. Reason: Message added |
#39
|
||||
|
||||
yes it is too sad the board is not open for read without an account
__________________
JD-Dev & Server-Admin |
#40
|
|||
|
|||
Now JD2 requires optware fo install, so maybe is time to change it to qnapware requires ?
Optware is obsolete and replaced with qnapware. If final compilation qts 4.2 will not allow to run optware JD2 may not be possible to install on qnap machine :( |
Thread Tools | |
Display Modes | |
|
|