Random crashes Domoticz

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
Afterburner
Posts: 10
Joined: Wednesday 26 February 2020 17:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Random crashes Domoticz

Post by Afterburner »

Hello,
For weeks I'am suffering from ramdom crashes of my Domoticz. Meanwhile I'am running out of options. I really hope someone can get me back on track.
A crash means a Status active (exited), so I can't use the web GUI anymore.
As I had the idea at a certain moment that SD memory card was the suspect in my first Domoticz system, I started to rebuild a new system on a new RPi (4, 4G) with RPi OS (bookworm). System on SD card.
Installing the plugins and transport of the settings and historie database with backup/restore setting, I got a copy of my first Domoticz system.
Version: 2024.4
Build Hash: 731719420
Compile Date: 2024-01-30 09:16:34
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0
Plugins:
Domoticz-deCONZ
KNMI
iDetect
AwoxSMP (was already installed)

Domoticz has links with Dashticz, Influxdb-Grafana, MQTT, Node Red.

Random crashes mean that it is not predictable how long the system remains stable. Maybe a few minutes, half an hour or 1.5 days.
I tried to run: ./domoticz -www 8080 -sslwww 443 -log "/var/log/domoticz.log" -loglevel all -debuglevel normal,auth,hardware,received,webserver,eventsystem,python,thread_id
which delivered a very long list of data, for hours, but no crash data, as the system remains stable....

I will attach the latest domoticz_crash.log, name domoticz_crash_29_3.log .

Thanks for your help already.

Afterburmer.
Attachments
domoticz_crash_29_3.log
(36.67 KiB) Downloaded 26 times
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Random crashes Domoticz

Post by waltervl »

See also the troubleshooting wiki. A failing power supply is also a known root cause for crashes. https://www.domoticz.com/wiki/Troubleshooting
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Random crashes Domoticz

Post by Kedi »

It is a problem with Tado hardware --> device "Node 0000105 = home Mijn Huis zone "
Could it be a missing zone? Or the space between Mijn and Huis?
I don't have a Tado thermostat so can't help you further.
If possible, you could try to disable the Tado hardware for a while, just to be sure.
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
elzorrovega
Posts: 61
Joined: Friday 08 May 2020 19:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Bordeaux, France
Contact:

Re: Random crashes Domoticz

Post by elzorrovega »

Hello,

RPi4 hardware configuration is different than yours. For those using AEOTEC Z Wave Controller USB dongles, as is my case, RPi support goes as far as claiming that these dongles maybe do not respect USB specifications. If external dongles are connected to your RPi, you could try using an external USB 2.0 Hub with own power supply. In my particular case, it works!

Hope this helps.
The solution to the problem changes the problem!

Rasberry Pi 4 Model B; Bullseye -64 bit OS 6.1.21-v8+ #1642
Domoticz Version: 2024.7
zwave-js-ui: 9.9.0.09b107a
zwave-js: 12.4.4 home id: 3714679688 home hex: 0xdd698388
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests