openHAB not coming up on brand new openHABian installation - Java Zulu 11 fails to install

  • Platform information:
    Release = Raspbian GNU/Linux 10 (buster) - (openHABian image)
    Kernel = Linux 5.10.63-v7l+
    Platform = Raspberry Pi 4 Model B Rev 1.1

Yesterday I did a system upgrade on my Raspberry and suddendly openhab stopped working. I had a message about how Java Zulu could not be installed, so I tried to install it from within openhabian-config again but nothing worked. I tried also undoing the upgrade of the packages that had been done right before but still nothing.

As I had a backup of the openHAB config (but not the whole system, I’m still getting familiar/learning about that), I thought about flashing a new card but it seems not even the brand new installations work. I have tried the openHABian images for versions 1.6.2b (it was the one I had originally on my system before the upgrade), 1.6.5 and 1.6.6 but all of them have openHAB not coming up after the installation finishes. I do have an ethernet cable connected to the Raspberry

Trying to start the service with sudo systemctl start openhab.service does not show any info and starting using opehab-cli gives the following output:

openhabian@openhabian:~ $ sudo openhab-cli start --debug

A systemd service configuration exists...
Use 'sudo /bin/systemctl start openhab.service' to start an openHAB service
Launching an instance in this terminal..
Launching the openHAB runtime...
java command not found

And checking the status of the service gives the following:

openhabian@openhabian:~ $ sudo systemctl status openhab.service
● openhab.service - openHAB instance, reachable at http://openhabian:8080
   Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/openhab.service.d
           └─override.conf
   Active: activating (auto-restart) (Result: exit-code) since Sun 2021-10-31 20:18:27 CET; 971ms ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
  Process: 14935 ExecStart=/usr/share/openhab/runtime/bin/karaf ${OPENHAB_STARTMODE} (code=exited, status=1/FAILURE)
 Main PID: 14935 (code=exited, status=1/FAILURE)

I also tried the installation of the Java Zulu 11 as I know that is what was causing me issues on my original card. But I get the same error on the new card as on the original one (I’m using menu option 45 - Zulu 11 OpenJDK 32bit).

