Hello,
I have a problem with my Gladys installation,
The MQTT and ZIGBEE2MQTT services have stopped working, I can’t figure out why, I haven’t changed anything in particular, here is the log message, I’d appreciate any troubleshooting suggestions.
My current setup uses unRAID OS, they moved from Docker version 20.10.24, build 297e128
to Docker 23, then reverted because of stability issues or something, do you think that could be the problem?
2023-08-17T23:24:37+0200 \u003cwarn\u003e service.start.js:44 (Service.start) Unable to start service zigbee2mqtt PlatformNotCompatible [Error]: DOCKER_CONTAINER_ID_NOT_AVAILABLE
at System.getGladysContainerId (/src/server/lib/system/system.getGladysContainerId.js:115:11)
at System.getNetworkMode (/src/server/lib/system/system.getNetworkMode.js:16:25)
at Zigbee2mqttManager.init (/src/server/services/zigbee2mqtt/lib/init.js:19:23)
at Object.start (/src/server/services/zigbee2mqtt/index.js:17:5)
at Service.start (/src/server/lib/service/service.start.js:33:7)
at start (/src/server/api/controllers/service.controller.js:22:21)
2023-08-17T23:24:39+0200 \u003cinfo\u003e index.js:16 (Object.start) Starting MQTT service
2023-08-17T23:24:39+0200 \u003cwarn\u003e service.start.js:44 (Service.start) Unable to start service mqtt PlatformNotCompatible [Error]: DOCKER_CONTAINER_ID_NOT_AVAILABLE
at System.getGladysContainerId (/src/server/lib/system/system.getGladysContainerId.js:115:11)
at System.getNetworkMode (/src/server/lib/system/system.getNetworkMode.js:16:25)
at MqttHandler.checkDockerNetwork (/src/server/services/mqtt/lib/checkDockerNetwork.js:8:29)
at MqttHandler.getConfiguration (/src/server/services/mqtt/lib/getConfiguration.js:24:24)
at MqttHandler.init (/src/server/services/mqtt/lib/init.js:13:25)
at Object.start (/src/server/services/mqtt/index.js:17:5)
at Service.start (/src/server/lib/service/service.start.js:33:7)
at start (/src/server/api/controllers/service.controller.js:22:21)
So when I try to uncheck and recheck it it doesn’t do anything at all, I even have the impression that the button no longer works (nothing appears in the logs when I click on it), and in the integrations in the settings, both are in error and cannot be started
@pierre-gilles this could be coming from there, it reminds me of the adjustments we had to make to get it running on unraid and the addition of a variable to the docker: /var/run/docker.sock, or even this thread: Gladys sur Unraid
However, I just checked and the docker.sock is still in the same place:
Indeed, that solved my problem, but what bothers me is that I didn’t need it before — probably Unraid hadn’t been upgraded to Debian 11. I’ll update the template that’s on git
Thanks a lot @pierre-gilles