Destroyed Installation of OH 2.5 after installing influxdb binding

  • Platform information:
    • Hardware: Raspberry 3B+
    • OS: openhabian 2.5
    • openHAB version: openhabian 2.5
  • Issue of the topic: after trying to install influxdb addon binding I got error in the logfile that it is failing to install.
2021-02-10 13:58:10.955 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-persistence-influxdb': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-modbus; type=karaf.feature; version="[2.5.8,2.5.8]"; filter:="(&(osgi.identity=openhab-binding-modbus)(type=karaf.feature)(version>=2.5.8)(version<=2.5.8))" [caused by: Unable to resolve openhab-binding-modbus/2.5.8: missing requirement [openhab-binding-modbus/2.5.8] osgi.identity; osgi.identity=org.openhab.binding.modbus.sunspec; type=osgi.bundle; version="[2.5.12,2.5.12]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.binding.modbus.sunspec/2.5.12: missing requirement [org.openhab.binding.modbus.sunspec/2.5.12] osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.binding.modbus.discovery)" [caused by: Unable to resolve org.openhab.binding.modbus/2.5.12: missing requirement [org.openhab.binding.modbus/2.5.12] osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.io.transport.modbus.endpoint)" [caused by: Unable to resolve org.openhab.io.transport.modbus/2.5.12: missing requirement [org.openhab.io.transport.modbus/2.5.12] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.commons.pool2)(version>=2.8.0)(!(version>=3.0.0)))"]]]]

And this error was going on and on every minute… so i searched online for an solution.
I found something which was suggested to stop OH and delete the cache which i did…

now is nothing working anymore… i have no paperui and it tries to install all of the addons again and is failing with nearly the same error… does anyone know whats going on here now?

2021-02-10 14:44:09.852 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-hue, openhab-binding-exec, openhab-misc-openhabcloud, openhab-binding-network, openhab-persistence-influxdb, openhab-binding-amazonechocontrol, openhab-ui-habpanel, openhab-binding-harmonyhub, openhab-ui-restdocs, openhab-transformation-map, openhab-binding-rfxcom, openhab-binding-homematic, openhab-ui-paper, openhab-binding-modbus, openhab-ui-homebuilder, openhab-persistence-jdbc-mysql, openhab-misc-ruleengine, openhab-transformation-regex, openhab-transformation-jsonpath, openhab-misc-mqttbroker, openhab-binding-ipp, openhab-persistence-rrd4j, openhab-ui-basic, openhab-binding-ntp, openhab-binding-openweathermap, openhab-binding-astro, openhab-binding-expire1': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-modbus; type=karaf.feature; version="[2.5.8,2.5.8]"; filter:="(&(osgi.identity=openhab-binding-modbus)(type=karaf.feature)(version>=2.5.8)(version<=2.5.8))" [caused by: Unable to resolve openhab-binding-modbus/2.5.8: missing requirement [openhab-binding-modbus/2.5.8] osgi.identity; osgi.identity=org.openhab.binding.modbus.sunspec; type=osgi.bundle; version="[2.5.12,2.5.12]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.binding.modbus.sunspec/2.5.12: missing requirement [org.openhab.binding.modbus.sunspec/2.5.12] osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.binding.modbus.discovery)" [caused by: Unable to resolve org.openhab.binding.modbus/2.5.12: missing requirement [org.openhab.binding.modbus/2.5.12] osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.io.transport.modbus.endpoint)" [caused by: Unable to resolve org.openhab.io.transport.modbus/2.5.12: missing requirement [org.openhab.io.transport.modbus/2.5.12] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.commons.pool2)(version>=2.8.0)(!(version>=3.0.0)))"]]]]

Modbus binding 2.5.9 had a packaging error, that looked very similar.
I know your says 2.5.8- but then it goes on to mention 2.5.12.

I think you are the victim of some partial autoupdate of binding. Have you got a modbus jar in your /addons folder or something?

Hi there!

Thank you for your answer!

I did an update now and everything is working fine again!

sudo apt-get update
and then
sudo apt-get upgrade

Errors are gone and OH is running now!