Frequently crash of OH2 NEED HELP!

Need urgent help for my installation of OH2. It crashes frequntly at least once per day. I have already checked the logs, but actually couldnt find anything spectacular. It doesnt look like a ram leak, because there is no error or warning in the logs. The only thing I could find are the following lines below in the deamon.log. I am quite frustrated because i couldnt relly find a solution for that issue. Maybe there is someone who can help.

Jan 25 18:47:43 openHABianPi Node-RED[362]: 25 Jan 18:47:43 - [warn] [openhab2-controller:Openhab] ERROR {"type":{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall$
Jan 25 18:47:44 openHABianPi Node-RED[362]: 25 Jan 18:47:44 - [warn] [openhab2-controller:Openhab] ERROR {"type":{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall$
Jan 25 18:47:45 openHABianPi Node-RED[362]: 25 Jan 18:47:45 - [warn] [openhab2-controller:Openhab] ERROR {"type":{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall$
Jan 25 18:47:46 openHABianPi Node-RED[362]: 25 Jan 18:47:46 - [warn] [openhab2-controller:Openhab] ERROR {"type":{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall$
Jan 25 18:47:47 openHABianPi Node-RED[362]: 25 Jan 18:47:47 - [warn] [openhab2-controller:Openhab] ERROR {"type":{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall$
Jan 25 18:47:48 openHABianPi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Jan 25 18:47:48 openHABianPi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Jan 25 18:47:48 openHABianPi systemd[1]: Started openHAB 2 - empowering the smart home.
....
Jan 25 18:18:25 openHABianPi dhcpcd[483]: eth0: soliciting an IPv6 router
Jan 25 18:18:25 openHABianPi dhcpcd[483]: eth0: probing address 192.168.XXX.XX
Jan 25 18:18:26 openHABianPi Node-RED[380]: 25 Jan 18:18:26 - [warn] [openhab2-controller:Openhab] ERROR {"type":"error","status":404}
Jan 25 18:18:31 openHABianPi dhcpcd[483]: eth0: leased 192.168.XXX.XX for 864000 seconds
Jan 25 18:18:31 openHABianPi avahi-daemon[375]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.XX.XX.
Jan 25 18:18:31 openHABianPi dhcpcd[483]: eth0: adding route to 192.168.XX.XX
Jan 25 18:18:31 openHABianPi avahi-daemon[375]: New relevant interface eth0.IPv4 for mDNS.
Jan 25 18:18:31 openHABianPi dhcpcd[483]: eth0: adding default route via 192.168.XX.XX
Jan 25 18:18:31 openHABianPi avahi-daemon[375]: Registering new address record for 192.168.XX.XX on eth0.IPv4.
Jan 25 18:18:33 openHABianPi Node-RED[380]: 25 Jan 18:18:33 - [warn] [openhab2-out:Aussentemperatur] response error '{"statusCode":503,"body":"","headers":{"connection$

Unbenannt

1 Like

Might want to consider trying a new SDCard? Lots of threads on here about random issues like this being related to silent corruption of an aging SDCard.

1 Like

Thanks for your reply. I already changed the sd card and checked the power supply. Is there another log, besides the var/logs where I could find the reason for this issue? I notice the crashes by receiving the offline message of my.openhab. When I am looking for this time in the usual logs after restarting the pi, there is nothing unusual in my opinion. It drives me mad, because I really like the possibilities of OH.

Only thing I can think of is turning up logging levels to try to see if there is a pattern when it crashes.

It is possible that it crashes so fast that it doesn’t write the appropriate error in time.

https://docs.openhab.org/administration/logging.html