Zigbee plugin fails loading after upgrade to Bullseye Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

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:

Zigbee plugin fails loading after upgrade to Bullseye

Post 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?
Attachments
Domoticz_log.jpg
Domoticz_log.jpg (101.42 KiB) Viewed 1142 times
Cryptography_fails_domoticz.jpg
Cryptography_fails_domoticz.jpg (149.52 KiB) Viewed 1151 times
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigbee plugin fails loading after upgrade to Bullseye

Post 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
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: Zigbee plugin fails loading after upgrade to Bullseye

Post by Rik60 »

I've tried both options, no succes.
1 file seems to be a beta. Is that a problem?
Attachments
Cryptography_fails_domoticz_2.jpg
Cryptography_fails_domoticz_2.jpg (201.65 KiB) Viewed 1093 times
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigbee plugin fails loading after upgrade to Bullseye

Post by pipiche »

we need to full error list, not a screenshot
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: Zigbee plugin fails loading after upgrade to Bullseye

Post by Rik60 »

Here is the file. Hopefully you can find the problem.
Note: if i install cryptography without sudo, the installation is succesfull.
Attachments
criptography.log
(18.25 KiB) Downloaded 41 times
JBN
Posts: 40
Joined: Saturday 13 July 2013 8:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sweden
Contact:

Re: Zigbee plugin fails loading after upgrade to Bullseye

Post 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.
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigbee plugin fails loading after upgrade to Bullseye

Post 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
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
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigbee plugin fails loading after upgrade to Bullseye

Post 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
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: Zigbee plugin fails loading after upgrade to Bullseye

Post 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....
Rik60
Posts: 88
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.3
Location: The Netherlands
Contact:

Re: Zigbee plugin fails loading after upgrade to Bullseye

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest