JDownloader2 on NSA326

Marvell Kirkwood based
fminteractive
Posts: 2
Joined: Sat Apr 01, 2017 1:50 pm

Re: JDownloader2 on NSA326

Post by fminteractive » Sat Apr 01, 2017 1:55 pm

Hi guys,

I'm new to the forum and I have a NSA310. I want to install Jdownloader. I successfully installed Java but Jdownloader really doesn't want to install correctly. If somebody knows the reason, please help :)

== Welcome at FFP version 0.7/arm, running on NSA310_ZyXEL netstore, firmware V4 .70(AFK.3) ==
root@netstore:~# java -version
java version "1.8.0_121"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_121-b13, headless)
Java HotSpot(TM) Embedded Client VM (build 25.121-b13, mixed mode)
root@netstore:/i-data/9fd7f1e6/jd2# wget http://installer.jdownloader.org/JDownl oader.jar
--19:55:41-- http://installer.jdownloader.org/JDownloader.jar
=> `JDownloader.jar'
Resolving installer.jdownloader.org... 85.131.130.148
Connecting to installer.jdownloader.org[85.131.130.148]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,895,771 [application/octet-stream]

100%[====================================>] 2,895,771 6.19M/s

19:55:42 (6.18 MB/s) - `JDownloader.jar' saved [2895771/2895771]

root@netstore:/i-data/9fd7f1e6/jd2# java -Djava.awt.headless=true -jar JDownload er.jar -norestart
JarHandlerWorkaroundOracle:setURLStreamHandlerFactory
JarHandlerWorkaroundOracle:replaceLauncherFactory
JarHandlerWorkaroundOracle:replaceURLClassPath
JarHandlerWorkaroundOracle:replacejarHandler
JarHandlerWorkaroundOracle:replaceLoaders:1
JarHandlerWorkaroundOracle:replaceLoader:0:handler
JarHandlerWorkaroundOracle:replaceLoader:0:handler:jar:file:/i-data/9fd7f1e6/jd2 /JDownloader.jar!/
SetOut java.io.PrintStream@f39991
SetErr java.io.PrintStream@12b3a41
Created System Logger java.util.logging.LogManager$RootLogger@1629346
sun.Desktop: null
XDG_CURRENT_DESKTOP: null
GNOME_DESKTOP_SESSION_ID: null
KDE_FULL_SESSION: null
DESKTOP_SESSION: null
Application Root: /i-data/9fd7f1e6/jd2 (jared) class org.appwork.utils.Applicati on
FINER >> Init StorageHandler for Interface:org.appwork.utils.logging2.LogConfig| Path:/i-data/9fd7f1e6/jd2/cfg/org.appwork.utils.logging2.LogConfig
Multiple LogControllers Detected: org.appwork.utils.logging2.extmanager.LoggerFa ctory
Multiple LogControllers Detected: org.jdownloader.logging.LogController

THREAD: 1
1|UncaughtExceptionHandler.log 8/3/34 7:56:03 PM - SEVERE [ org.appwork.utils.lo gging2.extmanager.LoggerFactory$1(uncaughtException) ] -> Uncaught Exception in: 1=main
1|UncaughtExceptionHandler.log 8/3/34 7:56:03 PM - SEVERE [ UncaughtExceptionHan dler.log ] -> java.lang.ExceptionInInitializerError
at org.jdownloader.update.launcher.SecondLevelLauncher.<clinit>(SecondLe velLauncher.java:169)
at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:13)
Caused by: java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:552)
at java.lang.Long.parseLong(Long.java:631)
at org.appwork.utils.logging2.LogSourceProvider.<init>(LogSourceProvider .java:151)
at org.jdownloader.logging.LogController.<init>(LogController.java:57)
at org.jdownloader.logging.LogController.<clinit>(LogController.java:25)
... 2 more


