Problem installing Java Installer on Synology NAS

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
Asbjørn
Posts: 1
Joined: 15 Jan 2019, 21:04

Problem installing Java Installer on Synology NAS

Post by Asbjørn » 15 Jan 2019, 21:24

I recently bought a Synology NAS DS 213. I have tried several times to install Java 8, so that I can use BubbleUpnP server on the NAS. Each time I try to install the Java 8 Installer from Rednoah I get this annoying error "Ups something went wrong". I read somewhere that it might help to change the DNS server to google DNS-servers, so I did both on my router and the NAS, but it didnt help.

Can someone please tell me what the problem might be and how I can fix it? I am a total newbie in this area btw.

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 16 Jan 2019, 02:33

Can you log into the NAS via SSH to check the log file?
:idea: Please read the FAQ and How to Request Help.

algundesconsiderado
Posts: 1
Joined: 18 Apr 2019, 12:40

Re: Problem installing Java Installer on Synology NAS

Post by algundesconsiderado » 18 Apr 2019, 17:30

Hi,
I'm having the same issue as Asbjørn,
My log show the following:

Code: Select all

Hi,
I'm having the same issue as Asbjørn, 
My log show the following:

[email protected]:~# cat /volume1/@appstore/java-8-installer/install-jdk.log
cat: /volume1/@appstore/java-8-installer/install-jdk.log: No such file or directory
[email protected]:~# cat /volume1/@appstore/java-8-installer/install-jdk.log
Warning: Illegal date format for -z, --time-cond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   862  100   862    0     0    165      0  0:00:05  0:00:05 --:--:--   204
cmp: EOF on /volume1/@appstore/java-8-installer/get-java.sh.asc
[Thu Apr 18 19:11:58 CEST 2019] AUTO UPDATE
Warning: Illegal date format for -z, --time-cond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2520  100  2520    0     0    474      0  0:00:05  0:00:05 --:--:--   760
gpg: keyring `/volume1/@appstore/java-8-installer/.gnupg/pubring.gpg' created
gpg: Signature made Wed Jan 16 09:50:29 2019 CET using RSA key ID 7C3C6A71
gpg: /volume1/@appstore/java-8-installer/.gnupg/trustdb.gpg: trustdb created
gpg: key 7C3C6A71 marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "Reinhard Pointner <[email protected]>" [ultimate]
[GNUPG:] TRUST_ULTIMATE
Download http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
jdk-8u201-linux-x64.tar.gz: No such file or directory
Expected SHA256 checksum: cb700cc0ac3ddc728a567c350881ce7e25118eaf7ca97ca9705d4580c506e370
Actual SHA256 checksum: 
ERROR: SHA256 checksum mismatch
[Thu Apr 18 19:12:20 CEST 2019] Add environment variables to /etc/profile
I've tried to download it manually from https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html (and I got it!) but I don't know what to do after that or where to leave it.

Thank you!

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 18 Apr 2019, 17:50

Oracle disabled downloads for the last free Java 8 packages, so the java installer package is broken for the foreseeable future.

You'll have to install java yourself now, which means you download it, extract it, and then link the java executable into the $PATH.
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 47
Joined: 20 May 2017, 17:51

Re: Problem installing Java Installer on Synology NAS

Post by Predator2912 » 19 Apr 2019, 18:18

Hi

Since your installer does not work anymore, I wanted to use the post to ask you which java package i have to download for my NAS system?

Java SE Development Kit 8u212
jdk-8u212-linux-x64.tar.gz

or

Java SE Development Kit 8u211
jdk-8u211-linux-x64.tar.gz

or wich one?

Code: Select all

filebot -script 'fn:sysinfo'

------------------------------------------

FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 17.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-04-09 (r559)
Groovy: 2.5.6
JRE: Java(TM) SE Runtime Environment 1.8.0_131
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 4 GB Max Memory / 20 MB Used Memory
OS: Linux (amd64)
HW: Linux MadM4x-NAS 3.10.105 #23824 SMP Tue Feb 12 16:50:45 CST 2019 x86_64 GNU/Linux synology_braswell_916+
DATA: /volume1/@appstore/filebot/data/admin
Package: SPK
License: FileBot License  (Valid-Until: 2019-09-24)
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]

Code: Select all

[email protected]:~# java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
[email protected]:~# 

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 19 Apr 2019, 18:52

I have updated the java-installer package to install Java 12 builds from OpenJDK or Liberica. It's already in the package sources.

:idea: Experience may vary depending on your platform. Works on my aarch64 QNAP but crashes on my armv7l Synology DSM.
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 47
Joined: 20 May 2017, 17:51

Re: Problem installing Java Installer on Synology NAS

Post by Predator2912 » 20 Apr 2019, 19:29

Thank you.

I will test it as soon as I have the time.

xIntenso
Posts: 22
Joined: 14 Jan 2018, 23:39

Re: Problem installing Java Installer on Synology NAS

Post by xIntenso » 21 Apr 2019, 11:28

I'm having this same issue, even with the new v1.9 isntaller.

My Logfile shows a SHA256 mismatch when trying to install:

Code: Select all

Warning: Illegal date format for -z, --time-cond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   862  100   862    0     0   3701      0 --:--:-- --:--:-- --:--:--  3699
cmp: EOF on /volume1/@appstore/java-installer/get-java.sh.asc
Sun Apr 21 13:27:13 CEST 2019: AUTO UPDATE
Warning: Illegal date format for -z, --time-cond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  3529  100  3529    0     0  15124      0 --:--:-- --:--:-- --:--:-- 15211
gpg: keyring `/volume1/@appstore/java-installer/.gnupg/pubring.gpg' created
gpg: Signature made Fri Apr 19 17:29:13 2019 CEST using RSA key ID 7C3C6A71
gpg: /volume1/@appstore/java-installer/.gnupg/trustdb.gpg: trustdb created
gpg: key 7C3C6A71 marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "Reinhard Pointner <[email protected]>" [ultimate]
[GNUPG:] TRUST_ULTIMATE
Download https://download.bell-sw.com/java/12.0.1/bellsoft-jdk12.0.1-linux-aarch64.tar.gz
Expected SHA256 checksum: 7dade4567a8a518e9d477e24256421293c48dfa47e9940b9788416f55b1baa84
Actual SHA256 checksum: 037177804b80177edcbab30c5612f0fc13e611f6d9287642c831f00b9b7fe188
ERROR: SHA256 checksum mismatch
My system is aarch64, a DS218play.

