JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #961  
Old 25.03.2016, 00: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, 11: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, 14: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, 15: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, 18: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, 18: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, 10: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, 01: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 01:33. Reason: pic
Reply With Quote
  #969  
Old 28.03.2016, 15:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,116
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, 18: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, 19: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 20:07.
Reply With Quote
  #972  
Old 29.03.2016, 14:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,116
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, 19: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, 19: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, 09:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,116
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, 04: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, 01:45
KingLui69
Guest
 
Posts: n/a
Default

@Cr4z33 thanks for tip with downgrade DSM.
Reply With Quote
  #978  
Old 03.04.2016, 18: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, 12:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,116
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, 14: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 15:04.
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 16:52.
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.