Zigbee4Domoticz fails update

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

Moderator: leecollings

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

Zigbee4Domoticz fails update

Post 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
Attachments
Zigbee4Domoticz_fail.png
Zigbee4Domoticz_fail.png (293.72 KiB) Viewed 1253 times
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigbee4Domoticz fails update

Post 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
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Rik60
Posts: 88
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.3
Location: The Netherlands
Contact:

Re: Zigbee4Domoticz fails update

Post 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.
Attachments
Zigbee4Domoticz_update.png
Zigbee4Domoticz_update.png (129.29 KiB) Viewed 1238 times
Zigbee4Domoticz_error.png
Zigbee4Domoticz_error.png (46 KiB) Viewed 1238 times
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Zigbee4Domoticz fails update

Post by jacobsentertainment »

Never mind, it's sorted again
Last edited by jacobsentertainment on Saturday 09 March 2024 22:14, edited 1 time in total.
keros
Posts: 77
Joined: Saturday 27 July 2019 0:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee4Domoticz fails update

Post 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 ?
Moderator on Easydomoticz.com, the French DomoticZ forum.
French writer for ZigBeeForDomoticZ Plugin Wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest