Mosquitto MQTT 4.1 doesnt work after update

I have done it in the past by restoring from a snapshot.

1 Like

Thankfully found and older snapshot with version 2.0, works like a charm again.

1 Like

So, updated addon and my cou is now 25-30% usage from prevoius 10% on my RPI. Temp in rpi has gone up alot. So tried downgradeing addon to version 4 with partial snapshot but get the following error message.

19-03-11 12:41:30 ERROR (SyncWorker_2) [hassio.docker.interface] Can’t install homeassistant/armv7-addon-mosquitto:4 -> 404 Client Error: Not Found (“manifest for homeassistant/armv7-addon-mosquitto:4 not found”).

19-03-11 12:27:05 ERROR (SyncWorker_5) [hassio.docker] Can’t create container from addon_core_mosquitto: 404 Client Error: Not Found (“No such image: homeassistant/armv7-addon-mosquitto:latest”)

Anyone know how to dowmgrade? I cant use 4.1.

Im having the exact same issue - im going truly mad:( Arghhh. How can we inform about this to get it fixed in a hurry?

Same here, had to roll back and turn off auto-update

if you have snapshot, roll back just the mqtt

Exactly what I did and worked

I think I have the same issue. The problem is I do not have a snapshot. How do I downgrade?

had the same problem. reverted to 4.0 with partial snapshot.

well, I hope that the core HASS MQTT server will work well in the future, to not have to use external components, and have to maintain those too

Just rolled back to 4.0 but it doesn’t work for me.
All sensors show unknown and none of my Zigbee switches can be triggered.

Any ideas? Till 11am it worked for me, after that (I think there was the auto update) it stopped working.

same here, also backup to previous version

Reverting back to Mosquitto broker 4.0 fixed the issue for me as well.

In the snapshot manager of hassio, you can simply deselect everything except the Mosquitto broker 4 addon, click “restore selected”. Wait a bit until it is restored, turn off automatic updates. Restart home assistant once more and then it should work again! :slight_smile:

3 Likes

If you’re using an addon broker, report it as an issue is the addon’s github page.
All addons and HomeAssistant itself use github as the official issue tracker.

I’ll ask the same question other people were asking before. Is there any way to go back to 4.0 without a snapshot?

Seems that this is an issue with NOT having an ACL assigned for the user. Now I am using anonymous but from what I am reading it is the same for named users. The Default ACL is read only so you need to go set your acl to readwrite if you need to publish data.

I am using the Hass.IO core add-on and setup the ACL file as listed at the bottom of the page https://www.home-assistant.io/addons/mosquitto/

Then in the accesscontrollist file I placed the following (using spaces_

topic readwrite #

You can lock this down however you feel is appropriate

Then restart the mqtt add-on

1 Like

Is it possible to have multible

acl_file

set? So we can make a options anon_write or so that set a default ACL like this

Hi I do not understand well how this file accesscontrollist has to be. Currently I have no user (user “” and password “”), how shall I do in my case? Also I have too many topic , do not want to put topic restriction

user ""

When I revert I do get version 4 with old config setup but I cant start it. Do you check home assistant as well in snapshot? When it tries to get the container it says there is no version 4. I run on a pi.

mines working fine?

my mqtt config is:

{
  "logins": [
    {
      "username": "hidden",
      "password": "hidden"
    }
  ],
  "anonymous": true,
  "customize": {
    "active": false,
    "folder": "mosquitto"
  },
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem"
}

and in the hass config i have:

###MQTT Server

broker: 192.168.0.53
password: !secret mqqt_password
discovery: true
discovery_prefix: homeassistant
1 Like