-
-
Notifications
You must be signed in to change notification settings - Fork 597
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 update fails #1315
Comments
Have you read the PR & Discussion? |
Sorry, but I cannot find anything related. Would you mind, sharing the PR in question please? |
Thanks, but I don't see a relation to the issue above. The PR and discussion seems to be about some name resolver issue in alpine, but I am trying to update the Z2M container under debian. Maybe I just don't see the connection here, but if this isn't a script issue. Do you happen to know the cause and a possible solution? |
My bad, typo on my side: #1221 |
Ah thanks! I totally did not see this whole thread. Sorry for the hassle. |
Let me add something here: I had the same problem and I think, there is something missing in the update script:
The old So there should be a |
@MickLesk there is definitively a bug in the update script - it will not work for any further updates too. |
Hi, Iβm experiencing the exact same issue and canβt update from version 1.42.0 to 2.0.0 Is there any chance the update script could be fixed? |
You can Install a new LXC and migrate data from older lxc. Nobody know the exactly state from every Z2M lxc. |
@MickLesk the issue is not with the state of Z2M lxc. The new version of the script tries to do the following:
But the directory If you already have 2.0.0 in |
Hello, thanks for the quick response. In my case, the best option was to follow steps 1 through 6 from #1221. Once I confirmed everything was working, I shut down the machine and then copied the configuration.yaml, database.db, and state.json files. After that, I created a new machine using the script from Proxmox VE Helper-Scripts Finally, I restored the files, restarted, and everything worked as it should. Thanks for your help! |
This is what worked for me. Could not get the migration to work properly otherwise. Thanks! |
β Have you read and understood the above guidelines?
yes
π What is the name of the script you are using?
Zigbee2Mqtt
π What was the exact command used to execute the script?
update
π Provide a clear and concise description of the issue.
The container installed is a couple of months old version 1.42.
When trying to execute the update command to update to version 2.0.0 the script fails with the message attached.
βοΈ What settings are you using?
π₯οΈ Which Linux distribution are you using?
Debian 12
π Steps to reproduce the issue.
β Paste the full error output (if available).
πΌοΈ Additional context (optional).
No response
The text was updated successfully, but these errors were encountered: