Hardware: Raspberry Pi 4 Model B Rev 1.1
OS: Linux/5.10.17-v7l+ (arm)
Java Runtime Environment: 11.0.9 (Zulu11.43+88-CA)
openHAB version: 3.0.1 (Docker)
I’m not able to install any bindings. The following message is visible in the logs:
2021-11-10 09:24:48.584 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-shelly, openhab-automation-jythonscripting, openhab-binding-mqtt, openhab-ui-basic, openhab-misc-openhabcloud, openhab-binding-telegram, openhab-persistence-influxdb, openhab-ui-habpanel, openhab-binding-denonmarantz, openhab-binding-zwave, openhab-binding-samsungtv': Error:
Error downloading mvn:org.openhab.addons.bundles/org.openhab.binding.zwave/3.0.1
I think the mvn repository is correct:
org.ops4j.pax.url.mvn.repositories = https://openhab.jfrog.io/openhab/libs-release@id=openhab,https://openhab.jfrog.io/openhab/libs-release@id=openhab@snapshots,https://jcenter.bintray.com/@id=jcenter
And the docker image has internet access.
Any idea what is going wrong?
If I copy
openhab-addons-3.1.0.M5.kar into “…/openhab/addons” I get the following error:
2021-11-10 13:21:10.382 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-shelly, openhab-automation-jythonscripting, openhab-ui-basic, openhab-misc-openhabcloud, openhab-binding-telegram, openhab-persistence-influxdb, openhab-ui-habpanel, openhab-binding-denonmarantz, openhab-binding-zwave, openhab-binding-samsungtv': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-shelly; type=karaf.feature; version="[3.1.0.M5,3.1.0.M5]"; filter:="(&(osgi.identity=openhab-binding-shelly)(type=karaf.feature)(version>=3.1.0.M5)(version<=3.1.0.M5))" [caused by: Unable to resolve openhab-binding-shelly/3.1.0.M5: missing requirement [openhab-binding-shelly/3.1.0.M5] osgi.identity; osgi.identity=org.openhab.binding.shelly; type=osgi.bundle; version="[3.1.0.M5,3.1.0.M5]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.binding.shelly/3.1.0.M5: missing requirement [org.openhab.binding.shelly/3.1.0.M5] osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.measure)(version>=2.1.0)(!(version>=3.0.0)))"]]
November 10, 2021, 3:35pm
You often can not install add-ons from a later version of OH on an older version of OH. You’ve downloaded the kar file for 3.1.0M5 but you have reported running 3.0.1. You should either update to 3.1 or download the kar file for 3.0.
Also, if you’ve not updated in awhile your system might still be pointing at Bintray. Bintray was shut down quite some time ago. Search the forum for “Bintray” and you’ll see lots of discussion and solutions to get your system pointed at Jfrog instead.
Yes you are right, I missed the different versions.
After I updated the image, everything works fine, thx.