THREAD: 7
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> TEST
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [1/5|Priority: 10000]ShutdownController: start item->flushing logs to disk
[1/5|Priority: 10000]ShutdownController: start item->flushing logs to disk
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [1/5|Priority: 10000]ShutdownController: item ended after->19
[Done:1/5
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [2/5|Priority: 0]ShutdownController: start item->ShutdownEvent: Save JSonStorages
[2/5|Priority: 0]ShutdownController: start item->ShutdownEvent: Save JSonStorage s

THREAD: 13
13|Log.L.log 8/3/34 7:56:03 PM - FINER [ org.appwork.storage.JSonStorage(close) ] -> Start Saving Storage
13|Log.L.log 8/3/34 7:56:03 PM - FINER [ org.appwork.storage.JSonStorage(close) ] -> ENDED Saving Storage

THREAD: 7
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [2/5|Priority: 0]ShutdownController: item ended after->6
[Done:2/5
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [3/5|Priority: 0]ShutdownController: start item->ShutdownEvent: SaveA llStorageHandler
[3/5|Priority: 0]ShutdownController: start item->ShutdownEvent: SaveAllStorageHa ndler
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [3/5|Priority: 0]ShutdownController: item ended after->63
[Done:3/5
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [4/5|Priority: 0]ShutdownController: start item->ShutdownEvent: Proce ssDelayedWrites num=0
[4/5|Priority: 0]ShutdownController: start item->ShutdownEvent: ProcessDelayedWr ites num=0
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [4/5|Priority: 0]ShutdownController: item ended after->4
[Done:4/5
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [5/5|Priority: -2147483648]ShutdownController: start item->ShutdownEv entWrapper Thread[Thread-0,5,main] - java.util.logging.LogManager$Cleaner Priori ty: -2147483648
[5/5|Priority: -2147483648]ShutdownController: start item->ShutdownEventWrapper Thread[Thread-0,5,main] - java.util.logging.LogManager$Cleaner Priority: -214748 3648
7|Log.L.log 8/3/34 7:56:03 PM - FINEST [ org.appwork.shutdown.ShutdownController (run) ] -> [5/5|Priority: -2147483648]ShutdownController: item ended after->5
[Done:5/5
7|Log.L.log 8/3/34 7:56:04 PM - INFO [ org.appwork.shutdown.ShutdownController(r un) ] -> Shutdown Hooks Finished

fminteractive
Posts: 2
Joined: Sat Apr 01, 2017 1:50 pm

Re: JDownloader2 on NSA326

Post by fminteractive » Sat Apr 01, 2017 3:04 pm

I managed to get the first part of installation done by installing it under /mnt/HD_a2/admin/jd2
Seems like it was a permission issue?

However the long update process fails repeatedly like this:


|---------------------------Headless Information-------------------------------
| Exception Occured
| An Error occured
| Failed to install the update. Please try again later.
| If this problem does not "solve itself" after a few hours, contact our support or reinstall JDownloader.
| Stacktrace:
| org.jdownloader.update.SelfUpdateException: Selftest took more than 5 minutes
| at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(SelfUpdateClient.java:268)
| at org.jdownloader.update.UpdateManager.runFinishSelfUpdate(UpdateManager.java:1078)
| at org.jdownloader.update.DefaultCallbackHandler.onResults(DefaultCallbackHandler.java:351)
| at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1500)
| at org.jdownloader.update.PendingUpdate.run(PendingUpdate.java:20)
| at org.jdownloader.update.UpdateManager$17.run(UpdateManager.java:1893)
| at java.lang.Thread.run(Thread.java:745)
| Press Enter to continue



Any ideas? :'(

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: JDownloader2 on NSA326

Post by barmalej2 » Wed Apr 05, 2017 10:23 am

Woks fine to me. Update your ffp system first:
# Create funpkg cache dir for br2 repo if it not exists and install new slapt-get package manager:

Code: Select all

[ -d /ffp/funpkg/cache/br2 ] || mkdir -p /ffp/funpkg/cache/br2
cd /ffp/funpkg/cache/br2
/ffp/bin/wget -nv http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/slapt-get-0.10.2t-arm-2.txz
funpkg -i slapt-get-0.10.2t-arm-2.txz
# Update slapt-get lists and upgrade core packages:

Code: Select all

slapt-get -u
slapt-get --upgrade
# Restart sshd daemon service after upgrading:

Code: Select all

sh /ffp/start/sshd.sh restart

Pollux
Posts: 9
Joined: Fri Mar 20, 2015 3:13 pm

Re: JDownloader2 on NSA326

Post by Pollux » Sat Dec 02, 2017 7:12 pm

Hi all,

Might it be possible that the 'jd2.sh' startscript isn't available anymore?

I'm referring to this post https://forum.nas-central.org/viewtopic ... 99#p104835 from MrDini.

Code: Select all

wget -O /ffp/start/jd2.sh https://gist.githubusercontent.com/mrcktz/d128f9e237c1894bbe46/raw/ef7112c7f36bb3ce68e3fb1fa19abccb4677fed9/jd2.sh
From my NAS I'm getting:

Code: Select all

https://gist.githubusercontent.com/mrcktz/d128f9e237c1894bbe46/raw/ef7112c7f36bb3ce68e3fb1fa19abccb4677fed9/jd2.sh: Unsupported scheme.
I've installed via uwsiteloader.sh the repo of barmalej2: br2:wget-1.17.1-arm-1.txz --> Installed: wget-1.17.1-arm-1

In my browser Firefox 57.0 (64bit) I'm getting Error 404.
Did I overlook something?

Best regards,
Pollux

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: JDownloader2 on NSA326

Post by MrDini » Sat Dec 02, 2017 7:34 pm

Here you are.

Yes, seems like the original version became removed. :(

PS: I also updated the original post. Thanks.
Thanks nas-central the lot of help! :)

Pollux
Posts: 9
Joined: Fri Mar 20, 2015 3:13 pm

Re: JDownloader2 on NSA326

Post by Pollux » Sat Dec 02, 2017 8:03 pm

:D Guys you're great! I love nas-central.org! :D

JDownloader 2 is running on a STG212 box (aka. MEDION P89636)! :geek:

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: JDownloader2 on NSA326

Post by MrDini » Sat Dec 02, 2017 8:44 pm

Cool! :) I am glad to hear it is working on a Medion box too. Have fun with your new toy. ;)
Thanks nas-central the lot of help! :)

Post Reply