openhabian@openhabian:~ $ sudo openhabian-config
2021-10-31_20:21:12_CET [openHABian] Checking for root privileges... OK
2021-10-31_20:21:13_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-10-31_20:21:13_CET [openHABian] openHABian configuration tool version: [main]{2021-10-26T12:40:19+02:00}(96fe0a0)
2021-10-31_20:21:13_CET [openHABian] Checking for changes in origin branch main... OK
2021-10-31_20:21:15_CET [openHABian] Switching to branch main... OK
2021-10-31_20:21:52_CET [openHABian] Updating Linux package information... OK
2021-10-31_20:21:52_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-10-31_20:21:52_CET [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... FAILED (download)
find: ‘/opt/jdk/*/bin’: No such file or directory
find: ‘...’: No such file or directory
find: ‘/opt/jdk/*/lib’: No such file or directory
find: ‘...’: No such file or directory
2021-10-31_20:21:53_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-10-31_20:21:53_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... FAILED (download)
2021-10-31_20:21:54_CET [openHABian] Somewhere, somehow, something went wrong and Java has not been installed. Until resolved, openHAB will be broken.

On the new card, I tried reinstalling openHAB and got the following again

openhabian@openhabian:~ $ sudo apt install --reinstall openhab
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 98.7 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable/main armhf openhab all 3.1.0-1 [98.7 MB]
Fetched 98.7 MB in 9s (10.7 MB/s)
(Reading database ... 53656 files and directories currently installed.)
Preparing to unpack .../openhab_3.1.0-1_all.deb ...
Unpacking openhab (3.1.0-1) over (3.1.0-1) ...
Setting up openhab (3.1.0-1) ...

[openHAB] WARNING: We were unable to detect Java 11 on your system. This is needed before openHAB can be started.
[openHAB] Please install the current version of Java 11 or check the openHAB documentation for details.
[openHAB] openHAB was not running so will not start after upgrade.
[openHAB] Please use the command:
            sudo /bin/systemctl start openhab.service

Processing triggers for systemd (241-7~deb10u8+rpi1) ...
Updating FireMotD available updates count ...

So it looks like I definitely have an issue with the Java installation, but no idea how to get it other than using the option in the openhabian-config menu. Any ideas on what I need to do to get openHAB up? Not sure if the attached logs are enough, let me know if something else is needed.

Follow the steps under create-a-debug-log and try to install Java via the openhabian-config menu again.
As long as the output shows FAILED Java is not installed.
The debug log should provide more details.
Upload the detailed log here using code fences.

I hope I got everything…

++ whiptail --title 'openHABian Configuration Tool — [main]{2021-10-26T12:40:19+02:00}(96fe0a0)' --menu 'openHAB Related' 17 116 10 --cancel-button Back --ok-button Execute '41 | openHAB Stable' 'Install or switch to the latest openHAB Stable Release' '   | openHAB Milestone' 'Install or switch to the latest openHAB Milestone Build' '   | openHAB Snapshot' 'Install or switch to the latest openHAB Snapshot Build' '42 | Upgrade to openHAB 3' 'Upgrade OS environment to openHAB 3 release' '   | Downgrade to openHAB 2' 'Downgrade OS environment from openHAB 3 back to openHAB 2 stable (DANGEROUS)' '43 | Remote Console' 'Bind the openHAB SSH console to all external interfaces' '44 | Nginx Proxy' 'Setup reverse and forward web proxy' '45 | Zulu 11 OpenJDK 32-bit' 'Install Zulu 11 32-bit OpenJDK as primary Java provider' '   | Zulu 11 OpenJDK 64-bit' 'Install Zulu 11 64-bit OpenJDK as primary Java provider' '   | AdoptOpenJDK 11' 'Install AdoptOpenJDK 11 as primary Java provider'
+ choice2='45 | Zulu 11 OpenJDK 32-bit'
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 255 ']'
+ wait_for_apt_to_finish_update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-10-31_22:43:14_CET [openHABian] Updating Linux package information... '
2021-10-31_22:43:14_CET [openHABian] Updating Linux package information... + [[ -z 22981 ]]
+ tail --pid=22981 -f /dev/null
+ echo OK
OK
++ openhab3_is_installed
+++ dpkg -s openhab
+++ grep Status
+++ cut '-d ' -f2
++ [[ install == \i\n\s\t\a\l\l ]]
++ return 0
++ echo openHAB3
+ version=openHAB3
+ case "$choice2" in
+ update_config_java Zulu11-32
+ [[ Zulu11-32 == \Z\u\l\u\1\1\-\6\4 ]]
+ cond_redirect sed -i -e 's|^java_opt.*$|java_opt=Zulu11-32|' /etc/openhabian.conf
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ sed -i -e s|^java_opt.*$|java_opt=Zulu11-32| /etc/openhabian.conf \033[39;49;00m'

$ sed -i -e s|^java_opt.*$|java_opt=Zulu11-32| /etc/openhabian.conf
+ sed -i -e 's|^java_opt.*$|java_opt=Zulu11-32|' /etc/openhabian.conf
+ return 0
+ source /etc/openhabian.conf
++ hostname=openhabian
++ username=openhabian
++ userpw=openhabian
++ adminkeyurl=
++ timezone=Europe/Berlin
++ locales='en_US.UTF-8 de_DE.UTF-8'
++ system_default_locale=en_US.UTF-8
++ wifi_ssid=
++ wifi_password=
++ wifi_country=
++ ipv6=enable
++ repositoryurl=https://github.com/openhab/openhabian
++ clonebranch=main
++ debugmode=maximum
++ framebuffer=enable
++ java_opt=Zulu11-32
++ zraminstall=enable
++ hotspot=enable
++ hotspotpw=openhabian
++ storageconfig=openhab-dir
++ storagedir=/storage
++ storagetapes=15
++ storagecapacity=1024
+ java_install_or_update Zulu11-32
+ local branch
++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+ branch=main
++ command -v java
+ [[ -x '' ]]
++ command -v java
+ [[ -x '' ]]
+ [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]]
+ [[ -n '' ]]
+ [[ Zulu11-32 == \A\d\o\p\t\1\1 ]]
+ [[ Zulu11-32 != \A\d\o\p\t\1\1 ]]
++ java -version
+ [[ /opt/openhabian/functions/java-jre.bash: line 24: java: command not found == *\A\d\o\p\t\O\p\e\n\J\D\K* ]]
+ [[ Zulu11-32 == \Z\u\l\u\1\1\-\6\4 ]]
+ [[ Zulu11-32 != \A\d\o\p\t\1\1 ]]
+ cond_redirect java_zulu_update_available Zulu11-32
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java_zulu_update_available Zulu11-32 \033[39;49;00m'

$ java_zulu_update_available Zulu11-32
+ java_zulu_update_available Zulu11-32
++ command -v java
+ [[ -x '' ]]
+ return 0
+ return 0
+ java_zulu_prerequisite Zulu11-32
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-10-31_22:43:14_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... '
2021-10-31_22:43:14_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... + [[ Zulu11-32 == \Z\u\l\u\1\1\-\6\4 ]]
+ is_arm
+ is_armv6l
+ [[ '' == \a\r\m\v\6\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ is_armv7l
+ [[ '' == \a\r\m\v\7\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 0
+ return 0
+ dpkg -s libc6:armhf libstdc++6:armhf zlib1g:armhf
+ echo OK
OK
+ return 0
+ [[ main == \o\p\e\n\H\A\B\3 ]]
+ java_zulu_fetch Zulu11-32
+ local downloadLink
+ local jdkInstallLocation
+ local link
+ jdkInstallLocation=/opt/jdk
+ link='https://api.azul.com/zulu/download/community/v1.0/bundles/latest/binary/?os=linux&ext=tar.gz&javafx=false'
+ [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-10-31_22:43:14_CET [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... '
2021-10-31_22:43:14_CET [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... + is_arm
+ is_armv6l
+ [[ '' == \a\r\m\v\6\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ is_armv7l
+ [[ '' == \a\r\m\v\7\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 0
+ return 0
++ curl 'https://api.azul.com/zulu/download/community/v1.0/bundles/latest/binary/?os=linux&ext=tar.gz&javafx=false&jdk_version=11&arch=arm&hw_bitness=32&abi=hard_float' -s -L -I -o /dev/null -w '%{url_effective}'
+ downloadLink=https://cdn.azul.com/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf.tar.gz
+ [[ -z https://cdn.azul.com/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf.tar.gz ]]
+ mkdir -p /opt/jdk
+ rm -rf '/opt/jdk/*'
+ cond_redirect wget -nv -O /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf.tar.gz
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ wget -nv -O /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf.tar.gz \033[39;49;00m'

$ wget -nv -O /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf.tar.gz
+ wget -nv -O /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf.tar.gz
2021-10-31 22:43:53 URL:https://cdn.azul.com/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf.tar.gz [178232271/178232271] -> "/opt/jdk/zulu.tar.gz" [1]
+ return 0
+ cond_redirect tar -xpzf /opt/jdk/zulu.tar.gz -C /opt/jdk
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ tar -xpzf /opt/jdk/zulu.tar.gz -C /opt/jdk \033[39;49;00m'

$ tar -xpzf /opt/jdk/zulu.tar.gz -C /opt/jdk
+ tar -xpzf /opt/jdk/zulu.tar.gz -C /opt/jdk
+ return 0
+ cond_redirect rm -rf /opt/jdk/zulu.tar.gz
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ rm -rf /opt/jdk/zulu.tar.gz \033[39;49;00m'

$ rm -rf /opt/jdk/zulu.tar.gz
+ rm -rf /opt/jdk/zulu.tar.gz
+ return 0
+ echo OK
OK
+ java_zulu_install Zulu11-32
+ local jdkBin
+ local jdkLib
++ find /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin ... -print -quit
+ jdkBin=/opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin
++ find /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib ... -print -quit
+ jdkLib=/opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib
+ [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-10-31_22:44:48_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... '
2021-10-31_22:44:48_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... + openhab_is_running
+ openhab_is_installed
+ openhab2_is_installed
++ dpkg -s openhab2
++ grep Status
++ cut '-d ' -f2
+ [[ '' == \i\n\s\t\a\l\l ]]
+ return 1
+ openhab3_is_installed
++ dpkg -s openhab
++ grep Status
++ cut '-d ' -f2
+ [[ install == \i\n\s\t\a\l\l ]]
+ return 0
+ return 0
++ systemctl is-active openhab
+ [[ activating == \a\c\t\i\v\e ]]
+ return 1
+ cond_redirect java_alternatives_reset
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java_alternatives_reset \033[39;49;00m'

$ java_alternatives_reset
+ java_alternatives_reset
+ update-alternatives --quiet --remove-all java
+ update-alternatives --quiet --remove-all jjs
+ update-alternatives --quiet --remove-all keytool
+ update-alternatives --quiet --remove-all pack200
+ update-alternatives --quiet --remove-all rmid
+ update-alternatives --quiet --remove-all rmiregistry
+ update-alternatives --quiet --remove-all unpack200
+ update-alternatives --quiet --remove-all jexec
+ return 2
+ cond_redirect update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/java 1000000
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/java 1000000 \033[39;49;00m'

$ update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/java 1000000
+ update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/java 1000000
update-alternatives: using /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/java to provide /usr/bin/java (java) in auto mode
+ return 0
+ cond_redirect update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/jjs 1000000
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/jjs 1000000 \033[39;49;00m'

$ update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/jjs 1000000
+ update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/jjs 1000000
update-alternatives: using /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
+ return 0
+ cond_redirect update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/keytool 1000000
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/keytool 1000000 \033[39;49;00m'

$ update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/keytool 1000000
+ update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/keytool 1000000
update-alternatives: using /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
+ return 0
+ cond_redirect update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/pack200 1000000
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/pack200 1000000 \033[39;49;00m'

$ update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/pack200 1000000
+ update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/pack200 1000000
update-alternatives: using /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
+ return 0
+ cond_redirect update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmid 1000000
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmid 1000000 \033[39;49;00m'

$ update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmid 1000000
+ update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmid 1000000
update-alternatives: using /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
+ return 0
+ cond_redirect update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmiregistry 1000000
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmiregistry 1000000 \033[39;49;00m'

$ update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmiregistry 1000000
+ update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmiregistry 1000000
update-alternatives: using /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
+ return 0
+ cond_redirect update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/unpack200 1000000
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/unpack200 1000000 \033[39;49;00m'

$ update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/unpack200 1000000
+ update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/unpack200 1000000
update-alternatives: using /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
+ return 0
+ cond_redirect update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib/jexec 1000000
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib/jexec 1000000 \033[39;49;00m'

$ update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib/jexec 1000000
+ update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib/jexec 1000000
update-alternatives: using /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
+ return 0
+ echo /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib
+ echo /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib/jli
+ echo /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/lib/client
+ ldconfig
+ echo OK
OK
+ java_zulu_install_crypto_extension
+ [[ -n '' ]]
+ local jdkSecurity
+ local policyTempLocation
++ realpath /usr/bin/java
++ sed 's|/java||'
+ jdkSecurity=/opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security
++ mktemp -d /tmp/openhabian.XXXXX
+ policyTempLocation=/tmp/openhabian.iVZ9J
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-10-31_22:45:49_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... '
2021-10-31_22:45:49_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... + cond_redirect mkdir -p /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ mkdir -p /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security \033[39;49;00m'

$ mkdir -p /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security
+ mkdir -p /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security
+ return 0
+ cond_redirect wget -qO /tmp/openhabian.iVZ9J/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ wget -qO /tmp/openhabian.iVZ9J/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip \033[39;49;00m'

$ wget -qO /tmp/openhabian.iVZ9J/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip
+ wget -qO /tmp/openhabian.iVZ9J/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip
+ return 0
+ cond_redirect unzip /tmp/openhabian.iVZ9J/crypto.zip -d /tmp/openhabian.iVZ9J
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ unzip /tmp/openhabian.iVZ9J/crypto.zip -d /tmp/openhabian.iVZ9J \033[39;49;00m'

$ unzip /tmp/openhabian.iVZ9J/crypto.zip -d /tmp/openhabian.iVZ9J
+ unzip /tmp/openhabian.iVZ9J/crypto.zip -d /tmp/openhabian.iVZ9J
Archive:  /tmp/openhabian.iVZ9J/crypto.zip
   creating: /tmp/openhabian.iVZ9J/ZuluJCEPolicies/
  inflating: /tmp/openhabian.iVZ9J/ZuluJCEPolicies/LICENSE
  inflating: /tmp/openhabian.iVZ9J/ZuluJCEPolicies/README.txt
  inflating: /tmp/openhabian.iVZ9J/ZuluJCEPolicies/DISCLAIMER
  inflating: /tmp/openhabian.iVZ9J/ZuluJCEPolicies/local_policy.jar
  inflating: /tmp/openhabian.iVZ9J/ZuluJCEPolicies/US_export_policy.jar
+ return 0
+ cond_redirect cp -u /tmp/openhabian.iVZ9J/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.iVZ9J/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ cp -u /tmp/openhabian.iVZ9J/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.iVZ9J/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security \033[39;49;00m'

$ cp -u /tmp/openhabian.iVZ9J/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.iVZ9J/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security
+ cp -u /tmp/openhabian.iVZ9J/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.iVZ9J/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.52.13-ca-jdk11.0.13-linux_aarch32hf/bin/../lib/security
+ return 0
+ echo OK
OK
+ cond_redirect rm -rf /tmp/openhabian.iVZ9J
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ rm -rf /tmp/openhabian.iVZ9J \033[39;49;00m'

$ rm -rf /tmp/openhabian.iVZ9J
+ rm -rf /tmp/openhabian.iVZ9J
+ return 0
+ openhab_is_installed
+ openhab2_is_installed
++ dpkg -s openhab2
++ grep Status
++ cut '-d ' -f2
+ [[ '' == \i\n\s\t\a\l\l ]]
+ return 1
+ openhab3_is_installed
++ dpkg -s openhab
++ grep Status
++ cut '-d ' -f2
+ [[ install == \i\n\s\t\a\l\l ]]
+ return 0
+ return 0
+ cond_redirect systemctl restart openhab.service
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ systemctl restart openhab.service \033[39;49;00m'

$ systemctl restart openhab.service
+ systemctl restart openhab.service
+ return 0
++ command -v java
+ [[ -x /usr/bin/java ]]
+ cond_redirect java -version
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java -version \033[39;49;00m'

$ java -version
+ java -version
openjdk version "11.0.13" 2021-10-19 LTS
OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS)
OpenJDK Client VM Zulu11.52+13-CA (build 11.0.13+8-LTS, mixed mode)
+ return 0
+ '[' 0 -ne 0 ']'
+ true
+ show_main_menu
+ local choice
+ local version
+++ get_git_revision
+++ local branch
+++ local commitDate
+++ local shorthash
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=main
++++ git -C /opt/openhabian log --pretty=format:%aI -n 1
+++ commitDate=2021-10-26T12:40:19+02:00
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=96fe0a0
+++ echo '[main]{2021-10-26T12:40:19+02:00}(96fe0a0)'
++ whiptail --title 'openHABian Configuration Tool — [main]{2021-10-26T12:40:19+02:00}(96fe0a0)' --menu 'Setup Options' 19 116 12 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Update all installed software packages (incl. openHAB) to their latest version' '03 | Install openHAB' 'Install or upgrade to openHAB 3' '04 | Import config' 'Import an openHAB 3 configuration from file or URL' '' '' '10 | Apply Improvements' 'Apply the latest improvements to the basic openHABian setup ►' '20 | Optional Components' 'Choose from a set of optional software components ►' '30 | System Settings' 'A range of system and hardware related configuration steps ►' '40 | openHAB Related' 'Switch the installed openHAB version or apply tweaks ►' '50 | Backup/Restore' 'Manage backups and restore your system ►'

Actually, I was trying to look a bit at that log and I don’t see the failure for Java anymore in there and openHAB seems to be up now… Strange, as I have been arguing with that for the last 2 days on multiple cards and fresh installs. :confused:

Yes according to the log it was installed.

That’s sometimes the case as soon as others over your shoulders while doing a life demo … :slightly_smiling_face:

what build are you using and is it working for you now? I am running in to this issue in docker container.
seeing this error in docker logs and container wont start

OpenJDK Client VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes