- Platform information:
- Hardware: Raspberry Pi 2b
- Raspbian Strech
- 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?
Looks like a couple of issues:
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.
thanks for helping me. After removing the quotation marks the first issue has gone.
Now I got the following error at start:
2018-01-06 10:51:41.036 [INFO ] [er.internal.HomeBuilderDashboardTile] - Started Home Builder at /homebuilder
2018-01-06 10:51:43.829 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.0.131:8080
2018-01-06 10:51:43.853 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.0.131:8443
2018-01-06 10:51:59.966 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Haus.items’
2018-01-06 10:52:00.309 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Steckdosen.items’
2018-01-06 10:52:00.667 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Weather.items’
2018-01-06 10:52:00.856 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Tage.items’
2018-01-06 10:52:00.952 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'MQTT.items’
2018-01-06 10:52:01.085 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Homematic.items’
2018-01-06 10:52:02.473 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist’
2018-01-06 10:52:09.834 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-01-06 10:52:11.191 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-01-06 10:52:15.017 [ERROR] [xtext.validation.CompositeEValidator] - Error executing EValidator
… Java error mesages
The output of openhab-cli info:
root@rasp-02:~# openhab-cli info
Version: 2.2.0 (Build)
User: openhab (Active Process 2776)
User Groups: openhab tty dialout gpio
Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab2 | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab2/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab2 | openhab:openhab
OPENHAB_CONF | /etc/openhab2 | openhab:openhab
OPENHAB_LOGDIR | /var/log/openhab2 | openhab:openhab
Any further idea?
Thanks / Zennix
Found it, was a problem with my sitemap.
I have the same problem. Could you give me a hint how to solve it - don’t know what to check at my sitemap.
didn’t know exactly what the problem with the sitemap was. Sorry.
Try to make a clean sitemap file in /etc/openhab2/sitemaps like
sitemap Haus label=“Hauptmenue”
Frame label=“Datum und Zeit”
create the two items Datum and Zeit in your items file or take ohter string item to show.
Greetings / Zennix