Page 1 of 1

Zigbee plugin fails loading after upgrade to Bullseye

Posted: Thursday 13 July 2023 16:01
by Rik60
After an update from Buster to bullseye the Zigbee plugin fails to load. I tried to run the requirments_txt in sudo and without sudo, tried to load the moduls manualy. Also tried to update Rust I can't make this plugin working. i am running Domoricz 20231. What can go wrong?

Update: if i run requirements_txt without sudo, Cryptography is installed without a problem. But it is not installed in the right place (i think). After a restart of Domotics the same error is still there. If i install Cryptography with sudo, it fails with the error. I have the latest pip and Rust. The meassage is that i have an outdated rustc? Could that the problem?

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Saturday 15 July 2023 9:58
by pipiche
you need to use sudo as domoticz is running root.

can you try the following

Code: Select all

 sudo python3 -m pip install wheel --upgrade

and then

Code: Select all

sudo python3 -m pip install -r requirements.txt --upgrade
https://zigbeefordomoticz.github.io/wik ... 517--error

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Sunday 16 July 2023 16:15
by Rik60
I've tried both options, no succes.
1 file seems to be a beta. Is that a problem?

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Sunday 16 July 2023 23:53
by pipiche
we need to full error list, not a screenshot

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Monday 17 July 2023 20:30
by Rik60
Here is the file. Hopefully you can find the problem.
Note: if i install cryptography without sudo, the installation is succesfull.

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Wednesday 19 July 2023 13:56
by JBN
Just a question: You wrote that you updated/upgraded from Buster to Bullseye? Not a reinstall?

I did an in-place upgrade from Buster to Bullseye in May and I noticed that the installation became flaky/irratic (I might have forgotten something in the upgrade). It affected (at least) Python with all sorts of interesting errors (like not beeing able to install some modules) and I spent a few nights trying to fix it but gave up and did a complete reinstall. After that everything seems to work perfectly.

So perhaps not the answer you were seeking but at least something to consider.

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Wednesday 19 July 2023 14:26
by pipiche
Rik60 wrote:Here is the file. Hopefully you can find the problem.
Note: if i install cryptography without sudo, the installation is succesfull.
Trying to install without sudo doesn’t make sense because it creates a local version, and DomoticZ requires root.

I don’t exactly what is preventing to install, may be you should ask on a cryptography python library forum.


Envoyé de mon iPhone en utilisant Tapatalk

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Wednesday 19 July 2023 18:28
by pipiche
did you try

Code: Select all

sudo apt install rustc

Code: Select all

sudo python3 -m pip install pip --upgrade
https://stackoverflow.com/questions/220 ... d-setup-py

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Wednesday 19 July 2023 19:53
by Rik60
JBN wrote: Wednesday 19 July 2023 13:56 Just a question: You wrote that you updated/upgraded from Buster to Bullseye? Not a reinstall?

I did an in-place upgrade from Buster to Bullseye in May and I noticed that the installation became flaky/irratic (I might have forgotten something in the upgrade). It affected (at least) Python with all sorts of interesting errors (like not beeing able to install some modules) and I spent a few nights trying to fix it but gave up and did a complete reinstall. After that everything seems to work perfectly.

So perhaps not the answer you were seeking but at least something to consider.
I did a clean new installation. Bullseye 32 bit, Domoticz 20231, this several times with different options to understand wat's going on. All other items did work, upload database, Somfy, GPIO, power readings....Just the Zigbee not. I am going to try the 64 bit version of Bullseye to see....

Re: Zigbee plugin fails loading after upgrade to Bullseye

Posted: Thursday 20 July 2023 10:47
by Rik60
Problem is solved. The problem was that i created a sd with Bullseye lite 32 bit, several times. I have created now a sd with normal (recommended) Bullseye 32 bit. Installation was now without problems. The Lite version is recommended by Domoticz, that didn't work for me.

Thanks for all reply