xIntenso
Posts: 22
Joined: 14 Jan 2018, 23:39

Re: Problem installing Java Installer on Synology NAS

Post by xIntenso » 21 Apr 2019, 11:54

I've got it working using a temporary hack.

Step 1: Try to install the Java Installer package from the package center and don't uninstall when it fails.

Step 2: SSH into your NAS and navigate to /volume1/@appstore/java-installer/

Step 3: Bypass the SHA256 check in get-java.sh by changing line 73 of the script to:

Code: Select all

if [ "SHA256" != "SHA256" ]; then
I used Nano for this, because I have the Nano package from SynoCommunity installed, but any sudo'd text editor will work.

Step 4: Run the installer:

Code: Select all

sudo ./get-java.sh install jdk
Step 5: Do not uninstall the broken package, it will also remove Java along with it.
Edit: Also, the package no longer shows as broken for me after running it like this. Your mileage may vary.

FileBot now works perfectly, except you always get the following warning at the start:

Code: Select all

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/volume1/@appstore/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 21 Apr 2019, 12:28

Checksum Fixed.
:idea: Please read the FAQ and How to Request Help.

xIntenso
Posts: 22
Joined: 14 Jan 2018, 23:39

Re: Problem installing Java Installer on Synology NAS

Post by xIntenso » 21 Apr 2019, 20:27

Thank you for being as fast as always! :)
I tried uninstalling and reinstalling, and can confirm it now works perfectly.

