Error in database connectivity

Every now and then my installation (on RPi 5 + SSD) gets totally messed up with indication of disk corruption.

First thing I notice is that in logs you see something like:

You can access some parts of web interface, but you cannot connect via SSH. Addons are not accessible. HACS not accessible.

Logs can be seen but not downloaded.

Attempt to restart system fails:

Failed to restart Home Assistant

The system cannot restart because the configuration is not valid: File configuration.yaml not found.

Reboot fails with

Failed to reboot system

System is not ready with state: shutdown

So far only thing that worked for me is to physically unplug raspberry pi from power or hold power button until it turns off. Turning back on, so far reboots everything to normal state.

Is there any way in this situation that you could force it to reboot no matter what, I don’t think it’s worse than unplugging power anyway?

1 Like

Hi, I have a very same issue :frowning:

+1, any ideas?

Hi,+1 help !
SSD Change OK
Update RPI 5 OK
Update HA OK

Same here, with the only differences that my HA instance runs on RPi 4 Model B and it reboots itself in nearly 7 minutes after the fail occurs, and then boots normally like nothing happened. So are we really the only 5 guys here who have such issue?

This has not happened to me in last 2 months. I added remote controlled power switch just so I can unplug power remotely in case it happens again. I don’t recall I changed anything on the setup, except for regular upgrades to the system. I did upgrade firmware of Rpi at some point.

I flashed HA straight onto the SSD (instead of on a microSD and have the installer on the Pi install HA on the SSD) and haven’t had any problems since.