Zigbee for Domoticz upgrade fails

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
Rik60
Posts: 141
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: The Netherlands
Contact:

Zigbee for Domoticz upgrade fails

Post by Rik60 »

I tried to do an upgrade from 7.1.023 to 7.1.024 but that was failing.
First tried an update via de local webpage, showing that it was a succes but the version was still 7.1.023, also after a domoticz restart
Doing a (sudo) git pull, even with a hard reset, did not help, the plugin was not starting anymore
After deleting the plugin folder and a plugin download the requirements was failing.
Doing the next:

python3 -m pip install -r requirements.txt --upgrade -t /home/pi/Domoticz_Python_Environment

solved the requirements problem, the vitual environment folder was already earlier created. So the installation could be completed
After a domoticz restart the plugin was running now and showing the right version on de webpage
After copying from the backup data and conf files to the new installed plugin everything was ok now
I don't know why the webpage upgrade doesn't work, but this was how to get Z4D working again.
janportinga
Posts: 4
Joined: Friday 30 December 2022 12:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023-2
Contact:

Re: Zigbee for Domoticz upgrade fails

Post by janportinga »

This alway works for me. ( got the solution from a friend)

cd /home/pi/domoticz/plugins/Domoticz-Zigbee/
sudo git stash
sudo git pull --recurse-submodules
sudo pip3 install -r requirements.txt --upgrade --break-system-packages
sudo git submodule update --init --recursive
sudo chmod +x plugin.py
sudo chown -R pi:pi .
sudo service domoticz.sh restart
Rik60
Posts: 141
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: The Netherlands
Contact:

Re: Zigbee for Domoticz upgrade fails

Post by Rik60 »

I had to do that in the past. But now i can do a normaal update via the web ui. I did the 2 last updates via the web ui without problems. Running now 7.1.027, updated from 7.1.026.
Thanks
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Zigbee for Domoticz upgrade fails

Post by waltervl »

I also just update Z4D through web without issues.
Be sure you have installed it correctly with the right access.
On what Python version are you on (according Domoticz about)?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest