try the following:
0) switch to root (sudo su
)
- stop the OH2 service (
systemctl stop openhab2
) - move the mqtt.config file to another destination:
mv /var/lib/openhab2/config/org/openhab/mqtt.config /root/
) - make sure that
/etc/openhab2/services/mqtt.cfg
is correctly configured - start the OH2 service (
systemctl start openhab2
) - check logs (openhab & mosquitto)