JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #961  
Old 24.03.2016, 23:28
BartSz
Guest
 
Posts: n/a
Default

thanks for the replay. I managed to get it working after a long update. Now I'm having some problems with scripts that are suppose to start the jDownloader since they stopped working after this update.
Reply With Quote
  #962  
Old 25.03.2016, 10:31
Cr4z33's Avatar
Cr4z33 Cr4z33 is offline
Bandwidth Beast
 
Join Date: Jun 2009
Location: Italy
Posts: 145
Default

Right now the only workaround is what the Synology support told me by email:
Quote:
Dear Customer,

Thank you for contacting Synology support.

To enhance system security, root access to the DiskStation has be restricted since DSM 6.0 Beta 2:

For SSH
Root: Login with public key is allowed.
Users in Admin Group: Login with password or public key is allowed

For Telnet
Root: Login not allowed
Users in Admin Group: Login with password is allowed

To gain root access, you may log in the command line interface with any user accounts in the administrators group, and then run sudo -i in DSM 6.0 Beta 2.

Example:

$ ssh a@192.168.0.1 (User "a" belongs to the admin group)
a@192.168.0.1's password: (Enter the password of "a")
a@DiskStation:~$ sudo -i

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password: (Enter the password of "a")

Once in run the command
Code:
java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar &
or adapt the path to what you have in your NAS.
Reply With Quote
  #963  
Old 25.03.2016, 13:38
BartSz
Guest
 
Posts: n/a
Default

Yes this is the way you can do it but I'm trying to find a way to be able to run a script via online/graphic interface via task sheduler. It was working flawlesly in previous version 5.x but now in 6.0 the script isn't working and you cannot start jDownloader this way. The only way I have right now is to use ssh.

This also brings me to a question/request. Maby it would be possible to build a pkg/app for synology? It doesn't have to have a graphic interface, but only to start and stop jD to manage it via my.jdownlader website? Please
Reply With Quote
  #964  
Old 25.03.2016, 14:44
Cr4z33's Avatar
Cr4z33 Cr4z33 is offline
Bandwidth Beast
 
Join Date: Jun 2009
Location: Italy
Posts: 145
Smile

Quote:
Originally Posted by BartSz View Post
Yes this is the way you can do it but I'm trying to find a way to be able to run a script via online/graphic interface via task sheduler. It was working flawlesly in previous version 5.x but now in 6.0 the script isn't working and you cannot start jDownloader this way. The only way I have right now is to use ssh.

This also brings me to a question/request. Maby it would be possible to build a pkg/app for synology? It doesn't have to have a graphic interface, but only to start and stop jD to manage it via my.jdownlader website? Please
I too think that a script (with what I wrote above) would do the trick, but I am not skilled enough to do it.

I also think that a pkg would be easily 'defeated' by Synology with an update.
Reply With Quote
  #965  
Old 25.03.2016, 17:33
Cr4z33's Avatar
Cr4z33 Cr4z33 is offline
Bandwidth Beast
 
Join Date: Jun 2009
Location: Italy
Posts: 145
Default

In addition if you are using the .sh JDownloader script like me you have to correct also the Java binary file path (of course only if you have upgraded to DSM v6).
Reply With Quote
  #966  
Old 25.03.2016, 17:34
BartSz
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Cr4z33 View Post
I too think that a script (with what I wrote above) would do the trick, but I am not skilled enough to do it.
on the 3rd page of this thread you have an explanation how to do it and it's not that difficult... but now it works only via ssh.

Quote:
Originally Posted by Cr4z33 View Post
I also think that a pkg would be easily 'defeated' by Synology with an update.
if it was done by jDownloader dev team I think it would work
Reply With Quote
  #967  
Old 26.03.2016, 09:36
zoddel zoddel is offline
Super Loader
 
Join Date: Mar 2015
Posts: 25
Default

Hi all,
I wrote an installation guide around 1 year ago.
Install JDownloader 2 on your NAS (in 10 little steps)

Now, since the DS-Update, we all face little starting problems.
Lets find out how to fix the Script in my guide =)
Anyone an idea ?

The command "java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar &" is already used in it, but seams not to work.
Reply With Quote
  #968  
Old 28.03.2016, 00:15
KingLui69
Guest
 
Posts: n/a
Default

Am I right here?

