Today i do the Update from 2.0 to 2.1 with the openhabian-config tool on my Raspberry Pi 3.
The Update process was successfully terminated. After reboot i got this informations
[19:18:41] root@smarthome:/var/log/openhab2# uname -a
Linux smarthome 4.9.28-v7+ #998 SMP Mon May 15 16:55:39 BST 2017 armv7l GNU/Linux
[19:19:47] root@smarthome:/var/log/openhab2#
[19:17:52] root@smarthome:/etc/init.d# ./openhab2 status
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled)
Active: active (running) since Sat 2017-07-01 17:13:59 CEST; 2h 3min ago
Docs: http://docs.openhab.org
https://community.openhab.org
Main PID: 710 (karaf)
CGroup: /system.slice/openhab2.service
├─ 710 /bin/bash /usr/share/openhab2/runtime/bin/karaf server
└─1345 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtime -Dopenhab.userdata=/var/lib/openhab2 -Dopenhab.logdir=/var/log/openhab2 -Dfelix.cm.dir=/var...
Jul 01 17:13:59 smarthome systemd[1]: Started openHAB 2 - empowering the smart home.
Jul 01 17:13:59 smarthome start.sh[710]: Launching the openHAB runtime...
[19:17:57] root@smarthome:/etc/init.d#
But there are “no Webinterface on port 8080” and no entries in the files knx.log, events.log, openhab.log
On a side note, /etc/init.d# ./openhab2 status is not a good style and might restrict you at some point. You’ll have less issues with a command as the above.
2017-07-02 08:49:03.200 [WARN ] [raf.features.internal.osgi.Activator] - Error starting activator
java.io.IOException: Unexpected end of input at 1:1
at org.apache.karaf.features.internal.util.JsonReader.error(JsonReader.java:337)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.util.JsonReader.expected(JsonReader.java:331)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.util.JsonReader.readValue(JsonReader.java:93)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.util.JsonReader.parse(JsonReader.java:58)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.util.JsonReader.read(JsonReader.java:52)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.region.DigraphHelper.readDigraph(DigraphHelper.java:112)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.region.DigraphHelper.loadDigraph(DigraphHelper.java:70)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:130)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:246)[8:org.apache.karaf.features.core:4.0.8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
did you remove all the content from these 2 folders (files and subdirs)? (don’t delete the tmp folder)
it’s better to stop OH2, then clear out the folder contents and then start
if you try to clear them with OH2 running, you may get new stuff in there when you try to restart.
That’s unusual… cache and temp dirs should have no effect on the install status of the addons
this is controlled by /etc/openhab2/services/addons.cfg
If you define them there, they will be kept and installed
Defining them is optional of course.
Even this is not needed and we shouldn’t recommended it anymore. Configuration via this file easily done wrong.
If you clear out cache and tmp your addons are newly installed. That’s why they might appear not installed right after start. You just need to wait a few minutes and all previously installed addons are installed anew. Check the openhab.log.