#81
|
|||
|
|||
![]() Quote:
I still need to use command via putty Code:
nohup /volume1/@appstore/JavaManager/Java/bin/java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar & |
#82
|
|||
|
|||
![]()
@ Jiaz
What exactly do you need to get automatic extraction working on NAS? Here is my cat /proc/cpuinfo from a QNAP: Code:
Processor name : Feroceon 88F6281 rev 1 (v5l) @ BogoMIPS : 799.53 Features : swp half thumb fastmult edsp CPU implementer : 0x56 CPU architecture: 5TE CPU variant : 0x2 CPU part : 0x131 CPU revision : 1 Hardware : Feroceon-KW ARM Revision : 0000 Serial : 0000000000000000 Thanks |
#83
|
||||
|
||||
![]()
@felsi write an email to support@jdownloader.org and I will try to get extraction working
__________________
JD-Dev & Server-Admin |
#84
|
|||
|
|||
![]()
Automatic extraction don't work for me either (Synology DS112+).
Code:
> cat /proc/cpuinfo Processor : Feroceon 88FR131 rev 1 (v5l) BogoMIPS : 1985.74 Features : swp half thumb fastmult edsp CPU implementer : 0x56 CPU architecture: 5TE CPU variant : 0x2 CPU part : 0x131 CPU revision : 1 Hardware : Synology 6282 board Revision : 0000 Serial : 0000000000000000 Code:
------------------------Thread: 66:ExtractionExtension.log----------------------- --ID:66TS:1422519777906-1/29/15 9:22:57 AM - [org.appwork.txtresource.TranslationHandler(createTranslationResource)] -> Utils>ExtractionExtension.log>Load Translation file:/volume1/@appstore/jdownloader/translations/org/jdownloader/extensions/extraction/translate/ExtractionTranslation.en.lng --ID:66TS:1422519778405-1/29/15 9:22:58 AM - [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Lib ID: Linux-arm --ID:66TS:1422519778406-1/29/15 9:22:58 AM - [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Lib Path: /volume1/@appstore/jdownloader/tmp/7zip --ID:66TS:1422519778616-1/29/15 9:22:58 AM - [] -> net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/volume1/@appstore/jdownloader/tmp/7zip/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so' at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:511) at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:383) at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:325) at org.jdownloader.extensions.extraction.multi.Multi.checkCommand(Multi.java:413) at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.java:602) at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:482) at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:80) at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:322) at org.jdownloader.extensions.LazyExtension.create(LazyExtension.java:65) at org.jdownloader.extensions.ExtensionController.initModule(ExtensionController.java:480) at org.jdownloader.extensions.ExtensionController.loadJared(ExtensionController.java:316) at org.jdownloader.extensions.ExtensionController.load(ExtensionController.java:254) at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:122) at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:836) Caused by: java.lang.UnsatisfiedLinkError: /volume1/@appstore/jdownloader/tmp/7zip/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:509) ... 13 more |
#85
|
|||
|
|||
![]()
I used T_Send's script for starting and stopping the JDownloader service process and it works pretty well. The only issue that I have is when JDownloader updates itself and I click the 'Update and Restart JD' link on my.jdownloader, it restarts JD but the /var/run/jdownloader.pid file doesn't get updated with the new process ID. So if I later on decide to stop/start/restart/etc the service via command line it errors out. So I have to manually update the .pid file by looking up the process ID with 'ps'. Does anyone know of an easy way to work around this?
|
#86
|
||||
|
||||
![]()
I will add a method to save pid in a file on linux/mac systems
__________________
JD-Dev & Server-Admin |
#87
|
||||
|
||||
![]()
Update: JDownloader now writes its PID into JarName.pid (eg JDownloader.pid)
__________________
JD-Dev & Server-Admin |
#88
|
|||
|
|||
![]()
Wow Jiaz that was fast, thanks.
![]() Only one minor issue is that JD should probably delete its .pid file when it shuts down. Otherwise you could try to stop JD after it has been stopped via /etc/init.d/jdownloader stop and it might kill the wrong process. For anyone else that might be interested: you can simply modify T_Send's script to remove the '--make-pidfile' flag and change the path to the pid file (instead of '/var/run/$NAME.pid' it should be '$DIR/JDownloader.pid'). |
#89
|
||||
|
||||
![]()
already done, will be removed with next update
__________________
JD-Dev & Server-Admin |
#90
|
||||
|
||||
![]()
In case your NAS/Device has an ARM Processor and extraction does not work,
please update your jdownloader and try following parameters -DsevenzipLibID=Linux-arm or -DsevenzipLibID=Linux-armpi eg java -DsevenzipLibID=Linux-armpi .... -jar JDownloader.jar
__________________
JD-Dev & Server-Admin |
#91
|
|||
|
|||
![]()
Hi Jiaz. Thanks for fast reply by mail. Unfortunatly using: (java -DsevenzipLibID=Linux-arm -Djava.awt.headless=true -jar JDownloader.jar &) did nothing new. Extraction still dont work on my NSA 325 v2.
using: (java -DsevenzipLibID=Linux-armpi -Djava.awt.headless=true -jar JDownloader.jar &) lead to "fatal error". (see log attached) ![]() It seems to search for /i-data/66cad9f2/admin/zy-pkgs/jd2/tmp/7zip/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so (see extraction log) I got no folder .../7zip/... ![]() Is there some possibility to to reinstall/paste the lib? Is there somebody having a working .../7zip/... folder? |
#92
|
||||
|
||||
![]()
Are you able to compile stuff on your device? I need a compiled version of the library on your system or you know a poper cross compile setup for it.
__________________
JD-Dev & Server-Admin |
#93
|
||||
|
||||
![]()
I am using JD 2 Beta since a couple of days into my Synology DS414, but I was wondering if we can add/enable any plugin like I used to do with JD 1 in Windows?
I gave a look at the Advanced Settings at http://my.jdownloader.org/ without understanding if everything is there or not... ![]() |
#94
|
||||
|
||||
![]()
@Cr4z33:
What do you wanna know? Normally you dont need to change any advanced Settings for My.JDownloader service. What do you mean by "add/enable any plugin"?
__________________
JD-Dev & Server-Admin |
#95
|
||||
|
||||
![]() Quote:
I would like to know if I can handle these options too now? |
#96
|
||||
|
||||
![]()
@cr4z33
there are no plugin enable/disable/tos stuff in JDownloader 2.0. JDownloader 2.0 caches required info into plugin cache, and effectively plugins are loaded when required. automatic extraction , crc check are core features and not directly linked to one plugin. If you want to change those features in the webui you will need to do it in advanced. use filter 'extract'
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 06.02.2015 at 16:33. |
#97
|
||||
|
||||
![]() Quote:
![]() |
#98
|
||||
|
||||
![]()
Added a wiki entry for direct Connection setup!
https://support.jdownloader.org/inde...anced-settings
__________________
JD-Dev & Server-Admin |
#99
|
|||
|
|||
![]()
EDIT!!!!: I'm stupid... it actually works anyway...
![]() I don't know why but I have problems running it :( When I started it up it ends with this error: Code:
Feb 11, 2015 6:53:33 PM org.appwork.utils.swing.EDTHelper.run EDTHelper.java:92 SEVERE: SEVERE Exception occurred java.lang.Exception: EventDispatchThread in headless mode!? at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:126) at org.appwork.utils.swing.EDTHelper.waitForEDT(EDTHelper.java:144) at org.appwork.utils.swing.EDTHelper.getReturnValue(EDTHelper.java:76) at org.jdownloader.update.gui.UpdateGuiWrapper.isVisible(UpdateGuiWrapper.java:103) at org.jdownloader.update.UpdateManager.isGuiVisible(UpdateManager.java:960) at org.jdownloader.updatev2.UpdateController.onResults(UpdateController.java:450) at org.jdownloader.update.UpdateManager$15.onResults(UpdateManager.java:1683) at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1485) at org.jdownloader.update.PendingUpdate.run(PendingUpdate.java:20) at org.jdownloader.update.UpdateManager$17.run(UpdateManager.java:1872) at java.lang.Thread.run(Thread.java:745) Last edited by X-Tornado; 11.02.2015 at 20:11. |
#100
|
||||
|
||||
![]()
@X-Tornado: can you zip your logs folder and send to support@jdownloader.org
JDownloader should ask you for my.jdownloader logins on console! Without logins JDownloader2 should not start at all!
__________________
JD-Dev & Server-Admin |
![]() |
Thread Tools | |
Display Modes | |
|
|