|---------------------------Headless Information-------------------------------
| Exception Occured
| Exception occured
| An unexpected error occured.
| JDownloader will try to fix this. If this happens again, please contact our support.
| Stacktrace:
| java.awt.HeadlessException: No Dialogs in Headless Mode!
| at org.appwork.utils.swing.dialog.Dialog.showDialogRawOutsideEDT(Dialog.java:542)
| at org.appwork.utils.swing.dialog.Dialog.showDialogRaw(Dialog.java:512)
| at org.appwork.utils.swing.dialog.Dialog.showDialog(Dialog.java:496)
| at org.appwork.utils.swing.dialog.Dialog.showExceptionDialog(Dialog.java:645)
| at org.jdownloader.update.lastchance.LastChanceManager.run(LastChanceManager.java:128)
| at org.jdownloader.update.launcher.SecondLevelLauncher.init(SecondLevelLauncher.java:590)
| at org.jdownloader.update.launcher.SecondLevelLauncher.runMain(SecondLevelLauncher.java:271)
| at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:13)


Last edited by KingLui69; 28.03.2016 at 00:33. Reason: pic
Reply With Quote
  #969  
Old 28.03.2016, 14:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

@KingLui69: close JDownloader, zip your logs folder and send to support@jdownloader.org with reference to this thread
__________________
JD-Dev & Server-Admin
Reply With Quote
  #970  
Old 28.03.2016, 17:50
KingLui69
Guest
 
Posts: n/a
Default

Hallo

Habe JD zum laufen gebracht durch diesen thread **External links are only visible to Support Staff**...

Man muss das Java von Synology installieren und updaten, reboot machen und dann mit
Quote:
java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar -norestart &
mit root rechten starten.

Habe JD über Paketzentrum neu installiert lässt sich dort nicht starten.
Reply With Quote
  #971  
Old 28.03.2016, 18:58
KingLui69
Guest
 
Posts: n/a
Default

Hab nicht gewusst keine externen link
**External links are only visible to Support Staff**
Quote:
ch habe eine DS213J, und ja, hatte anfangs das Java 1.8.0_60 von Synology benutzt. Damit lief der JDownloader erstmal (ohne Hashcheck), aber die Performance war grottig ist mir dann später aufgefallen (Grund ist anscheinend das es kein Oracle Java ist), aber wenn man das Synology Java 8 Updated (DSM einloggen, oben links auf den Button damit man die ganzen installierten Programme sieht, Java Icon drücken, Aktualisieren wie es beschrieben wird) dann Updated man auf die neueste Oracle Version. Performance ist viel besser dann. Ob der JDownloader Hashcheck jetzt wieder läuft weiß ich nicht, habe ich deaktiviert als ich Java 1.8.0_60 drauf hatte.
root rechte https://board.jdownloader.org/showpost.php?p=366898&postcount=962
Paketzentrum https://board.jdownloader.org/showthread.php?t=65599
ich hoffe damit geholfen zu haben wenn auch nur Deutsch.

Last edited by KingLui69; 28.03.2016 at 19:07.
Reply With Quote
  #972  
Old 29.03.2016, 13:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

@KingLui: die verwendete Java Variante war unvollständig/fehlerhaft,
java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES/CBC/PKCS5Padding
Root sollte nicht nötig sein
__________________
JD-Dev & Server-Admin
Reply With Quote
  #973  
Old 29.03.2016, 18:07
KingLui69
Guest
 
Posts: n/a
Default

@Jiaz: ja es geht ohne root mit admin testet.

Aber im Pakt-Zentrum lässt es sich nicht ausführen, Status springt nach ein paar Sek. auf angehalten. Dies Problem haben noch Div. User.
Ich kann den Dienst jedoch stoppen.

muss es also mit PuTTY starten.
Reply With Quote
  #974  
Old 29.03.2016, 18:13
Cr4z33's Avatar
Cr4z33 Cr4z33 is offline
Bandwidth Beast
 
Join Date: Jun 2009
Location: Italy
Posts: 145
Default

I followed **External links are only visible to Support Staff**this German tutorial on how to unoficially and at your own risk downgrade DSM.

In my case it was from DSM v6.0 to v5.2.
I had to change a little the edits in /etc.defaults/VERSION, but then it worked great.

Now I have JD working normally like before without having to struggle!

You might find some English tutorial by searching on Google.
Reply With Quote
  #975  
Old 30.03.2016, 08:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

I think its only matter of time till the package will be updated to work fine with newer DSM versions.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #976  
Old 02.04.2016, 03:32
Spawny
Guest
 
Posts: n/a
Default

hey Jiaz,
kannst du bitte mal über mein log schaun, warum er nich startet?

**External links are only visible to Support Staff**Putty
**External links are only visible to Support Staff**jDownloader

