Plugins stop working after restart (not always)

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
slowtraveler
Posts: 7
Joined: Monday 24 April 2017 20:07
Target OS: Linux
Domoticz version: 3.5877
Location: Bulgaria
Contact:

Plugins stop working after restart (not always)

Post by slowtraveler »

Version:2023.2
Platform: Fedora 39
Plugins: NUT_UPS and several SVT based plugins
Description:
Setup is working for several years flawlessly. From about 3 weeks i noticed that sometimes all plugins are stop working...
Log is free of errors..
Receiving data from external sensors (from internet) is OK even when plugins are not working.
Restart of domoticz when plugins are not working takes very long time (more than 2 minutes)...
And often restart solves the problem.
If i restart domoticz when everything is working well i had a two cases:
1. Restart almost immediately - Plugins will not work. In log i can see Worker thread started, but not listed any following actions of plugins
2. Restart takes normal 2-3 seconds for restart - Plugins will work, and after Worker thread started i can see real data obtaining and so on..

When plugins are not working, restart takes long time and it can solve the issue. I can't catch the case where it works... Sometimes - several restarts are not solving the problem. In the other cases - i can make several restarts withou issue to re-appear..

I use cron job for daily backup of database, which stop, backup DB and start the service. So often after such procedure plugins stop working...
Maybe it's some Python issue? Can someone give me a hint where 'to dig'...
Where can be located the problem and how to debug further the reason of this issue?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest