[APKG Native JDownloader2] 2.0-1.6 for ADM 3.x & ADM 4.x

JDownloader is a free, open-source download management tool with a huge community of developers that makes downloading as easy and fast as it should be. Users can start, stop or pause downloads, set bandwith limitations, auto-extract archives and much more. It's an easy-to-extend framework that can save hours of your valuable time every day!

Moderator: Lillian.W@AST

Post Reply
User avatar
father.mande
Posts: 1810
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[APKG Native JDownloader2] 2.0-1.6 for ADM 3.x & ADM 4.x

Post by father.mande »

Hi,

I am please to announce the availability of a new version of JDownloader2

$$$$$ IT'S a NATIVE version not a container ... so all is know and visible.

========== NEW version 2.0-1.6 for ADM 3.x AND ADM 4.x ... All architecture. (fresh install (update from 2.0-1.5 works as well BUT NOT from previous version for ADM 4.x)
========== THIS VERSION IS UNDER Asustor VALIDATION IN APPCENTRAL (so download only if you want to use it quickly)

Archive :
========== version 2.0-1.3 for ADM 2.x firmware (fresh install)
========== NEW version 2.0-1.4 for ADM 3.x firmware (fresh install ONLY don't need if update to 3.x is AFTER installing 2.x version of Jdownloader)
========== NEW version 2.0-1.5 ADM 3.x Entware in place of Entware-ng support also ARM64

ATTENTION === due to the product itself the procedure is a little more complex.
read the How-to, read the how-to, read the how-to ... and in case of : read the how-to hereafter

PREREQUIS :
CREATE an account in jdownloader site : http://my.jdownloader.org/login.html
Entware ... for complete GNU tools (Asustor provide only Busybox version)
jre ... normal JDownloader is a java program ( :twisted: I hope you like not secure eater of resources CPU, Memory you will like it ... )
AND
how open a console (ssh or telnet) and enter basic commands ...
AND
an Internet connection valid and remember elapse time depend of the bandwidth ...


[Anxious about entware update from JDowloader APKG ?]
before install you can do ...
opkg update ; opkg upgrade
then install
opkg install bash bc coreutils coreutils-cat coreutils-ln coreutils-mkdir coreutils-tail grep sed
after install (do be sure all is here) you can do
opkg list_installed ... and do a visual verification
icon
icon
JD2_90.png (16.73 KiB) Viewed 58047 times
[Name]
JDownloader2

[Versions]
2.0-1.6
... support for ADM 3.x AND ADM 4.x
... add a terminal command to manage JDownloader2 : jdl2 (jd and letter l 2)
... disable APKG after install UP you have run the init (read hereafter) (after APKG install, refresh to see the real status (change 5 sec. after end of install)

2.0-1.5
... FRESH install ONLY
... REQUIRE Entware in place of Entware-ng (so need to uninstall ng to install new Entware 1.0
... support JRE (last updated) from Asustor (no need to use alternate JRE delivery
... support for NAS ARM64 series ...

2.0-1.4.1
... suppress option -norestart that complexify in normal usage the internal update process (bug is : manual restart required)

2.0-1.4
MANDATORY for a FRESH install under A.D.M. 3.0
... support using ANOTHER JRE (even official JRE stay a perquisite)
... scripts change to comply A.D.M. 3.0 change in APKG management

2.0-1.3
NOT A MANDATORY update ... depend of your usage ...
... due to previous modification (URL generation) AND due to architecture use by Asustor for APKG Web Server application
... ... a problem exist : you can't Disable jdownloader (thanks to Vincent to discover this problem) (normally no reason ... because it's here to download in background :lol: :lol: )
... This version solve this bug by returning to the "official" methodology require by Asustor (even if I have some difficulty to understand ... but I am not in the Asustor's team)
2.0-1.2
... solve problem of URL generated by JDownloader icon in ADM
... manage upgrade WITHOPUT lost of your own configuration
2.0-1.1
... add more description with link to init phase need to finish install
2.0
initial release

[How-to MUST BE READ FIRST]
1 install the APKG ... it go automatically to Disable state

2 run in a console THIS will be done ONLY one time :
/usr/local/AppCentral/jdownloader/init.sh
OR NEW just do :jdl2 initjd
READ carefully ALL the message displayed BEFORE starting each phase ...
... this start a first java program to update and install ALL the structure
... LOT LOT LOT of message are displayed ... be patient
... IF YOU SEE a message "do you want to update y/n" or like ... ALWAYS answer y YES
AFTER the update ... and 10 seconds more ... the java program is killed
... you have to validate (just to see an error if appear ... )
... this restart a second step of java
... LOT LOT LOT of message are displayed ... be patient
DURING this phase you are asked to enter email and password (your jdownloader account)
... answer y (yes) to enter credentials
... enter your email
... enter your password
WHEN " set CONNECTED" OR "Update Messages: xxx" then nothing more on screen
if one is displayed AND only when ... (be patient ... again)
... use <CTRL>C (control+ c) to break and kill GRACEFULLY (don't use other method) the java program ... and wait for all message up to the end

It's finish now script Enable APKG

Then connect to : http://my.jdownloader.org/login.html
AND FIRST change the download folder best is to use : /share/Download BUT you can create your own ...
GOOD idea is to change the device.name (settings/advanced in Jdownloader interface ... if you run multiple instance on multiple NAS to identify your NAS

Alternatively you can use the Web link created in your local Web server : http://your_ip_or_name:your_port_or_default/JDownloader2
... but it's only a redirection to http://my.jdownloader.org/login.html (all is managed from my.jdownloader site)

[Cron]
When you start the APKG ... 2 (two) cron task are created
One to free memory for other (frequency depend of the memory available) Java is a memory eater ...
One each day 1 of each month to clean temporary folders (in jdownloader)
BUT each can be started manually using /usr/local/AppCentral/jdownloader/CONTROL/start-stop.sh jd_clean_tmp or jd_clean_cache (memory)

[Download]
APKG 2.0-1.6 : https://www.father-mande.ovh/A/apkg/jdo ... .6_any.apk

[Support]

http://my.jdownloader.org/index.html to get other client or wiki and F.A.Q.
Android : https://play.google.com/store/apps/deta ... yjdandroid

Captcha solver : http://www.9kw.eu/register.html (account and paid for ... )
If you don't have an account on http://www.9kw.eu/register.html service make one on it, it's a captchas solver. The best thinks about it, is that if you don't want to buy some captcha credits, you can participate, solving some captchas and earn captcha credits!

Have fun.

Philippe.
Last edited by father.mande on Thu Aug 26, 2021 11:42 pm, edited 16 times in total.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Shawn.S@AST
Posts: 181
Joined: Fri May 25, 2012 3:10 pm

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by Shawn.S@AST »

Hi Philipe,

Congratulations!!! Thanks a lot for the very interesting apps!!! It is really fun to use. Highly appreciated!
Spartanineo
Posts: 34
Joined: Fri Aug 21, 2015 4:32 am

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by Spartanineo »

Hi Philippe thank you so Much for your app jdownloader2!
You are great ! Only one issue on as602t under adm 2.6 (atom CPU 64bits) : to finitialize the set up the Nas Must be rebooted.
Cheers Spartanineo
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by father.mande »

Hi,
Spartanineo wrote:Hi Philippe thank you so Much for your app jdownloader2!
You are great ! Only one issue on as602t under adm 2.6 (atom CPU 64bits) : to finitialize the set up the Nas Must be rebooted.
Cheers Spartanineo
Thanks for the information ... I have tested only on my AS5002T ... so can't be sure for all series

I don't clearly understand why ... but I will put this recommendation .. based on areal user ... you .. in my announcement post

Thanks.
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by damien599901 »

no issue
works very well
great !!!
Storage: AS7004T & AS5002T
Network: FREEBOX REVOLUTION V6
Laptop: Apple MACBOOK Pro OS X El Capitan & Windows 10
Media Player: ASUSTOR NAS with Kodi 16 Beta & HD_Engine 1 (thanks Fathe_Mande)
Portable: iPhone 6S Plus, iPad Mini 2 & iPad Air
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by father.mande »

Hi,

Add a new version of the APKG ... NO NEED to update ... only new install
THIS add :
... comment in description to link (in forum topic) to detailed init instructions ... for people don't looking at Asustor log ( where it's ALSO indicated :lol: ) ... after install ... and see Jdownloader disabled ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by damien599901 »

Hi Philippe

what's the goal of the icon on the ADM desktop?

regards
Storage: AS7004T & AS5002T
Network: FREEBOX REVOLUTION V6
Laptop: Apple MACBOOK Pro OS X El Capitan & Windows 10
Media Player: ASUSTOR NAS with Kodi 16 Beta & HD_Engine 1 (thanks Fathe_Mande)
Portable: iPhone 6S Plus, iPad Mini 2 & iPad Air
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by father.mande »

Hi,
damien599901 wrote:Hi Philippe
what's the goal of the icon on the ADM desktop?
regards
If it works :lol: ... it's just to open the tab to connect you to "My_Jdownloader" site where ALL is managed :
http://my.jdownloader.org/index.html

index.html is (default delivery NOT created by me) :

Code: Select all

<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="refresh" content="1;url=http://example.com">
        <script type="text/javascript">
            window.location.href = "http://my.jdownloader.org/index.html"
        </script>
        <title>Page Redirection</title>
    </head>
    <body>
        <!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
        If you are not redirected automatically, follow the <a href='http://my.jdownloader.org/index.html'>link to example</a>
    </body>
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by damien599901 »

father.mande wrote:Hi,
damien599901 wrote:Hi Philippe
what's the goal of the icon on the ADM desktop?
regards
If it works :lol: ... it's just to open the tab to connect you to "My_Jdownloader" site where ALL is managed :
http://my.jdownloader.org/index.html

index.html is (default delivery NOT created by me) :

Code: Select all

<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="refresh" content="1;url=http://example.com">
        <script type="text/javascript">
            window.location.href = "http://my.jdownloader.org/index.html"
        </script>
        <title>Page Redirection</title>
    </head>
    <body>
        <!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
        If you are not redirected automatically, follow the <a href='http://my.jdownloader.org/index.html'>link to example</a>
    </body>
Philippe.

Hi Philippe

again a brilliant idea :shock:
thank you

but if i click on the icon : LANIP/jdownloader or ID.myasustor.com/jdownloader

French error message
"Objet non trouvé!

L'URL demandée n'a pas pu être trouvée sur ce serveur. La référence sur la page citée semble être erronée ou perimée. Nous vous prions d'informer l'auteur de cette page de cette erreur.

Si vous pensez qu'il s'agit d'une erreur du serveur, veuillez contacter le webmestre.

Error 404

192.168.0.xxx
Sun May 15 17:18:32 2016
Apache/2.2.31 (Unix) DAV/2 mod_mono/2.10 PHP/5.6.14 mod_ssl/2.2.31 OpenSSL/1.0.2d"
Storage: AS7004T & AS5002T
Network: FREEBOX REVOLUTION V6
Laptop: Apple MACBOOK Pro OS X El Capitan & Windows 10
Media Player: ASUSTOR NAS with Kodi 16 Beta & HD_Engine 1 (thanks Fathe_Mande)
Portable: iPhone 6S Plus, iPad Mini 2 & iPad Air
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG JDownloader2 Beta] I am NOT a user ONLY integrator !!

Post by father.mande »

Hi,

never tested ... :lol: :lol:

but seems you are true the real is : https://my.jdownloader.org/

I will change it ... apologize ... even if I don't create this ... (if you have two minutes try to replace the URL in the index.html to confirm the change from HTTP to HTTPS

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Jdownloader2”