java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) Client VM (build 25.77-b03, mixed mode)

Hat auch alles einwandfrei bis zum Update auf DSM 6.0 funktioniert

thx schonmal
Reply With Quote
  #977  
Old 03.04.2016, 00:45
KingLui69
Guest
 
Posts: n/a
Default

@Cr4z33 thanks for tip with downgrade DSM.
Reply With Quote
  #978  
Old 03.04.2016, 17:17
zoddel zoddel is offline
Super Loader
 
Join Date: Mar 2015
Posts: 25
Default

Quote:
Originally Posted by zoddel View Post
Hi all,
I wrote an installation guide around 1 year ago.
**External links are only visible to Support Staff**...

Now, since the DS-Update, we all face little starting problems.
Lets find out how to fix the Script in my guide =)
Anyone an idea ?

The command "java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar &" is already used in it, but seams not to work.
Problems solved.

1. I uninstalled my JD2 (the version of my old guide)
2. I installed JD2 from [GUIDE] JDownloader 2 on Synology
Reply With Quote
  #979  
Old 04.04.2016, 11:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

@Spawny: log enthält keinen einzigen Fehler. Ich tippe auf fehlerhafte Java Version.
Ich würde vorschlagen Java und JD runter und nochmal frisch drauf. DSM6 scheint viele Probleme zu machen
__________________
JD-Dev & Server-Admin
Reply With Quote
  #980  
Old 08.04.2016, 13:53
BartSz
Guest
 
Posts: n/a
Default

Hi,

I am having problems accessing Downloads tab on myjdownloader running on Synology. Whenever I try to access it I'm getting an INTERNAL_SERVER_ERROR message. I tried to restart and it did't help. Any Ideas?

Last edited by BartSz; 08.04.2016 at 14:04.
Reply With Quote
  #981  
Old 08.04.2016, 14:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

Use a full java version, you are using a headless-java version that does not provide any fonts and thats not supported yet (workarounds will be added with next core update). simply grab a full java version (eg from oracle) and use that one
__________________
JD-Dev & Server-Admin
Reply With Quote
  #982  
Old 08.04.2016, 14:27
BartSz
Guest
 
Posts: n/a
Default

but it was working flawlessly for a month and now today it stopped. I did't change anything. Am I suppose install new java?

Every other tab works well.
Reply With Quote
  #983  
Old 08.04.2016, 14:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

I guess you never added a link that has no favicon and JDownloader had to create dummy icon -> crash.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #984  
Old 08.04.2016, 14:57
BartSz
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
I guess you never added a link that has no favicon and JDownloader had to create dummy icon -> crash.
yes! this is exactly what happened. So...

am I suppose to wait for it to download and clean itself after restart, wait for the update (is it coming soon?) or install java.

I had installed Java from oracle (I think) but I'm using a script described in this thread to run jD in headless mode. Maybe I could change that? I'm not that familiar with command line java.

edit1: maybe there is a way to manually force clean all downloads to start over knowing about this bug?

Last edited by BartSz; 08.04.2016 at 15:10.
Reply With Quote
  #985  
Old 08.04.2016, 15:19
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

simply starting it with oracle java should be enough. check webinterface, settings -system info button
__________________
JD-Dev & Server-Admin
Reply With Quote
  #986  
Old 08.04.2016, 15:48
BartSz
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
simply starting it with oracle java should be enough. check webinterface, settings -system info button
Linux (LINUX 32Bit) (arm 32Bit)
Java

1.8.0_60-b24 (32Bit) (headless)
Heap

19.8 MB / 32.75 MB / 334.5 MB


it is headless. So how can I install/run it in non headless? I have no idea how to do it since the only way I found online is via Synology Java manager.
Reply With Quote
  #987  
Old 08.04.2016, 15:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

headless here means someting else. Can you login via ssh/putty and enter java -version and show output here? it should state oracle
__________________
JD-Dev & Server-Admin
Reply With Quote
  #988  
Old 08.04.2016, 16:00
BartSz
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
headless here means someting else. Can you login via ssh/putty and enter java -version and show output here? it should state oracle
openjdk version "1.8.0_60"
OpenJDK Runtime Environment (IcedTea 3.0.0pre06) (linux-gnu build 1.8.0_60-b24)
OpenJDK Zero VM (build 25.60-b23, interpreted mode)
Reply With Quote
  #989  
Old 08.04.2016, 16:11
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

