#1
|
|||
|
|||
Linux installer exception with updater
I am using a Synology NAS and did not have any problems 3-4 weeks ago.
Then there was the problem that my logins were not accepted. I removed the directory and started from scratch but now there seems to be a problem with the updater. See the attached log files. Please advise. Thanks. Last edited by Jiaz; 12.09.2022 at 10:23. |
#2
|
||||
|
||||
@jayer: What java version are you using? can you provide the output of java -version command?
have you downloaded a fresh copy of https://installer.jdownloader.org/JDownloader.jar The issue is caused by Quote:
anything special about your NAS setup? if you want we can take a look at this together, just contact us via support@jdownloader.org Also check for a different java version as this smells like a java/arm bug. try a java 1.8 or java 17 version if available
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 12.09.2022 at 15:48. |
#3
|
|||
|
|||
Yes I did download a new file from the installer site and started from scratch.
Here is my java version and synology model. I will try it with another java version, if I can manage to get this on my device. Code:
root@stfuplay:/volume1/@appdata# /usr/local/bin/java --version openjdk 11.0.12 2021-07-20 LTS OpenJDK Runtime Environment (build 11.0.12+7-LTS) OpenJDK Zero VM (build 11.0.12+7-LTS, interpreted mode) root@stfuplay:/volume1/@appdata# uname -a Linux stfuplay 3.10.108 #42661 SMP Mon Jun 27 15:04:06 CST 2022 armv7l GNU/Linux synology_monaco_ds216play root@stfuplay:/volume1/@appdata# oot@stfuplay:/volume1/@appdata# more /etc.defaults/VERSION majorversion="7" minorversion="1" major="7" minor="1" micro="0" productversion="7.1" buildphase="GM" buildnumber="42661" smallfixnumber="4" nano="4" base="42661" builddate="2022/07/26" buildtime="12:15:53" |
#4
|
||||
|
||||
@jayer: this is the cause, please install/use a proper java release/version. the zero vm is lacking any optimization(interpreted mode) and is noticable slow like hell and may cause other issues, eh like the one you just encounter.
Quote:
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 13.09.2022 at 10:54. |
#5
|
|||
|
|||
Thanks working now, using a new Java version.
:thumbup: Code:
root@stfuplay:/volume1/@appstore/komga/test# /usr/local/bin/java --version openjdk 18.0.2.1 2022-08-18 OpenJDK Runtime Environment Temurin-18.0.2.1+1 (build 18.0.2.1+1) OpenJDK Server VM Temurin-18.0.2.1+1 (build 18.0.2.1+1, mixed mode, sharing) |
#6
|
||||
|
||||
Thanks for the feedback and you're welcome!
You should switch to Java 11 or Java 17, Java 18 is no LTS release.
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
Ok I checked, actually I cannot control which Java version is installed.
It always uses the newest one. I am using the package from here for DSM7: **External links are only visible to Support Staff****External links are only visible to Support Staff**. |
#8
|
||||
|
||||
@jayer: but synology does provide Java package out-of-the-box or why using 3rd party installer? or did they remove java packages?
__________________
JD-Dev & Server-Admin |
#9
|
|||
|
|||
Yes they removed the package in DSM7. Most of the other users had to use the installation method from rednoah on github.
I am glad it works for now ;-) |
#10
|
||||
|
||||
It has been removed with DSM7 hence we've also updated our Synology instructions.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#11
|
|||
|
|||
Quote:
Option 1 to install Java does not work with DSM7. It complains that the package is not DSM7 compatible. Maybe you want to mention that this is only for DSM6. Option 2 works on DSM7 however it always installs the latest Java Version. I did not find any way to use this method and install e.g. Java 8. See also my comment above. Currently that is: Code:
openjdk 18.0.2.1 2022-08-18 OpenJDK Runtime Environment Temurin-18.0.2.1+1 (build 18.0.2.1+1) OpenJDK Server VM Temurin-18.0.2.1+1 (build 18.0.2.1+1, mixed mode, sharing) |
#12
|
||||
|
||||
Okay thanks! Didn't know that you cannot select the version.
__________________
JD-Dev & Server-Admin |
#13
|
||||
|
||||
Quote:
I've updated the instructions and added a hint that this option is only up to DSM6. The recommended option has been option 2 for quite some time now as it works for DSM6 and DSM7. Quote:
Our instructions never stated to install a specific Java version. Whenever "Java 8" is mentioned this is just because that was the only version "officially" available via DSM package center. I did not want users to accidentally install- or uninstall other Synology packages with similar names throughout those instructions so I tried to stick to the official package-name. Just in case there is a mistake or misleading part in our instructions please let me know so I can update this as well. That is already stated in our instructions. It has always been like that if we're talking about the open source "Java installer" by "rednoah". See his repo: github.com/rednoah/java-installer
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#14
|
||||
|
||||
It's no problem, just answer to
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|