There appears to be a parallel issue:
Apparently:
Hello. I think the issue is in the committed file openhabian/functions/java-jre.bash.
line 49
javaPath=$(echo $downloadPath|sed ‘s|http://cdn.azul.com/zulu-embedded/bin/||’)
should be
javaPath=$(echo $downloadPath|sed ‘s|https://cdn.azul.com/zulu-embedded/bin/||’)
cause the url where the zulu package is downloaded is not http but https.
This also prevent on a fresh install to have openhab2 starting (since java is not correctly installed).
Best Regards.
Chic
In my installation, java-jre.bash appear sto be overwritten/reloaded so just editing the file did not work. I also tried a manual install of Zulu8 - also did not work.
This has resulted in a V1.5.1 release which fixes this issue:
@Xanox Nice temporary fix!
I saw on GitHub that EliasGabrielsson will make another release (v1.5.1) tonight with the patch implemented.
I am currently trying to locate V1.5.1
Unfortunately https://github.com/openhab/openhabian/releases points to 1.5. To get the updates you need
As usually will you get upgrades continuously by updating the tool from the openhabian-config
menu.
Trying this:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages were automatically installed and are no longer required:
rpi.gpio-common triggerhappy
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ java_install_or_update
openjdk version “1.8.0_181”
OpenJDK Runtime Environment (Zulu 8.31.1.122-linux_aarch32hf) (build 1.8.0_181-b122)
OpenJDK Client VM (Zulu 8.31.1.122-linux_aarch32hf) (build 25.181-b122, mixed mode, Evaluation)
$ systemctl stop openhab2.service
Failed to stop openhab2.service: Unit openhab2.service not loaded.
openjdk version “1.8.0_181”
OpenJDK Runtime Environment (Zulu 8.31.1.122-linux_aarch32hf) (build 1.8.0_181-b122)
OpenJDK Client VM (Zulu 8.31.1.122-linux_aarch32hf) (build 25.181-b122, mixed mode, Evaluation)
2019-10-17_21:35:14_AEST [openHABian] Installing Java Zulu 32-Bit OpenJDK…
$ wget -nv -O /tmp/openhabian.pVGPu/zulu8.tar.gz
http://: Invalid host name.
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
FAILED
[21:35:19] openhabian@openhab:~$
… and openhab-config exits ungracefully
I think I will go dig in the garden