I tried the option to install it from the menu and got the following error: (I had to remove references to http or https)
**There was an error or interruption during the execution of: “03 Install openHAB” *Please try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or **://github.com/openhab/openhabian/blob/main/docs/openhabian-DEBUG.md how to proceed.
I also went through the firstboot.log file to see if I could see anything obvious. There were some errors (shown below):
+ java_install 17
+ openhab_is_running
+ openhab_is_installed
+ openhab2_is_installed
++ dpkg -s openhab2
++ grep Status
++ cut '-d ’ -f2
+ [[ ‘’ =~ ^(install|hold)$ ]]
+ return 1
+ openhab3_is_installed
++ dpkg -s openhab
++ grep -E ‘^Version’
++ cut -d . -f1
++ cut -d ’ ’ -f2
+ [[ ‘’ = 3 ]]
+ return 1
+ openhab4_is_installed
++ dpkg -s openhab
++ grep -E ‘^Version’
++ cut -d . -f1
++ cut -d ’ ’ -f2
+ [[ ‘’ = 4 ]]
dpkg: error processing package ca-certificates-java (–configure):
** installed ca-certificates-java package post-installation script subprocess returned error exit status 1**
dpkg: dependency problems prevent configuration of openjdk-17-jre-headless:armhf:
** openjdk-17-jre-headless:armhf depends on ca-certificates-java (>= 20190405~); however:**
** Package ca-certificates-java is not configured yet.**
dpkg: error processing package openjdk-17-jre-headless:armhf (–configure):
** dependency problems - leaving unconfigured**
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) …
Processing triggers for man-db (2.9.4-2) …
Processing triggers for ca-certificates (20210119) …
Updating certificates in /etc/ssl/certs…
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d…
/etc/ca-certificates/update.d/jks-keystore: 82: java: not found
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Errors were encountered while processing:
** ca-certificates-java**
** openjdk-17-jre-headless:armhf**
**Updating FireMotD available updates count … **
E: Sub-process /usr/bin/dpkg returned an error code (1)
+ return 100
+ echo FAILED
FAILED
+ apt-get update
**Hit:1 **://davesteele.github.io/comitup/repo comitup InRelease
**Err:2 *://deb.nodesource.com/node_18.x bullseye InRelease
** Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 23.219.155.185 443]
**Get:3 **://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
**Get:4 **://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
**Hit:5 ***://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
Reading package lists…
**E: Release file for **://raspbian.raspberrypi.org/raspbian/dists/bullseye/InRelease is not valid yet (invalid for another 94d 5h 42min 12s). Updates for this repository will not be applied.
**E: Release file for **://archive.raspberrypi.org/debian/dists/bullseye/InRelease is not valid yet (invalid for another 94d 1h 1min 27s). Updates for this repository will not be applied.
**E: Release file for **://openhab.jfrog.io/artifactory/openhab-linuxpkg/dists/stable/InRelease is not valid yet (invalid for another 76d 5h 1min 58s). Updates for this repository will not be applied.
+ return 100
+ echo ‘FAILED (update apt lists)’
FAILED (update apt lists)
+ return 1
+ import_openhab_config
+ local initialConfig=/boot/initial.zip
+ local restoreFile=/boot/initial.zip
+ [[ -n ‘’ ]]
++ timestamp
++ printf ‘%(%F_%T_%Z)T\n’ -1
+ echo -n '2023-05-13_12:42:49_CEST [openHABian] Getting initial openHAB configuration… ’
2023-05-13_12:42:49_CEST [openHABian] Getting initial openHAB configuration… + [[ /boot/initial.zip =~ http: ]]
+ [[ -n 1 ]]
+ [[ -f /boot/initial.zip ]]
+ echo ‘SKIPPED (backup not found at /boot/initial.zip)’
SKIPPED (backup not found at /boot/initial.zip)
e[90;01m$ sed -i -e s|^#.sshHost = 0.0.0.0.$|org.apache.karaf.shell:sshHost = 0.0.0.0|g /etc/openhab/services/runtime.cfg e[39;49;00m
+ sed -i -e ‘s|^#.sshHost = 0.0.0.0.$|org.apache.karaf.shell:sshHost = 0.0.0.0|g’ /etc/openhab/services/runtime.cfg
sed: can’t read /etc/openhab/services/runtime.cfg: No such file or directory
+ return 2
+ echo ‘FAILED (sshHost)’
FAILED (sshHost)
+ return 1
e[90;01m$ nodejs_setup e[39;49;00m
+ nodejs_setup
+ node_is_installed
++ command -v npm
+ [[ -x ‘’ ]]
+ return 1
+ local keyName=nodejs
+ local link=*://nodejs.org/dist/v18.16.1/node-v18.16.1-linux-armv7l.tar.xz
+ local myDistro
+ local temp
++ lsb_release -sc
+ myDistro=bullseye
+ [[ bullseye == \n/\a ]]
++ mktemp /tmp/openhabian.XXXXX
+ temp=/tmp/openhabian.hDg1U
+ [[ -z ‘’ ]]
+ is_armv6l
+ [[ ‘’ == \a\r\m\v\6\l ]]
+ case “$(uname -m)” in
++ uname -m
+ return 1
+ [[ -z ‘’ ]]
**+ add_keys ***://deb.nodesource.com/gpgkey/nodesource.gpg.key nodejs
+ local repoKey=/usr/share/keyrings/nodejs.gpg
++ timestamp
++ printf ‘%(%F_%T_%Z)T\n’ -1
+ echo -n '2023-05-13_12:44:20_CEST [openHABian] Adding required keys to apt… ’
**2023-05-13_12:44:20_CEST [openHABian] Adding required keys to apt… + curl -fsSL ***://deb.nodesource.com/gpgkey/nodesource.gpg.key
+ gpg --dearmor
curl: (60) SSL certificate problem: certificate is not yet valid
**More details here: ***://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gpg: no valid OpenPGP data found.
+ echo FAILED
FAILED
+ rm -f /usr/share/keyrings/nodejs.gpg
+ return 1
+ return 1
+ return 1
+ echo FAILED
FAILED
+ return 1
+ custom_frontail_log add ‘’
+ local frontailService=/etc/systemd/system/frontail.service
+ local addLog
+ local removeLog
+ local array
+ [[ -f /etc/systemd/system/frontail.service ]]
+ whiptail --title ‘Frontail not installed’ --msgbox ‘Frontail is not installed!\n\nCanceling operation!’ 9 80
Failed to open terminal.
In the end, it says it installed successfully:
+ rm -f /opt/openHABian-install-inprogress
+ touch /opt/openHABian-install-successful
++ timestamp
++ printf ‘%(%F_%T_%Z)T\n’ -1
+ echo ‘2023-05-13_12:44:31_CEST [openHABian] Execution of ‘'‘openhabian-config unattended’'’ completed.’
2023-05-13_12:44:31_CEST [openHABian] Execution of ‘openhabian-config unattended’ completed.
++ timestamp
++ printf ‘%(%F_%T_%Z)T\n’ -1
+ echo ‘2023-05-13_12:44:31_CEST [openHABian] First time setup successfully finished. Rebooting your system!’
2023-05-13_12:44:31_CEST [openHABian] First time setup successfully finished. Rebooting your system!
++ timestamp
++ printf ‘%(%F_%T_%Z)T\n’ -1
**+ echo '2023-05-13_12:44:31_CEST [openHABian] After rebooting the openHAB dashboard will be available at: **://openhabian:8080’
**2023-05-13_12:44:31_CEST [openHABian] After rebooting the openHAB dashboard will be available at: **://openhabian:8080
++ timestamp
++ printf ‘%(%F_%T_%Z)T\n’ -1
+ echo ‘2023-05-13_12:44:31_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.’
2023-05-13_12:44:31_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
+ sleep 12
++ command -v python3
+ [[ -x /usr/bin/python3 ]]
+ bash /boot/webserver.bash inst_done
+ sleep 12
++ command -v python3
+ [[ -x /usr/bin/python3 ]]
+ bash /boot/webserver.bash cleanup
+ running_in_docker
+ [[ -n ‘’ ]]
+ grep -qs ‘docker|lxc’ /proc/1/cgroup
+ [[ -f /.dockerenv ]]
+ return 1
+ reboot