OpenHab2 installation on Raspberry P2 Stretch

OK,I am back again
Now starting a fresh installation of Debian Stretch on a Raspberry Pi2 without any problem.

Now OpenHab2 (2.4.0-1) I did follow the procedure of https://www.openhab.org/download/

Install openHABian (Recommended)

Package Installation

As I was afraid : OpenHab2 can’t be reached doing http://:8080
Rebooting or restarting OpenHab doesn’t help.
Here is the first info:
pi@HA_Broker2:/etc/init.d $ /etc/init.d/openhab2 status
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-05-13 17:38:18 CEST; 28min ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 21570 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=1/FAILURE)
Main PID: 24591 (java)
CGroup: /system.slice/openhab2.service
└─24591 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtime -Dope…in

May 13 17:38:26 HA_Broker2 karaf[24591]:         at org.eclipse.osgi.storage.Storage.save0(Storage.java:1041)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at org.eclipse.osgi.storage.Storage.save(Storage.java:1011)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at org.eclipse.osgi.internal.framework.StorageSaver$StorageSaverTask.run(StorageSaver.java:28)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Schedule….java:180)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThread….java:294)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
May 13 17:38:26 HA_Broker2 karaf[24591]:         at java.lang.Thread.run(Thread.java:745)
Hint: Some lines were ellipsized, use -l to show in full.
pi@HA_Broker2:/etc/init.d $ 

Any Idea
Robert

What’s in openhab.log? The output from systemctl do not go back far enough to tell us much of anything.

Also, please use How to use code fences for logs and outputs from commands. It’s way easier to read.

Often the problem that occurs when first installing OH is the wrong version of Java was installed. Did you install Java yourself and if so what version?

pi@HA_Broker2:~ $ java -version
java version “1.8.0_65”
Java™ SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot™ Client VM (build 25.65-b01, mixed mode)

I will try with Zuzlu

Robert

The issue is not Java but my /dev/root that was 100% full.
After solving this issue I can now start OpenHab2 and continue my configuration
Thanks
Robert

1 Like

Thanks for reporting back so others in this situation will know to check.