Hi there,
I had some problems with the installation of openhab2 due to the shift of several config files in November, so I decided to put th package on hold in my Debian 9.0. Today, I wanted to upgrade the package (openhab2-online snapshot) again, which worked out well so far (besides that I had to manually recover parts of my configurations, e.g., the recovery of the userdata configuration breaks the upgrade of the new karaf version -> backup/restore procedure will not work between the 2 karaf version).
After installing all of my bindings, I tried to implement a persistence strategy by installing the MySQL and JDBC persistence bindings. After configuration and restart, openhab log states
2016-12-22 13:41:52.145 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-hue, openhab-persistence-jdbc-mysql, openhab-misc-restdocs, openhab-binding-avmfritz, openhab-transformation-javascript, openhab-binding-sonos, openhab-ui-habpanel, openhab-transformation-regex, openhab-transformation-jsonpath, openhab-transformation-xpath, openhab-ui-basic, openhab-transformation-map, openhab-ui-classic, openhab-binding-astro, openhab-ui-habmin, openhab-binding-knx1, openhab-transformation-xslt, openhab-transformation-exec, openhab-ui-paper, openhab-transformation-scale': Permission denied
After a while, openhab2 began to deinstall itself without any interaction:
14:42:48.788 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-persistence-mysql'
14:42:48.788 [INFO ] [smarthome.event.ExtensionEvent ] - Extension 'persistence-mysql' has been uninstalled.
[...]
14:42:58.255 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-transformation-scale'
14:42:58.256 [INFO ] [smarthome.event.ExtensionEvent ] - Extension 'transformation-scale' has been uninstalled.
[...]
14:43:07.456 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-persistence-jdbc-mysql'
14:43:07.460 [INFO ] [smarthome.event.ExtensionEvent ] - Extension 'persistence-jdbc-mysql' has been uninstalled.
14:43:15.734 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-action-telegram'
14:43:15.734 [INFO ] [smarthome.event.ExtensionEvent ] - Extension 'action-telegram' has been uninstalled.
[...]
14:43:24.368 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-transformation-xpath'
14:43:24.368 [INFO ] [smarthome.event.ExtensionEvent ] - Extension 'transformation-xpath' has been uninstalled.
up to a point where it even deinstalls the PaperUI and all interfaces.
What did I do wrong? My problem now is:
- The current openhab2 instance is completely broken
- The backups are useless, as most of the userdata files will not work with the new karaf version
Is there any stable debian package, where I can just upgrade without breaking my productive system?