I did not update my openHAB installation since OH2, but with OH5 I decided to give it a try.
I did a fresh install on a “naked” SD card and went through all installation. The system is up and running and I can connect to it through SSH, however it does not listen on port 8080. When I check the open ports, I get only 22 and the SMB ports 139 and 445:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp6 0 0 127.0.0.1:34627 :::* LISTEN
tcp6 0 0 :::445 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::139 :::* LISTEN
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:33244 0.0.0.0:*
udp 0 0 192.168.0.255:137 0.0.0.0:*
udp 0 0 192.168.0.17:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 192.168.0.255:138 0.0.0.0:*
udp 0 0 192.168.0.17:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
udp6 0 0 :::5353 :::*
udp6 0 0 :::59739 :::*
The installation process seems having finished correctly:
openhabian@openhabian:/boot $ tail first-boot.log
Removing libgles2:arm64 (1.6.0-1) ...
Removing libwayland-client0:arm64 (1.23.1-3+rpt1) ...
Processing triggers for libc-bin (2.36-9+rpt2+deb12u12) ...
Updating FireMotD available updates count ...
OK
2025-07-31_15:07:42_BST [openHABian] Execution of 'openhabian-config unattended' completed.
2025-07-31_15:07:42_BST [openHABian] First time setup successfully finished. Rebooting your system!
2025-07-31_15:07:42_BST [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080
2025-07-31_15:07:42_BST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
Removed "/etc/systemd/system/multi-user.target.wants/comitup.service".
When I check the openhab process, I get the following but I do not know how it should show if it works correctly. Is this showing that it is running?
openhabian@openhabian:~ $ sudo /bin/systemctl status openhab.service
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; disabled; preset: enabled)
Active: active (running) since Thu 2025-07-31 15:36:57 BST; 13min ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 1771 (java)
Tasks: 33 (limit: 1050)
CPU: 1min 33.656s
CGroup: /system.slice/openhab.service
└─1771 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.c>
Jul 31 15:38:25 openhabian karaf[1771]: at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.lambda$download$0(MavenDownloadManager.java:138)
Jul 31 15:38:25 openhabian karaf[1771]: at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:350)
Jul 31 15:38:25 openhabian karaf[1771]: at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListeners(DefaultFuture.java:335)
Jul 31 15:38:25 openhabian karaf[1771]: at org.apache.karaf.features.internal.download.impl.DefaultFuture.setValue(DefaultFuture.java:259)
Jul 31 15:38:25 openhabian karaf[1771]: at org.apache.karaf.features.internal.download.impl.AbstractDownloadTask.setFile(AbstractDownloadTask.java:61)
Jul 31 15:38:25 openhabian karaf[1771]: at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:61)
Jul 31 15:38:25 openhabian karaf[1771]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
Jul 31 15:38:25 openhabian karaf[1771]: at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
Jul 31 15:38:25 openhabian karaf[1771]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
Jul 31 15:38:25 openhabian karaf[1771]: ... 3 more
The error message in the end shows that karaf cannot be installed properly but this conflicts with the message that everything could be installed well:
openhabian@openhabian:/var/log/openhab $ cat openhab.log
2025-07-31 15:54:39.970 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features
org.apache.karaf.features.internal.util.MultiException: Error:
invalid distance too far back
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91) ~[?:?]
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72) ~[?:?]
at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:474) ~[?:?]
at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:469) ~[?:?]
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:223) ~[?:?]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Suppressed: java.util.zip.ZipException: invalid distance too far back
at java.util.zip.InflaterInputStream.read(Unknown Source) ~[?:?]
at java.util.zip.ZipInputStream.read(Unknown Source) ~[?:?]
at java.util.jar.Manifest$FastInputStream.fill(Unknown Source) ~[?:?]
at java.util.jar.Manifest$FastInputStream.readLine(Unknown Source) ~[?:?]
at java.util.jar.Manifest$FastInputStream.readLine(Unknown Source) ~[?:?]
at java.util.jar.Attributes.read(Unknown Source) ~[?:?]
at java.util.jar.Manifest.read(Unknown Source) ~[?:?]
at java.util.jar.Manifest.<init>(Unknown Source) ~[?:?]
at java.util.jar.Manifest.<init>(Unknown Source) ~[?:?]
at org.apache.karaf.features.internal.region.Subsystem.getMetadata(Subsystem.java:682) ~[?:?]
at org.apache.karaf.features.internal.region.Subsystem.lambda$downloadBundles$1(Subsystem.java:516) ~[?:?]
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.lambda$download$0(MavenDownloadManager.java:138) ~[?:?]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:350) ~[?:?]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListeners(DefaultFuture.java:335) ~[?:?]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.setValue(DefaultFuture.java:259) ~[?:?]
at org.apache.karaf.features.internal.download.impl.AbstractDownloadTask.setFile(AbstractDownloadTask.java:61) ~[?:?]
at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:61) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Trying to open the openhab console gives an error message:
openhabian@openhabian:/var/log/openhab $ openhab-cli console
Logging in as openhab
Failed to get the session.
Any idea what I could to finish the successful installation?