Page 1 of 1

Zigate Plugin Error - Domoticz Crashes at Startup, No plugin.py Found

Posted: Wednesday 16 July 2025 23:02
by trakers
Hi everyone,

I'm running Domoticz inside a Docker container on a Linux system (aarch64 architecture), and I'm having a persistent problem with the Zigate plugin.

At every startup, I get the following log output:

Code: Select all

2025-07-14 22:48:00.216  Error: Zigate: (Zigate) failed to load 'plugin.py', Python Path used was ':/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2025-07-14 22:48:00.246  Error: Zigate: Exception: 'ModuleNotFoundError'.  No traceback available.
2025-07-14 22:48:01.128  Status: Zigate: Stop directive received.
2025-07-14 22:48:01.129  Status: Zigate: Stopping threads.
2025-07-14 22:48:01.129  Status: Zigate: Exiting work loop.
2025-07-14 22:48:01.136  Status: Zigate: Stopped.
2025-07-14 22:48:01.137  Status: Zigate: Entering work loop.
2025-07-14 22:48:01.137  Zigate: Worker thread started.
2025-07-14 22:48:01.137  Status: Zigate: Started.
2025-07-14 22:48:01.215  Error: Zigate: (Zigate) failed to load 'plugin.py', Python Path used was ':/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2025-07-14 22:48:01.241  Error: Zigate: Exception: 'ModuleNotFoundError'.  No traceback available.
2025-07-14 22:48:01.803  Error: Domoticz(pid:1, tid:956('MainWorker')) received fatal signal 6 (Aborted)

…and then Domoticz crashes with a full backtrace.

However, I have checked every directory in the system and inside the container, and there is no Zigate plugin folder or plugin.py file anywhere. I've searched /opt/domoticz/plugins, /usr, /home, etc., and also ran find / -iname '*zigate*' without results.

It seems like Domoticz is still trying to load the Zigate plugin even though it is no longer present in the filesystem. I suspect this might be a leftover configuration entry.

I also checked the Domoticz web UI under Setup > Hardware, and I didn’t find any active Zigate hardware listed — but the error still occurs at every restart.

Any idea how I can fully clean/remove this ghost plugin entry or prevent Domoticz from trying to load it?

Thanks a lot in advance for your help!

Re: Zigate Plugin Error - Domoticz Crashes at Startup, No plugin.py Found

Posted: Wednesday 16 July 2025 23:50
by waltervl
If there is an old entry of the Zigate plugin in the database there also should be an entry visible in the Setup-Hardware page. You should delete that. You say there is no active Zigate plugin on that page, but is there an inactive plugin visible?

Else you have to go into the database (domoticz.db) with a application like "DB Browser for SQLite": https://sqlitebrowser.org and remove the Zigate hardware gateway entry in the hardware table.