I’m encountering an issue with my MQTT integration: my broker is not in Gladys but in an external Docker container on an Unraid server.
Everything works correctly through Gladys except that each time Gladys restarts (for an update, for example) the integration loses the connection settings,
Hi @zedyxer, are you sure Gladys has actually restarted when you see this message?
If I refresh the page while Gladys is rebooting, I indeed get the same message as you, however if I wait for Gladys to finish rebooting and refresh again, I do get the message « Connected to the MQTT broker successfully! »
I confirm that Gladys has indeed restarted; I have access to everything that is not MQTT.
For your information, my Docker containers are stopped one by one every morning starting at 4:00 AM to be backed up.
Because the MQTT integration is not connecting, my blinds are not opened in the morning — that’s how I noticed it, since my blinds have been associated via MQTT since this weekend
When this happens, could you check the Gladys logs as well as your browser logs?
For the Gladys logs:
docker logs gladys
For the browser logs, right-click on the page, « Inspect Element », then open the « Network » tab, and could you give me the results of the requests /api/v1/service/mqtt/config and /api/v1/service/mqtt/status?
Well, thanks for all the info
I recreated a Docker container that does include that line (cgroupns), then restored my backup and, well, it works!
Thanks for the quick response, I can move forward ^^ good evening to you both!