Java Runtime Environment: openjdk version “1.8.0_152”
openHAB version: 2.2.0 Beta
I have a testinstallation of OH2 running several month now. This installation should replace my good running OH1 sometimes.
After doing an apt-get update and apt-get upgrade an error appears at start.
The repo I’m using is: deb https://dl.bintray.com/openhab/apt-repo2 testing main
The errormesage is:
2018-01-05 11:09:50.828 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-ui-“classic, openhab-ui-habmin”, openhab-action-“mail”, openhab-persistence-“rrd4j”, openhab-transformation-“map, openhab-transformation-jsonpath”, openhab-binding-weatherunderground", openhab-misc-“restdocs”, openhab-binding-"exec’: Error restarting bundles:
Unable to acquire the state change lock for the module: osgi.identity; type=“osgi.bundle”; version:Version=“0.10.0.b1”; osgi.identity=“org.eclipse.smarthome.model.script.runtime”; singleton:=“true” [id=147] STARTED [STARTED]
What I tried:
delete the content of tmp and cache
remove all rules
remove the climacons with karaf console
remove homatic binding with karaf console
The error is still there. Any idea what to try next?
Greetings Zennix
The addons cfg has obtained quotation marks somehow. Edit the ‘/var/lib/openhab2/etc/org.openhab.addons.cfg’ file so that it doesn’t contain quotations. Post the contents of the file here if you’re not sure of the syntax and we can let you know.
openhab could also be having trouble with permissions, what is he output of the command openhab-cli info. This might not be a problem though if 1 resolves the issue though.