longdagger
Posts: 1
Joined: 27 Apr 2019, 06:03

Re: Problem installing Java Installer on Synology NAS

Post by longdagger » 27 Apr 2019, 06:05

I have a problem installing. Based on the logs, seems that the link to download the targz is broken.

True enough, tested on browser, this file does not exist
https://download.java.net/java/GA/jdk12 ... bin.tar.gz

Code: Select all

cat install-java.log
Warning: Illegal date format for -z, --time-cond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   862  100   862    0     0   2619      0 --:--:-- --:--:-- --:--:--  2628
cmp: EOF on /volume1/@appstore/java-installer/get-java.sh.asc
Sat Apr 27 13:53:18 +08 2019: AUTO UPDATE
Warning: Illegal date format for -z, --time-cond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3553  100  3553    0     0  10387      0 --:--:-- --:--:-- --:--:-- 10419
gpg: keyring `/volume1/@appstore/java-installer/.gnupg/pubring.gpg' created
gpg: Signature made Wed Apr 24 18:35:48 2019 +08 using RSA key ID 7C3C6A71
gpg: /volume1/@appstore/java-installer/.gnupg/trustdb.gpg: trustdb created
gpg: key 7C3C6A71 marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "Reinhard Pointner <[email protected]>" [ultimate]
[GNUPG:] TRUST_ULTIMATE
Download https://download.java.net/java/GA/jdk12.0.1/69cfe15208a647278a19ef0990eea691/12/GPL/openjdk-12.0.1_linux-x64_bin.tar.gz
curl: (51) SSL: no alternative certificate subject name matches target host name 'download.java.net'
openjdk-12.0.1_linux-x64_bin.tar.gz: No such file or directory
Expected SHA256 checksum: 151eb4ec00f82e5e951126f572dc9116104c884d97f91be14ec11e85fc2dd626
Actual SHA256 checksum:
ERROR: SHA256 checksum mismatch

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 27 Apr 2019, 06:08

Looks like the official download links are all broken:
https://jdk.java.net/12/

Also, SSL certificate is broken:

Code: Select all

curl: (51) SSL: no alternative certificate subject name matches target host name 'download.java.net'

:arrow: Most likely a temporary issue that'll be fixed soon, or well, maybe at least by Monday afternoon.
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 47
Joined: 20 May 2017, 17:51

Re: Problem installing Java Installer on Synology NAS

Post by Predator2912 » 29 Apr 2019, 16:42

rednoah wrote:
27 Apr 2019, 06:08

:arrow: Most likely a temporary issue that'll be fixed soon, or well, maybe at least by Monday afternoon.
Now it works again.
But i have the following Error Message.

Code: Select all

filebot -script 'fn:sysinfo'

------------------------------------------

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/volume1/@appstore/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 17.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-04-23 (r560)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 12.0.1
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 5 GB Max Memory / 18 MB Used Memory
OS: Linux (amd64)
HW: Linux MadM4x-NAS 3.10.105 #23824 SMP Tue Feb 12 16:50:45 CST 2019 x86_64 GNU/Linux synology_braswell_916+
DATA: /volume1/@appstore/filebot/data/admin
Package: SPK
License: FileBot License  (Valid-Until: 2019-09-24)
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]
install-java.log

Code: Select all

Warning: Illegal date format for -z, --time-cond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
cmp: EOF on /volume1/@appstore/java-installer/get-java.sh.asc
Mon Apr 29 18:00:13 CEST 2019: AUTO UPDATE
Warning: Illegal date format for -z, --time-cond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
gpg: keyring `/volume1/@appstore/java-installer/.gnupg/pubring.gpg' created
gpg: Signature made Wed Apr 24 12:35:48 2019 CEST using RSA key ID 7C3C6A71
gpg: /volume1/@appstore/java-installer/.gnupg/trustdb.gpg: trustdb created
gpg: key 7C3C6A71 marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "Reinhard Pointner <[email protected]>" [ultimate]
[GNUPG:] TRUST_ULTIMATE
Download https://download.java.net/java/GA/jdk12.0.1/69cfe15208a647278a19ef0990eea691/12/GPL/openjdk-12.0.1_linux-x64_bin.tar.gz
Expected SHA256 checksum: 151eb4ec00f82e5e951126f572dc9116104c884d97f91be14ec11e85fc2dd626
Actual SHA256 checksum: 151eb4ec00f82e5e951126f572dc9116104c884d97f91be14ec11e85fc2dd626
Extract openjdk-12.0.1_linux-x64_bin.tar.gz


