#Home Assistant restarts occasionally

1 messages ยท Page 1 of 1 (latest)

undone tapir
#

Sometimes my Home Assistant restarts, how could I find the root cause for this?
I notice that when some of my lights turn on in the middle of the night ๐Ÿ˜‚ (zigbee)

oak mural
#

check system/logs host / supervisor and look for timestamps that relate to zigbee logs lights

undone tapir
#

There is a warning about the database: The system could not validate that the sqlite3 database at //config/.data/home-assistant_v2.db was shutdown cleanly

oak mural
#

did you perform a reboot of HA host? If not, do so first, then check logs again.

undone tapir
#

So supervisor logs show a startup sequence at 9:22 MEST, no suspicious logs before. same for host

#

core logs start at 9:24, so nothing in there

#

restarting rebooting now.

oak mural
#

Yeah, but i am guessing that was a restart, not a reboot.

#

rebooting

undone tapir
#

hm.. so reboot is done.

oak mural
#

Also make sure it wasnt a short power outage, that would explain corrupt database and maybee cause zigbee lights to start with state ON

#

What hardware are you running btw? Hope not RPI/SD card ๐Ÿ˜‰

undone tapir
#

RPi with ssd via usb3

#

Using an anker power plug that poweres 4 RPi .

oak mural
#

Then also check power supply

undone tapir
#

How can I do that?

#

RPi power status sensor shows OK since 36h