Page 1 of 1

Docker: PluginSystem: Failed dynamic library load

Posted: Friday 20 February 2026 22:20
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.

Re: PluginSystem: Failed dynamic library load

Posted: Friday 20 February 2026 22:29
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 ##

Re: PluginSystem: Failed dynamic library load

Posted: Friday 20 February 2026 23:37
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

Re: Docker: PluginSystem: Failed dynamic library load

Posted: Saturday 21 February 2026 8:14
by BarryT
Thats true, but that should at least fix the python error in latest version.

Re: PluginSystem: Failed dynamic library load

Posted: Saturday 21 February 2026 21:54
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