Execute /volume1/@appstore/java-installer/jdk-12.0.1/bin/java -XshowSettings -version
VM settings:
    Max. Heap Size (Estimated): 1.93G
    Using VM: OpenJDK 64-Bit Server VM

Property settings:
    awt.toolkit = sun.awt.X11.XToolkit
    file.encoding = ANSI_X3.4-1968
    file.separator = /
    java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
    java.class.path =
    java.class.version = 56.0
    java.home = /volume1/@appstore/java-installer/jdk-12.0.1
    java.io.tmpdir = /tmp
    java.library.path = /usr/java/packages/lib
        /usr/lib64
        /lib64
        /lib
        /usr/lib
    java.runtime.name = OpenJDK Runtime Environment
    java.runtime.version = 12.0.1+12
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 12
    java.vendor = Oracle Corporation
    java.vendor.url = https://java.oracle.com/
        java.vendor.url.bug = https://bugreport.java.com/bugreport/
    java.version = 12.0.1
    java.version.date = 2019-04-16
    java.vm.compressedOopsMode = 32-bit
    java.vm.info = mixed mode, sharing
    java.vm.name = OpenJDK 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 12
    java.vm.vendor = Oracle Corporation
    java.vm.version = 12.0.1+12
    jdk.debug = release
    line.separator = \n
    os.arch = amd64
    os.name = Linux
    os.version = 3.10.105
    path.separator = :
    sun.arch.data.model = 64
    sun.boot.library.path = /volume1/@appstore/java-installer/jdk-12.0.1/lib
    sun.cpu.endian = little
    sun.io.unicode.encoding = UnicodeLittle
        java.specification.version = 12
    java.vendor = Oracle Corporation
    java.vendor.url = https://java.oracle.com/
    java.vendor.url.bug = https://bugreport.java.com/bugreport/
    java.version = 12.0.1
    java.version.date = 2019-04-16
    java.vm.compressedOopsMode = 32-bit
    java.vm.info = mixed mode, sharing
    java.vm.name = OpenJDK 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 12
    java.vm.vendor = Oracle Corporation
    java.vm.version = 12.0.1+12
    jdk.debug = release
    line.separator = \n
    os.arch = amd64
    os.name = Linux
    os.version = 3.10.105
    path.separator = :
    sun.arch.data.model = 64
    sun.boot.library.path = /volume1/@appstore/java-installer/jdk-12.0.1/lib
    sun.cpu.endian = little
    sun.io.unicode.encoding = UnicodeLittle
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = ANSI_X3.4-1968
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    user.country = US
    user.dir = /volume1/@appstore/java-installer
    user.home = /root
    user.language = en
    user.name = root

Locale settings:
    default locale = English (United States)
    default display locale = English (United States)
    default format locale = English (United States)


Operating System Metrics:
    Provider: cgroupv1
    Effective CPU Count: 4
    CPU Period: 0us
    CPU Quota: 0us
    CPU Shares: -1
    List of Processors, 4 total:
    0 1 2 3
    List of Effective Processors, 0 total:
        List of Memory Nodes, 1 total:
    0
    List of Available Memory Nodes, 0 total:
        CPUSet Memory Pressure Enabled: false
    Memory Limit: Unlimited
    Memory Soft Limit: Unlimited
    Memory & Swap Limit: Unlimited
    Kernel Memory Limit: 0.00K
    TCP Memory Limit: 0.00K
    Out Of Memory Killer Enabled: true

