Synology DSM7 + MQTT + HA +DeconZ ... in Docker Setup

I am trying to migrate my Home Assistant (Fresh Install) from Raspberry Pi to my Synology DS918+ NAS system with DSM7.

So far I was able to install Home Assistant (Docker), DeconZ with my Conbee II (Docker) and connect the stick to the NAS. All Zigbee lights and switches work perfectly.

The only issue I have now is to run Mosquitto. I was following this guide:

But when I put the following in the mosquitto.conf:

persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log

… the Mosquitto Docker ist starting with the following log (local mode only):

1639237232: mosquitto version 2.0.14 starting
1639237232: Config loaded from /mosquitto/config/mosquitto.conf.
1639237232: Starting in local only mode. Connections will only be possible from clients running on this machine.
1639237232: Create a configuration file which defines a listener to allow remote access.
1639237232: For more details see https://mosquitto.org/documentation/authentication-methods/
1639237232: Opening ipv4 listen socket on port 1883.
1639237232: Opening ipv6 listen socket on port 1883.
1639237232: Error: Address not available

When I use this config according the video:

persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
#password_file /mosquitto/config/pwfile
allow_anonymous true 
listener 1883 192.(*my local synology nas ip) 

The docker starts and immediatly crashes with the following log message:

1639239019: mosquitto version 2.0.14 starting
1639239019: Config loaded from /mosquitto/config/mosquitto.conf.
1639239019: Opening ipv4 listen socket on port 1883.
1639239019: Error: Address not available

Anybody achieved a working (outside of host) Mosquitto install on Synology DSM7?

… ok weird with this config it actually worked now (also did a host system reboot):

persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
#password_file /mosquitto/config/pwfile
allow_anonymous true 
listener 1883
1 Like

You are fast :slight_smile: Glad you got it working.
With change in 2.0.12 (or something like that), setup from video stopped working - you have to remove IP address from listener (what you figured).

It’s hard to keep up with breaking changes and there is always something.

1 Like