[SOLVED] MQTT not working after upgrade to 2.3

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: what OS is used and which version
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version:
  • Issue of the topic: please be detailed explaining your issue
  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

Today I upgraded from 2.2 to 2.3, and there is a lot of problems. One of the problem is that MQTT no longer works. It did not work when I upgraded from 2.1 to 2.2, but then I just reinstalled the MQTT action and thereafter it worked. However, now I can no longer find the “Actions” in paper. I thought it was on the “add-on” section, but there I can only see “Bindings”, “MISC” and “Voice”. Where can I find “Actions” in 2.3? Or do I need to do something else to get MQTT to work?

Here my \OPENHABIANPI\openHAB-share\openhab2-userdata\config\org\openhab\addons.config

action="mqtt"
binding="astro,exec,expire1,gpio1,zwave,mqtt1"
misc="restdocs"
package="standard"
persistence="rrd4j,mapdb"
service.pid="org.openhab.addons"
transformation="regex,map"
ui="basic,paper"

What do you want to install the MQTT-Binding or the MQTT-Action. Both are in my file.
Change to Package_“standard” and restart openHAB, to get ACTIONS in PaperUI.

I just replaced the addons.config file with the backup that I did before the upgrade, and now all of a sudden I have access to the “Actions”!

Thank you ever so much!!!

That’s fine. Please mark as solved.

I know this is already marked as Solved but here are the steps I had to follow after upgrading Openhabian 2.2 to 2.3.

Uninstall MQTT-Binding, MQTT-Action and MQTT-Persistence
Stop Openhab2 service
apt-get purge mosquitto, mosquitto-clients
Install the Mosquitto option again using openhabian-config
In PaperUI install MQTT-Binding, MQTT-Action and MQTT-Persistence

Re-start broker.

All is good.
Not sure why this should be necessary but hopefully others may find it helpful.

2 Likes