Cannot get Mosquitto broker addon to start with default ports

I can’t seem to figure out why Mosquitto broker will not start with the default ports in the configuration. If I change the ports, it starts. I’m getting no logs when I click the start button.

Underneath home assistant I’m running Ubuntu 18.04.4 LTS on docker with portainer

Addons currently installed:
DuckDNS
File Editior
Hass.io Google Drive Backup
MariaDB
Mosquitto broker
Node-Red
Samba Share
TasmoAdmin

In the end, does it matter if it’s not default ports? Could there be another broker running somewhere else?

My guess: the Ubuntu mosquitto snap is running.

No but you have to remember to configure your clients to use the non-standard port.

So I finally had some time to look around and it appears I have another broker running in

/etc/mosquitto/

I’m not really sure what it’s doing however, checked the log and it only says:
Saving in-memory database to /var/lib/mosquitto/mosquitto.db.

Should I stop this one?

image

You choose to use this one, or the add-on. If you want to use the add-on :

sudo apt-get purge mosquitto
1 Like