openjdk version "12.0.1" 2019-04-16
OpenJDK Runtime Environment (build 12.0.1+12)
OpenJDK 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
Mon Apr 29 18:00:53 CEST 2019: Add environment variables to /etc/profile

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 29 Apr 2019, 17:06

What error message? Looks like it's working.
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 47
Joined: 20 May 2017, 17:51

Re: Problem installing Java Installer on Synology NAS

Post by Predator2912 » 29 Apr 2019, 18:05

Is this normally?

Code: Select all

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/volume1/@appstore/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Before installing Java 12 it wouldn't show under Filebot-Node Systeminfo...

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 29 Apr 2019, 18:28

Just a warning you can ignore. That one can't be helped with any Java 9+ runtime.
:idea: Please read the FAQ and How to Request Help.

sanfly
Posts: 6
Joined: 11 May 2019, 10:37

Re: Problem installing Java Installer on Synology NAS

Post by sanfly » 11 May 2019, 10:42

I'm also have issues installing the Java Installer. It seems to install but then says that an error occurred and it needs to be fixed.

When I look in DSM > Log Centre it says that Java Installer was successfully installed.

I am unsure where to find the other logs as people have posted in this thread previously. I'm comfortable enough using command line, I just don't know where to go!

Can anyone assist?

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 11 May 2019, 11:17

What does the log say?

You can find the log with the find command:

Code: Select all

$ find / -iname '*.log' 2>&1 | grep java
/volume1/@appstore/java-installer/install-java.log
You can then read the log with cat which probably requires permissions so we use sudo for that:

Code: Select all

sudo cat /volume1/@appstore/java-installer/install-java.log
:idea: Please read the FAQ and How to Request Help.

sanfly
Posts: 6
Joined: 11 May 2019, 10:37

Re: Problem installing Java Installer on Synology NAS

Post by sanfly » 12 May 2019, 00:39

Thanks for the direction :)

Code: Select all

Warning: Illegal date format for -z, --time-cond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   862  100   862    0     0    818      0  0:00:01  0:00:01 --:--:--   820
cmp: EOF on /volume1/@appstore/java-installer/get-java.sh.asc
Sun May 12 14:31:36 NZST 2019: AUTO UPDATE
Warning: Illegal date format for -z, --time-cond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3553  100  3553    0     0   3745      0 --:--:-- --:--:-- --:--:--  3747
gpg: keyring `/volume1/@appstore/java-installer/.gnupg/pubring.gpg' created
gpg: Signature made Wed Apr 24 22:35:48 2019 NZST using RSA key ID 7C3C6A71
gpg: /volume1/@appstore/java-installer/.gnupg/trustdb.gpg: trustdb created
gpg: key 7C3C6A71 marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "Reinhard Pointner <[email protected]>" [ultimate]
[GNUPG:] TRUST_ULTIMATE
Architecture not supported: Linux armv5tel
Sun May 12 14:31:38 NZST 2019: Add environment variables to /etc/profile

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 12 May 2019, 04:41

You're out of luck. armv5tel is generally not supported by any recent Java release:

Code: Select all

Architecture not supported: Linux armv5tel
:idea: You might be able to find older Oracle Java 8 Embedded builds though.
:idea: Please read the FAQ and How to Request Help.

sanfly
Posts: 6
Joined: 11 May 2019, 10:37

Re: Problem installing Java Installer on Synology NAS

Post by sanfly » 12 May 2019, 05:10

Thanks, perhaps the push I needed to update my 7 year old NAS?

In the meantime I might investigate shifting these tasks to my Raspberry Pi...

User avatar
rednoah
The Source
Posts: 16420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem installing Java Installer on Synology NAS

Post by rednoah » 12 May 2019, 05:27

It's just bad luck with CPU architecture. Compatibility wasn't a concern for earlier arm processors.

In any case, make sure to upgrade to an aarch64 device if you do. That'll be around for a while.
:idea: Please read the FAQ and How to Request Help.

Post Reply