# Frequent crashes of the Zigbee2Mqtt integration

**URL:** <https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413>\
**Category:** Configuration\
**Created:** [March 3, 2025, 6:18pm UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413 "2025-03-03T18:18:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bab85](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@bab85](https://community.gladysassistant.com/u/bab85)\
**Post date:** [March 3, 2025, 6:18pm UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/1 "2025-03-03T18:18:56Z")

</div>

Hello everyone,

Since the switch to 2025 (link or not, I don’t know), my Zigbee2mqtt integration crashes about every 10 days. It started in January and I’m now on my 4th restart of Gladys to get everything back to normal.

I notice it because my zigbee devices stop responding. When I go to the Zigbee2mqtt configuration, the service is disabled, and it’s impossible to enable it («&nbsp;an error occurred, check the service configuration&nbsp;»). There is a red cross between the Gladys module and Mqtt and between Mqtt and Zigbee2Mqtt.

I turn off the Beelink, restart it and it’s back up (for about ten days).

I don’t think I’ve seen this issue reported on the forum. Any idea what the bug might be?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 3, 2025, 6:25pm UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/2 "2025-03-03T18:25:14Z")

</div>

Hi @bab85 🙂

What model of Zigbee USB stick do you have?

Can you check the logs of the Zigbee2mqtt container to see what’s wrong?

```auto
sudo docker logs gladys-z2m-zigbee2mqtt

```

You might see a lot of logs; you may need to scroll back a bit to find the moment when the issue occurred.

---

<div class="post-metadata">

**Author:** ![bab85](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@bab85](https://community.gladysassistant.com/u/bab85)\
**Post date:** [March 3, 2025, 7:23pm UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/3 "2025-03-03T19:23:13Z")

</div>

I have a SONOFF Dongle Plus ZBDongle-P model.

As for the logs, I’m having trouble.  
When I run your command it tells me that the container does not exist. When I run `sudo docker ps`, it outputs nothing.

Digging deeper I realize that the files are hidden: doing `ls` at the root I get nothing, doing «&nbsp;ls -a&nbsp;» I have folders («&nbsp;.config&nbsp;» for example).  
So I tried «&nbsp;sudo docker ps -a&nbsp;» and there I only have one container «&nbsp;gladys&nbsp;».  
I must have missed something ☹

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 3, 2025, 7:26pm UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/4 "2025-03-03T19:26:10Z")

</div>

It’s my fault @bab85, I got the container name wrong.

You need to do:

```auto
sudo docker logs gladys-z2m-zigbee2mqtt

```

By the way, are you sure about your `sudo docker ps`?

On my side, I have:

 ![Screenshot 2025-03-03 at 20.25.32](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/5/c/5cfa6201f06bb7b31955ad78b5d1f77aa6825775.jpeg)

---

<div class="post-metadata">

**Author:** ![bab85](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@bab85](https://community.gladysassistant.com/u/bab85)\
**Post date:** [March 3, 2025, 7:50pm UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/5 "2025-03-03T19:50:48Z")

</div>

I won’t have time to dig into this tonight, but it’s true that my setup does seem odd.  
I confirm that when I run sudo docker ps I

---

<div class="post-metadata">

**Author:** ![bab85](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@bab85](https://community.gladysassistant.com/u/bab85)\
**Post date:** [March 9, 2025, 9:14am UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/6 "2025-03-09T09:14:09Z")

</div>

Hello,  
Following the system update, I again have containers present when I run sudo docker ps.  
But when I try to check the logs, I can only go back as far as yesterday morning.  
I’ll wait for the next crash (if it happens again, since maybe the update will have fixed everything).

---

<div class="post-metadata">

**Author:** ![bab85](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@bab85](https://community.gladysassistant.com/u/bab85)\
**Post date:** [March 18, 2025, 7:00pm UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/7 "2025-03-18T19:00:42Z")

</div>

Good evening,

It crashed again today. Just 15 days after the last crash and 10 days after the last reboot.  
I ran sudo docker logs gladys-z2m-zigbee2mqtt: it tells me the container doesn’t exist.  
I ran sudo docker ps: nothing. No containers listed.  
I rebooted the system: the Zigbee is operational again, but the commands still return no result.  
I ran updates again, but no better — I still officially have no containers running, and yet everything works correctly. But I can’t tell what happened.

Anyone have an idea? 😥

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 18, 2025, 7:23pm UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/9 "2025-03-18T19:23:44Z")

</div>

@bab85 It’s really strange that you don’t see any containers even though everything is running, are you sure about the installation you did?

Would a full reinstallation be possible? There’s something really odd about your setup, you may have made a mistake during your first installation

---

<div class="post-metadata">

**Author:** ![bab85](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@bab85](https://community.gladysassistant.com/u/bab85)\
**Post date:** [March 22, 2025, 8:14am UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/10 "2025-03-22T08:14:35Z")

</div>

Hello,

Yes, a complete reinstallation is possible since I have the Gladys Plus backup. But what I find strange is that it worked for 2 months without problems, and that it has been crashing since 2025.

Then, I’m thinking of two things:  
The installation I currently have is already based on a backup: I was on a Raspberry Pi, and I migrated to a Beelink by doing a normal installation, then at startup I immediately restored a backup. Wouldn’t that create like two instances of the installation? Which would mean that when I run sudo docker ps, it returns nothing because on the initial installation I don’t have any docker running; and yet everything works because it’s my second instance doing the job. It may be silly, but well, not knowing how it works, I tell myself that might be an explanation.

About my crashes: it crashed again yesterday. And I notice I’m on version 4.55.2. Whereas on Monday you announced the release of 4.55. So I wonder if my installation crashes with every update. Do you have the dates (even approximate) of the updates made available to devices in 2025?

So, I’d like to try to understand, but if it’s hopeless, I’ll redo an installation 😥

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 24, 2025, 8:02am UTC](https://community.gladysassistant.com/t/plantages-reguliers-de-lintegration-zigbee2mqtt/9413/11 "2025-03-24T08:02:19Z")

</div>

> [@bab85](#):
>
> Wouldn’t that create two instances of the installation?

No, restoring a backup does not start a second container, it just restores a database file inside the same container.

> [@bab85](#):
>
> Do you have the dates (even approximate) of the updates made available for the terminals in 2025?

Here are all the dates:

> **[Releases · GladysAssistant/Gladys](https://github.com/GladysAssistant/Gladys/releases)**
>
> A privacy-first, open-source home assistant. Contribute to GladysAssistant/Gladys development by creating an account on GitHub.

> [@bab85](#):
>
> So, I’d like to try to understand, but if it’s hopeless, I’ll reinstall 😥

I think in your case something is wrong, because if a `sudo docker ps` shows nothing while Gladys is running, that’s just bizarre. To me there’s an underlying software issue beneath Gladys:

- Either an issue with the version of Ubuntu Server you installed. Maybe the version had a bug the day you installed Ubuntu.
- Or an issue with the version of Docker you installed
- Or a mistake during the installation

If you want us to have a call one day to look at it together, no problem — I’m always available 🙂
