-
Notifications
You must be signed in to change notification settings - Fork 436
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
Upgrading to 1.42.0-1 removes all the devices #664
Comments
|
Same here....-_- |
|
Same here, raspberry pi haos instalation. Some devices working some not, reverse backup dont work. Fix it quick! |
|
That's interesting, in my case restoring backup did a trick 🤔 |
|
My add-on is not even starting. Error while starting zigbee-herdsman |
I had the same question. I had no issues upgrading, but noticed that my config was not actually migrated as indicated in the "unreleased" notes. I think those notes are intended for the upcoming 2.0 release in January, and don't apply to this release. |
|
All devices removed, restoring backup doesn't help at all |
|
Same issue here, tried to followup the steps to move the directory but the path is different using the Home Assistant Green devices. All zigbee devices are not responding anymore although I can see all there in the Z2M list |
|
Same issues.. .oooof tried all the above still cannot control any Z2M devices.. |
Check their names in HA, not in Z2M list. I've already read reports about entities been renamed to their friendly names. Happened to me too. Instead of default IEEE (or whatever it is) name i have something like water_heater_plug. Need to somehow rename them all back... I hope there is another way to fix this, not manually. |
|
After reset whole system (red button) and backup zigbee2mqtt start |
|
After I updated the system, all my devices disappeared. |
|
Could you check if this is fixed in the 1.42.0-2 addon? Should be there in a few mins from now. |
Looks like that has done the trick! Devices are back |
|
That was already there before. |
|
I had the problem with the huge config file containing device icon data a while back because i ticked the option "Bilder lokalisieren (locize pictures)" in the gui under config/tools. System was unusable so i restored old config file .. |
@Koenkk Thank you for the fix! But I was able to "fix" the error after upgrading to 1.42.0-1 on my own by simply following the advice and moving the config folder. Can I safely update to 1.42.0-2 anyway or would I have to move the folder back to the former location? |
Fix it quick? It's a free integration, you don't have anything to demand here. It's open surce, if you want quick solutions please consider contributing to this repo. |
|
Just spend the day to reappair everything, fix all automations & co. Saw the update, felt stupid, updated z2m, then lost everything again And revert back to save previous update don't restore my devices. Sad. Will see tommorrow aha Still, thanks for your work @Koenkk , take the time you need |
|
Hello, have you seen comment about relocated root directory? I had same experience, but I then moved data from: BR JS |
|
Just came here to mention that I didn’t observe any issue when upgrading to 1.42.0-1. I also upgraded to 1.42.0-2 and things are still running smoothly. |
The very same here on two instances here running HA Supervisor. No issues encountered so far. |
The thing is when I updated to 0-1 I still had my devices. It was when I did the migration that I lost them all. I re-paired them all, then saw the 0-2 update, did a save then updated. Lost all devices again, and restoring save dont bring them back. |
|
A lot of these minor updates breaks my system, so I just rollback and the next one usually works. Will try this one. Thanks. |
|
I have the following 'lagecy' settings changed to false ever since version 1.31 or older. No issue upgraded from 1.41.0-1. homeassistant: |
Thanks for the details. I am running 1.42.0.2 and not performed the copy/move operation Would this work ?
How did to get the files in /addon_config/zigbee2mqtt directory ? |
|
I got it to work by changing the path, but it doesnt seem to perform very well now. Lights either take forever to switch or cant be reached at all. If i powercycle them they work again for a while. Switching them from the quick panel on my phone (android) takes about a minute now. |
|
also for those using EDGE version the path IS DIFFERENT ie |
My target dir was initially empty, so I did (no -f needed) which is effectively the same as the command you gave, /config is just a link to /homeassistant |
I am seeing no such delays, all my zigbee stuff (lights and door sensors etc.) is responding/reporting instantly. Does your zigbee map look ok, maybe one or more routers have dropped off for some reason? Maybe try power cycling your zigbee dongle? |
|
Is it secure to update to 1.42.0-2 ? |
|
Had this issue as well. |
Everything looks fine. Already restarted the host multiple times and tried different usb ports. Im running the same hardware (and zigbee devices) for over a year now, never had any problems. |
|
Lucky i did NOT update at all.. I really don't know why this version has been released.. majority of the people don't even know what to do... so updating from a remote location is a no-no for me now. |
Maybe take your time to think again and delete this comment. This definitely didn't happen intentionally. Remember, the developers made this great software during their free-time. |
|
Same issues here. The Sonoff Bridge Pro (I am using two of them ) are connected via wifi. |
Checking for ota updates works ok for me too. Strange... |
The -2 updated seem to have reverted to /homeassistant/zigbee2mqtt/ as that is the folder where data is being updated for me now. I did "mv /root/addon_configs/45df7312_zigbee2mqtt/zigbee2mqtt /root/addon_configs/45df7312_zigbee2mqtt/zigbee2mqtt.old" then rebooted and everything is working still. |
|
For me 1.42.0-1 works perfectly without any issued. Will keep this version now. Core 2024.11.3 ConBee II adapter |
|
I still have 1.41.0-1. |
|
so my path looks like this: now - I have to figure out where that addon directory is - or maybe I need to create the whole path? addon/45df7312_zigbee2mqtt/config ? |
|
z2m in docker should check if the |
This upgrade should be fine! I think for users that already upgraded to |
Does this apply to the users who upgraded to 1.42.0-1 and have a working setup because they moved the files according the release notes? |
Yes (I think) |
|
I had installed 1.42.0-1 in a test HA and without doing anything with it, the data_path field was initially set to the new location /addon_config/zigbee2mqtt I just installed the 0-2 level there, and it has now reverted to /config/zigbee2mqtt, so I assume from this that we should not have carried out the move yet after all. What a mess. |
|
@dpgh947 could you check if if works again after changing the data path to |
My main live setup is working fine now with the files in the new location, this is just what I saw when I installed the addon on a test HA - it isn't running or configured at all on there, I was just seeing what the data_path was initially set to. So I assume that any more interim updates to the addon before the big change that is coming will revert the data_path field to /config again?? |
|
What is going on? what is the fix doing? does it create a new directory and copies the files from the original place? |
The Migration is in v2.0 Branch #649 |
|
One hint from my side: If I move the folders via cli then all is ok. If I move it with vscode add-on then something goes wrong and z2m UI is empty. |
|
not sure what's wrong with my install but I moved to addon_config ... but still seeing errors, and zigbee2mqtt is not starting: |





Description of the issue
Upgrading the add-on from v1.41.0-1 to 1.42.0-1 removes all the configured devices and possibly other config options, I didn't check it, just run to restore backup ASAP.
Since this is not a major release, it shouldn't introduce any breaking changes.
Addon version
1.42.0-1
Platform
Core 2024.11.3
Supervisor 2024.11.4
Operating System 13.2
Frontend 20241106.2
Logs of the issue (if applicable)
No response
The text was updated successfully, but these errors were encountered: