Hung up without any logs

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
boe666
Posts: 52
Joined: Thursday 19 January 2017 16:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Hung up without any logs

Post by boe666 »

Hello.
I compiled newest version domoticz (2024.7) on Clean Debian GNU/Linux 12 (bookworm). cmake version 3.25.1, boost 1.84.
A few "warnings" during compilation, HP Thin Client T520, 8GB Ram, 128GB M2.SATA.

The compilation lasted over 3 hours. I copied the database from the old version of DOMOTICZ, everything started working. After a few minutes, domoticz stops logging anything and does not establish connections on port 8080. It does not reject it, it simply does not respond. The process itself works all the time. I set the logging levels "-daemon -www 8080 -log /var/log/domoticz.txt -weblog /var/log/domoticz_www.txt -loglevel debug -debuglevel all" - it doesn't change anything - the logs just stop appearing. I tried to observe the logs when DOMOTICZ was not working in DAEMON mode - the same situation - new logs suddenly stop appearing. I set the logging level in the DEBIAN system to DEBUG - nothing appears here either - no error.
I have to issue the KILL -9 NUM - command to turn off DOMOTICZ. Turning it on again - causes DOMOTICZ to work normally, quickly, logs everything, and after some time - it simply stops.

So I have a question - how to debug domoticz in such a situation.
boe666
Posts: 52
Joined: Thursday 19 January 2017 16:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Hung up without any logs

Post by boe666 »

I am surprised by the complete lack of response. Generally, the suspension of domoticz was caused by devices that were unavailable. Disabling them stabilized the operation of domoticz (14 days without suspension). As for me, this is some kind of error in the code.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Hung up without any logs

Post by waltervl »

You also do not get a crash log file?
Does a prebuild version not work for you?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
FlyingDomotic
Posts: 303
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Hung up without any logs

Post by FlyingDomotic »

what about running top shell command while Domoticz don't answer? Does it eat 100% of CPU, or just nothing?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests