Page 1 of 1

Zigbee for Domoticz upgrade fails

Posted: Saturday 01 November 2025 17:11
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.

Re: Zigbee for Domoticz upgrade fails

Posted: Thursday 12 February 2026 14:04
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

Re: Zigbee for Domoticz upgrade fails

Posted: Thursday 12 February 2026 15:45
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

Re: Zigbee for Domoticz upgrade fails

Posted: Thursday 12 February 2026 19:48
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)?