-
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....-_- |
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: |
hello, first of all, thank you for that great project! its really a blessing :) i have a question please. may i ask if its safe to update? i was an idiot and didnt move folder so i had to re pair everything and now i am afraid to update because it says "an attempt to fix github issue 664", now i ask myself if i should update or better skip and update next update release. i am not so experienced so i am afraid to break something :( |
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: |
Reupping here from a separate issue I had opened - I also ran into issues with a device I added between -1 and -2 disappearing. Here's the sequence of events I was dealing with:
|
Before upgrading to version 1.42.0-2, I would like to confirm: if I started using Z2MQTT with version 1.42.0-1, will I need to re-pair all devices after the upgrade, or is there a way to migrate everything beforehand? |
I just changed the config path to "/addon_config/zigbee2mqtt". Let it make a backup before the update and you should be save in case something goes wrong. |
Would add to do a full backup (not just the add-on backup) - not sure if
it's an issue in -2, but when things went sideways in my upgrade to -1 it
was, in part, because the addon-only backup that HA creates didn't include
the old config location.
…On Tue, Dec 3, 2024 at 12:36 PM Daemonentreiber ***@***.***> wrote:
Before upgrading to version 1.42.0-2, I would like to confirm: if I
started using Z2MQTT with version 1.42.0-1, will I need to re-pair all
devices after the upgrade, or is there a way to migrate everything
beforehand?
I just changed the config path to "/addon_config/zigbee2mqtt".
Let it make a backup before the update and you should be save in case
something goes wrong.
—
Reply to this email directly, view it on GitHub
<#664 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYZHVNOA4367UJNBBRIAM5D2DX23XAVCNFSM6AAAAABS3KYBKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVGMYTEOJYGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm totally lost... Have been trying to restore everything but the Addon won't start due to 502: Bad Gateway :-(
Zigbee2MQTT Home Assistant Core |
eventually got things working.. what's strange is "addon_config/zigbee2mqtt" doesn't work for me. but "/config/zigbee2mqtt" works on 1.42.0-2 lots of smaller devices are showing as offline - but i think will eventually come back. like remotes - on first use, they flip from offline to online. just need to walk around and push buttons, i guess. |
@Daemonentreiber @AXEBro Thanks for your response. I confirm, just copying |
Let's continue in Koenkk/zigbee2mqtt#25048 |
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: