I have an openhab 3 instance running for a while without issue on a VM (Debian on ESXi). I’m now trying to add the MQTT binding but it doesn’t install apparently due to some missing packages or dependencies which I’m unable to resolve.
I have already try re-installing java, stop/restart openhab but issue stays.
Any help would be much appreciated…
Thanks
Platform information:
Hardware: VM Intel x86/8Gb RAM/64Gb SSD
OS: Debian GNU/Linux 10 (buster)
Java Runtime Environment:
openjdk version “11.0.8” 2020-07-14 LTS
OpenJDK Runtime Environment Zulu11.41+23-CA (build 11.0.8+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.41+23-CA (build 11.0.8+10-LTS, mixed mode)
openHAB version: 3.0.1
Issue of the topic: Unable to install MQTT binding
If logs where generated please post these here using code fences:
Jun 06 09:57:34 vm-openhabian karaf[571]: org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-package-standard; type=karaf.feature; version="[3.0.1,3.0.1]"; filter:="(&(osgi.identity=openhab-package-standard)(type
Jun 06 09:57:34 vm-openhabian karaf[571]: at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
Jun 06 09:57:34 vm-openhabian karaf[571]: at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392)
Jun 06 09:57:34 vm-openhabian karaf[571]: at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
Jun 06 09:57:34 vm-openhabian karaf[571]: at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
Jun 06 09:57:34 vm-openhabian karaf[571]: at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
Jun 06 09:57:34 vm-openhabian karaf[571]: at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:393)
Jun 06 09:57:34 vm-openhabian karaf[571]: at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
Jun 06 09:57:34 vm-openhabian karaf[571]: at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
Jun 06 09:57:34 vm-openhabian karaf[571]: at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
Jun 06 09:57:34 vm-openhabian karaf[571]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
Jun 06 09:57:34 vm-openhabian karaf[571]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
Jun 06 09:57:34 vm-openhabian karaf[571]: at java.base/java.lang.Thread.run(Unknown Source)
You should update to openHAB 3.02 stable and download the openhHAB-addons.kar file as your openHAB might still point to bintray repositories, which have been shut down last month. There have been many posts around that issue.
Ok nevermind… I did clean all cache and tmp folders and upload again the new 3.0.2 kar files and everything got updated properly after restart. MQTT is now installing properly