Domoticz-Zigbee ⚠️ WebUI upgrade fails on 9.1.004 / 9.1.005

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

Moderator: leecollings

Post Reply
pipiche
Posts: 2035
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:
Contact:

Domoticz-Zigbee ⚠️ WebUI upgrade fails on 9.1.004 / 9.1.005

Post by pipiche »

If you're running 9.1.004 or 9.1.005, the plugin upgrade from the WebUI may fail.

Root cause: the WebUI upgrade ran its steps in the wrong order. It updated the Python modules before updating the plugin code (git pull). So the modules were installed from the old requirements instead of the ones shipped with the new
version, and the upgrade failed.

Fix: commit a25e352 puts the steps in the right order. The plugin is updated first, then the Python modules.

Workaround to upgrade to 9.1.006: the upgrade code in 9.1.004/9.1.005 still has the bug, so do the plugin update by hand once:

1. Go to the plugin folder (usually domoticz/plugins/Domoticz-Zigbee):
cd <path-to-domoticz>/plugins/Domoticz-Zigbee
git pull
2. Then open WebUI > Plugin > Upgrade to update the Python modules.

Later upgrades from the WebUI will work normally once you're on 9.1.006.
Post Reply