Fixing Domoticz / Mosquitto not working after a (beta) upgrade
March 13, 2026 —
Nico Cartron
I recently upgraded my Domoticz instance (using ./updatebeta), and after that, Domoticz would not start anymore, with the below error message:
domoticz: error while loading shared libraries: libmosquitto.so.1: cannot open shared object file: No such file or directory
Turns out, fixing it was easy - just:
- reinstall Mosquitto,
- and run ldconfig (to refresh the system’s dynamic linker cache so Linux can find again the shared libmosquitto.so.1. library)
apt install --reinstall libmosquitto1 mosquitto mosquitto-clients
ldconfig
systemctl stop domoticz
systemctl start domoticz
Tags: Automation