Page 1 of 1

Zigbee4Domoticz fails update

Posted: Thursday 29 February 2024 10:25
by Rik60
Hi,
If i try to update the Zigbee4Domoticz plugin, it fails. The plugin itself is working ok. There seems to be a owner issue somewere, i think. I have already removed and re-installed the plugin severaltimes, but everytime if there is a update the plugin fails to update. I can do a fetch and then rebase autostash, the plugin is updating. What can be the reason for the failing?
Thanks

Re: Zigbee4Domoticz fails update

Posted: Thursday 29 February 2024 11:38
by pipiche
Indeed it looks like the update cannot go through, because

Code: Select all

git 
found some changes.

can you try the following

Open a terminal window, and go to the plugin folder

Code: Select all

git reset --hard
git pull
git status
If no error, then simply to the update via the WebUI

Re: Zigbee4Domoticz fails update

Posted: Thursday 29 February 2024 12:23
by Rik60
Thanks,
First, i have to 'sudo' the 3 commands, is that normal?
After the hard reset, pull and status and Domoticz service restart the plugin didn't start. I had to upgrade the requirements.txt as adviced. After that and domoticz restart the plugin is starting and updated.

Re: Zigbee4Domoticz fails update

Posted: Saturday 09 March 2024 22:03
by jacobsentertainment
Never mind, it's sorted again

Re: Zigbee4Domoticz fails update

Posted: Saturday 09 March 2024 22:09
by keros
@Rik60, the sudo command is normal.

Can you please run sudo python3 -m pip install -r requirements.txt --upgrade and paste here the results of the command ?

@jacobsentertainment, it we be complicated to solve two problems in the same topic. Can you please open a new one ?