-
Notifications
You must be signed in to change notification settings - Fork 476
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
Z2M won´t start - required add-on configuration ‘data_path’ option is missing! #662
Comments
Today after updating Home Assistant, my zigbee2mqtt addon refused to start,
What i did to make it work : After doin this it started again. Best regards :) |
This is all very confusing, especially that "Unreleased" heading - what does that mean? That the automatic migration is still to come? I just updated to 1.42.0-1, didn't think I had to do anything because (afaik) I'm an installation "using the default settings", the addon has restarted, everything is still where it was under /config, the new dir under addon_configs is there but empty (seems to have been created at the start of November), and everything is still working. So I don't understand if I am supposed to do anything still, and also why some people's installs seem to break after installing this update but mine hasn't? |
I have just updated to 1.42.0-1 and my setup is now broken. ZtoMQTT will not start. I can't use the suggested VS Code fix as I don't have a certificate installed so can't use clipboard functionality and I'm not confident enough to use Linux command line to move stuff around, so I think my option option is to roll back. [2024-12-02 10:03:20] error: z2m: Error: No path provided and failed to auto detect path |
I changed the data_path back to /config/zigbee2mqtt in the Zigbee2MQTT Configuration page and it works again, but this has to be a temporary fix until I can figure out how to move the configuration files. I don't know why I have faced this issue as AFAIK mine is just a 'standard' setup under HAOSS on a RaPi |
Hi ! I use HA OS on a Blue hardware : i have nothing under /mnt The text say to move to /addon_config**s/45df7312_zigbee2mqtt**/zigb2mqtt and after to change the data_path value to /addon_config/zigb2mqtt ! So, what to do ? |
Same here, my system is down |
Here are the steps that I took in order to get my Z2M add-on back up and running:
I hope this is helpful, please use extreme caution with these instructions! |
Please see #664 (comment) |
Solved with 1.42.0-2 addon. However default data_path setting still points to config/zigbee2mqtt. Release log is confusing. |
solved it here just by inputting the device in the port field into configuration tab of the addon. Getting the device real path is as easy as
Now you know the full path of your device, you just have to go to the port field of the z2m addon and type :
In my case it s :
Here is the configuration of z2m yaml (for info):
|
Hello and happy new year the addon will not start yet "Error while starting zigbee-herdsman" an i think that i made a foult in the data path. I dont want to move to ZHA now but i will, if i cant find a solution. Thanks much and best regards Andreas |
Hi again, i made an update to version 2.0.0.1 but without success ): 2025-01-05 12:08:33] info: z2m: Logging to console, file (filename: log.log) |
the access rights look fine. |
This is strange indeed. I have still doubts that i copyed to the right directory, because diferent file editors are showing deferent paths. To be sure i restored a add on backup from version 1.41.0.1, but the is no separate device.yaml. |
i really appreciate your help !
|
in the log this message : [2025-01-05 12:08:45] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions have you check the url and read & done the tests near the "host_fatal_error" in the text ? |
I have tried the copying of files into the new folder and still nothing. I have tried 1.42, 2.0 and continue to get the error curl: (28) Failed to connect to supervisor port 80 after 134771 ms: Could not connect to server |
Thanks for the tip Alain, I hadn't thought of that. But i will check firmware update of the sonoff stick tomorrow. I try and keep you informed. |
new release of Z2M ... try it ... |
Oh, man :) I am so happy i can´t tell you. I updated the firmware of my Sonoff dongle E with ncp-uart-hw-v7.4.5.0-zbdonglee-115200.gbl file and i updated the add on to 2.0.0.2 and it works. Thank you very much. I learned a lot from your input. Have a good time, thank you and good luck ! |
Hi guys. I am still running 1.42.0-2 and plan to migrate to 2.0.0-2 version. Do I have to do the migration of my config files to new folder /addon_config/zigbee2mqtt from 'unreleased' release notes from previous version of add on ? |
I did as some others did but also others did not so your mileage may vary |
Important question is: is it required? |
Yes |
Everything worked out! Thank you! |
Description of the issue
Hi
I´m running HAOS and I’m using the default data_path of /config/zigbee2mqtt. Here’s my current Z2mqtt configuration:
When I try to Start the add-on, it will not and the log is filled with repetitive errors:
Addon version
1.41.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: