I found in the log that there are few more MQTT brokers started (created previously in the development phase). Now I do not need it anymore.
In “mqtt” file (openhab/services) I found the only one broker I’m using actually. So, in wich file are stored the others?
You can safely delete mqtt.config, after an openHAB restart the file will be re-created with correct contents.
Sihui, could you confirm, please, the corect command to do that:
sudo rm -f /var/lib/openhab2/config/org/openhab/mqtt.config
If you are not very familiar with Linux I would not use the
-f (force) command. Without the
-f you need to confirm deletion of that file …
Indeed, I’ve used this command to delete mqtt.config. After reboot the Pi it the file it was recreated without old MQTT brokers.
sudo rm /var/lib/openhab2/config/org/openhab/mqtt.config