Bitte die JVM/JDK von Oracle nutzen und damit starten, dann geht alles ganz normal.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #990  
Old 08.04.2016, 16:54
BartSz
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
Bitte die JVM/JDK von Oracle nutzen und damit starten, dann geht alles ganz normal.
ok I managed to use oracle Java and it works. Thank you.
Reply With Quote
  #991  
Old 09.04.2016, 11:43
LotF
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by zoddel View Post
[...]
thanks for your effort! I tried your script from page 10 and are facing some issues. I am running Snyology DSM 6 with Java 8 (updated to latest version) and installed jdownloader.jar via putty manually. Running good so far. Now I used your script and eddited the start up line to:

nohup su -c "/volume1/@appstore/Java8/j2sdk-image/bin/java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar &" jdownloader

the passwd is pointing to the homes folder of jdownloader assigned by DSM and I changed it to /bin/sh with vi command and closed with :wq. When I start the script via putty it works. But after a reboot jdownloader is not running and the passwd is back to "/sbin/nologin" in the file. After running the script with putty (root) vi is still showing "/bin/sh", though.

Now my question(s)is: how to fix this and while looking for an answer I am asking myself: why do I need a script? Can't I just use the application start app in DSM with the startup line from the script or is there a "script advantage" and in this context, neither the link to the sh file nore the startup line from the script are working for me in the DSM schedule (started/tried manually as jdownloader and admin, also just tried "/volume1/@appstore/Java8/j2sdk-image/bin/java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar &" for both)

I am absolutly not familiar with putty/ssh/vi stuff, just want to have a stable jdownloader which does not have to be started manually (all the time). Thus I appreciate any step by step instruction, thanks
Reply With Quote
  #992  
Old 11.04.2016, 11:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

Should be possible to use the start stuff from DSM, no need to special script
I suggest to edit /etc/rc.local and place your code there
for easy workaround, just use
Quote:
nohup /volume1/@appstore/Java8/j2sdk-image/bin/java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar &
that way the script will be executed as root (not recommended)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #993  
Old 22.04.2016, 19:46
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

can I use jdownloader-headless on my LAN without myjdownloader ?
like a local webui?
Reply With Quote
  #994  
Old 22.04.2016, 20:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

@rezad: MyJDownloader does provide a direct connection mode so all traffic is directly between you and your JDownloader. MyJDownloader is the official remote control/webinterface solution. The api is open/documented and everyone is free to code own tools/apps/remote control sollutions for it. There exists also a deprecated api (same as myjdownloader but missing all authentiction/encryption layers).
__________________
JD-Dev & Server-Admin
Reply With Quote
  #995  
Old 23.04.2016, 10:41
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

I don't understand.
what do you mean it has a mode?
myjdownlader is a website that my jdownloader connect to, right?
when I run jdownloader headless, it asks for my user and pass of myjdownloader or it exits.
what should I do so that it runs without those and how do I connect to it?
it doesn't have a webui (local) does it?
Reply With Quote
  #996  
Old 23.04.2016, 19:29
Wolf666
Guest
 
Posts: n/a
Default

@rezad
Check:
https://support.jdownloader.org/Know...-jdownloader-2

https://support.jdownloader.org/inde...anced-settings

Last edited by Wolf666; 23.04.2016 at 19:32.
Reply With Quote
  #997  
Old 25.04.2016, 10:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

@rezad: https://my.jdownloader.org is the website interface for the MyJDownloader service that is powered by api.jdownloader.org. You can code your own tools/clients to connect to api.jdownloader.org or use the deprecated api like I described in post above.
There does not exist a local webinterface. You will have to develop it yourself
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 25.04.2016 at 10:53.
Reply With Quote
  #998  
Old 11.05.2016, 15:58
BartSz
Guest
 
Posts: n/a
Default

hi,

why is there an "split packets by hoster" option missing from linkcollector->right click->more

is it temporary or you decided to cancel it?
Reply With Quote
  #999  
Old 11.05.2016, 16:14
mrc's Avatar
mrc mrc is offline
Guardian of the Droids
 
Join Date: Jan 2013
Location: Germany
Posts: 288
Default

@BartSz:
the split by hoster command is included in the update I'm currently building. It will go live in a few minutes
__________________
My.JDownloader.org Web Interface | Android App | Browser Extensions [Feedback Thread]
Reply With Quote
  #1000  
Old 24.05.2016, 16:35
Megamanwwh
Guest
 
Posts: n/a
Default

I forgot my Password @MyDownlaoder, now i think i have to chanche it on my NAS, but i dont how to..?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 00:48.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.