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

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
User avatar
trakers
Posts: 2
Joined: Wednesday 05 February 2020 20:40
Target OS: Raspberry Pi / ODroid
Domoticz version: V2025.1
Location: Tuscany
Contact:

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

Post 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!
User avatar
waltervl
Posts: 5903
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

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

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest