Hello, I’ve just done a re-install of openhab2 because my SD was corrupted. I had backed-up config folder and userdata folder. I put them back on the new install. Everything is working fine but the mqtt part is not working. I noticed that the binding wasn’t installed. So i tried to do it manually to see the error, here it is:
openhab> feature:list | grep MQTT
esh-tp-paho | 0.10.0.b1 | | Uninstalled | distro-2.2.0 | MQTT v3 Client
openhab-transport-mqtt | 2.2.0 | | Uninstalled | distro-2.2.0 | MQTT Transport
openhab-action-mqtt | 1.11.0 | | Uninstalled | openhab-addons-2.2.0 | MQTT Action
openhab-binding-mqtt1 | 1.11.0 | | Uninstalled | openhab-addons-2.2.0 | MQTT Binding
openhab-binding-mqttitude1 | 1.11.0 | | Uninstalled | openhab-addons-2.2.0 | OwnTracks (formerly MQTTitude) Binding
openhab-persistence-mqtt | 1.11.0 | | Uninstalled | openhab-addons-2.2.0 | MQTT Persistence
openhab> feature:install openhab-binding-mqtt1
Error executing command: Uses constraint violation. Unable to resolve resource org.eclipse.smarthome.model.lsp [org.eclipse.smarthome.model.lsp/0.10.0.b1] because it is exposed to package 'org.eclipse.xtext.xbase.lib' from resources org.eclipse.xtext.xbase.lib [osgi.identity; type="osgi.bundle"; version:Version="2.9.2"; osgi.identity="org.eclipse.xtext.xbase.lib"] and org.eclipse.xtext.xbase.lib [org.eclipse.xtext.xbase.lib/2.12.0.v20170518-0757] via two dependency chains.
Chain 1:
org.eclipse.smarthome.model.lsp [org.eclipse.smarthome.model.lsp/0.10.0.b1]
require: (osgi.wiring.bundle=org.eclipse.smarthome.model.persistence)
|
provide: osgi.wiring.bundle: org.eclipse.smarthome.model.persistence
org.eclipse.xtext.xbase.lib [osgi.identity; type="osgi.bundle"; version:Version="2.9.2"; osgi.identity="org.eclipse.xtext.xbase.lib"]
Chain 2:
org.eclipse.smarthome.model.lsp [org.eclipse.smarthome.model.lsp/0.10.0.b1]
import: (osgi.wiring.package=org.eclipse.lsp4j.launch)
|
export: osgi.wiring.package=org.eclipse.lsp4j.launch; uses:=org.eclipse.lsp4j.services
org.eclipse.lsp4j [org.eclipse.lsp4j/0.2.1.v20170706-0855]
import: (&(osgi.wiring.package=org.eclipse.lsp4j.services)(version>=0.2.0)(!(version>=1.0.0)))
|
export: osgi.wiring.package=org.eclipse.lsp4j.services; uses:=org.eclipse.lsp4j
org.eclipse.lsp4j [org.eclipse.lsp4j/0.2.1.v20170706-0855]
import: (&(osgi.wiring.package=org.eclipse.lsp4j)(version>=0.2.0)(!(version>=1.0.0)))
|
export: osgi.wiring.package=org.eclipse.lsp4j; uses:=org.eclipse.xtext.xbase.lib
org.eclipse.lsp4j [org.eclipse.lsp4j/0.2.1.v20170706-0855]
import: (&(osgi.wiring.package=org.eclipse.xtext.xbase.lib)(version>=2.12.0)(!(version>=3.0.0)))
|
export: osgi.wiring.package: org.eclipse.xtext.xbase.lib
org.eclipse.xtext.xbase.lib [org.eclipse.xtext.xbase.lib/2.12.0.v20170518-0757]
openhab>
openhab> bundle:list | grep MQTT
207 | Active | 80 | 1.10.0 | openHAB MQTT Binding
208 | Active | 80 | 1.10.0 | openHAB MQTT Transport Bundle
216 | Active | 80 | 1.10.0 | openHAB MQTT Persistence Bundle
Anyone have any idea of what is going on?
I’m wondering if by copying the whole folders i broke something…