Docker: PluginSystem: Failed dynamic library load

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

Moderator: leecollings

Post Reply
User avatar
Varazir
Posts: 484
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Docker: PluginSystem: Failed dynamic library load

Post by Varazir »

Hello

I'm running Domoticz in docker and I see this in the startup log

Code: Select all

Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
About Domoticz
v2025.2 (build 17204)
System Information
Build Hash
71a61ff22
Compile Date
2026-02-20 11:33:19
dzVents Version
3.1.8
Python Version
None

I enter the command prompt for the docker and it said it's installed.

root@a78701199ed2:/opt/domoticz# apt install libpython3-stdlib
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpython3-stdlib is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Raspberry PI 4 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
BarryT
Posts: 395
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: PluginSystem: Failed dynamic library load

Post by BarryT »

U need to install the lib and dev version of python, then it should work again.
Use customstart.sh (in the root directory of your domoticz container volume):

Code: Select all

#!/bin/bash

if [ -f /opt/domoticz/FIRSTRUN ]; 
then 
	true 
	echo "Already installed everything... Normal startup of Domoticz." 
else
touch /opt/domoticz/FIRSTRUN
echo 'creating FIRSTRUN file so script can check on next run'

apt update -y && apt upgrade -y
echo "cache en system updated & upgraded "

apt-get install -y libpython3.11 python3.11-dev
echo "installed python 3.11-dev & libpython3.11"

## rest of code if need to install more ##
User avatar
waltervl
Posts: 6683
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: PluginSystem: Failed dynamic library load

Post by waltervl »

Installing extra Python libs to get the Python plugin system working on the Docker image should not be needed.
This seems to be an issue on the docker build.

Edit: Github issue created https://github.com/domoticz/domoticz-docker/issues/33
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
BarryT
Posts: 395
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: Docker: PluginSystem: Failed dynamic library load

Post by BarryT »

Thats true, but that should at least fix the python error in latest version.
User avatar
Varazir
Posts: 484
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: PluginSystem: Failed dynamic library load

Post by Varazir »

waltervl wrote: Friday 20 February 2026 23:37 Installing extra Python libs to get the Python plugin system working on the Docker image should not be needed.
This seems to be an issue on the docker build.

Edit: Github issue created https://github.com/domoticz/domoticz-docker/issues/33
Works now :)

Image
Raspberry PI 4 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest