I’m trying to install OH, on a fresh Raspbian install, using apt-get. It all works fine until I reboot.
Then OH2 doesn’t start anymore. It stops with the following error:
Launching the openHAB runtime…
./runtime/bin/karaf: line 42: .: /usr/share/openhab2/runtime/bin/setenv: cannot execute binary file
karaf: JAVA_HOME not set; results may vary
Listening for transport dt_socket at address: 5005
WARN: file:/usr/share/openhab2/runtime/etc/config.properties is not found, so not loaded
null
WARN: file:/usr/share/openhab2/runtime/etc/config.properties is not found, so not loaded
Error occurred shutting down framework: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
at java.lang.Integer.parseInt(Integer.java:615)
at org.apache.karaf.main.ConfigProperties.(ConfigProperties.java:208)
at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(Main.java:226)
at org.apache.karaf.main.Main.main(Main.java:191)
Any idea what could be the reason?
Im using a RaspberryPi 3.
Thanks.