Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zigbee2MQTT crashes and restarts every time I check for OTA updates #26505

Open
ik3rp3r3 opened this issue Feb 25, 2025 · 0 comments
Open

Zigbee2MQTT crashes and restarts every time I check for OTA updates #26505

ik3rp3r3 opened this issue Feb 25, 2025 · 0 comments
Labels
problem Something isn't working

Comments

@ik3rp3r3
Copy link

ik3rp3r3 commented Feb 25, 2025

What happened?

I recently added a couple of new devices to the network, and one of them, a SONOFF ZBMINIR2 switch, will periodically have an error when using the physical switch connected to it. So, I found that it can be fixed with a firmware update. But I go and try checking for OTA updates, and either the whole Zigbee2MQTT system crashes and restarts, or the adapter does, I cannot know the difference.

The case is that I lose control of all my zigbee devices for some seconds and I cannot access the Zigbee2MQTT frontend for a moment, then, it comes back. I've tried checking for updates of other devices because I thought the new switch could be the problem, but it still does the same for the other devices. I also have realised that if I look at the firmware attribute in HA, for all the devices that support OTA updates, both "installed_version" and "latest_version" have -1 values.

Could anyone help me figure out what I can do to fix my OTA updates?

Thanks!!

What did you expect to happen?

Check for updates succesfully and show if there's any new version

How to reproduce it (minimal and precise)

  1. OTA tab
  2. Click "Check for updates" in any device

Zigbee2MQTT version

2.1.1

Adapter firmware version

8.0.2 [GA]

Adapter

ZB-GW04 (v1.2)

Setup

docker container in RPi3b+

Debug log

No log is created when it happens, because it instantly crashes after "z2m: Checking if update available for ..."

@ik3rp3r3 ik3rp3r3 added the problem Something isn't working label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant