#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 17: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 18: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
|
||||
|
||||
Its not the activity, it is the update check touching a file on disk.
__________________
JD-Dev & Server-Admin |
#18
|
|||
|
|||
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? |
#19
|
||||
|
||||
nothing to change jd will update itself and remote apps will inform about pending update
__________________
JD-Dev & Server-Admin |
#20
|
|||
|
|||
Thanks.
|
#21
|
||||
|
||||
You're welcome!
__________________
JD-Dev & Server-Admin |
#22
|
|||
|
|||
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 |
#23
|
|||
|
|||
Quote:
For now work fine so I'm happy Reg |
#24
|
||||
|
||||
I guess its a simple version variable in package that defines what qnap firmware are supported
__________________
JD-Dev & Server-Admin |
#25
|
|||
|
|||
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 11:50. Reason: Message added |
#26
|
||||
|
||||
yes it is too sad the board is not open for read without an account
__________________
JD-Dev & Server-Admin |
#27
|
|||
|
|||
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 :( |
#28
|
|||
|
|||
Quote:
There are some updates in last time, but problem is stil here. If i turn off jdownloader in qnap, the harddisk spin down. |
#29
|
||||
|
||||
I will work on this next week. Sorry for long waiting
__________________
JD-Dev & Server-Admin |
#30
|
|||
|
|||
Thanks, i thought that something wrong on my JDownloader.
|
#31
|
|||
|
|||
For the qnap fw upgrade, for now all works, in future, when I can use an official package, like entware or QNAPware I'll switch the method and I'll change the qpkg to use the official package
|
#32
|
|||
|
|||
Has there been any movement on creating a qpkg for JDownloader?
|
#33
|
|||
|
|||
Gibt es hier irgendwas neues bzgl. JD2 auf Qnap mit 4.2?
Are there any news about JD2 on Qnap Nas with 4.2? |
#34
|
|||
|
|||
works like a charm, like always
|
#35
|
|||
|
|||
I will be receiving my Qnap NAS today and I was wondering if it will be capable of also unrar files?. I currently have installed a headless JD2 on my Raspi, and even with "unrar" and "unrar-free" installed on Raspbian, it will download files just fine but it won't extract them. If I go to My.Jdownloader, the "Extract" option on right-click is greyed out!
Thanks! |
#36
|
||||
|
||||
Extraction is supported on
Linux(Arm,32bit_x86,64bit_x86,PPC) FreeBSD(32bit_x86,64bit_x86) Windows(32 und 64bit) Mac It should run smooth and also your RaspberryPI is fully supported. I guess you made the misstake to copy over an existing installation You need to install fresh on the device so the native libraries are correct for your system/cpu/bitness. Simply delete Core.jar and JDownloader will fetch all files again
__________________
JD-Dev & Server-Admin |
#37
|
|||
|
|||
Ist den schon klar wann es hier eine neue version gibt für 4.2?
|
#38
|
||||
|
||||
Warum eine neue Version?
Höchstens das QPKG kann Probleme haben. JDownloader selbst gibt es keinen Unterschied! Am besten Chryses anschreiben wegen der QPKG. Du kannst aber auch Java und JDownloader von Hand via SSH auf der NAS installieren, also ohne QPKG
__________________
JD-Dev & Server-Admin |
#39
|
|||
|
|||
Danke zunächst. Irgendwie klappt das mit dem Script nicht bei mir. Ich darf chrysis nicht anschreiben. Gibt es sonst irgendwo eine fertige qpkg?
|
#40
|
||||
|
||||
Frag ihn hier im Forum, also per Post und nicht per Privater Nachricht. Ich glaube ab 5 Posts oder so kannst dann via PM
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|