2 Days ago I updated Home Assistant OS / Core to latest. Cannot recall if it was the OS or Core.
Yesterday got a notification that 90% of disc space was used (8GB SD Card in a Raspberry Pi). Went to bed few hours later, saw notification was updated to 91.8% used. Was worrying, but tired, so “I’ll check it out tomorrow”.
Today things worked this morning. Now however HA is unreachable. Hooked the Pi up to a monitor, it’s in a boot loop.
It restarts on the message: systemd-shutdown[1]: Failed to set timeout to 10min: Invalid argument
During the boot messages a step fails, which might cause the above: A start job is running for Wait Until Kernel Time Synchronized (with a countdown of max 1 min 30s).
Not sure if it tries to set the time through the network. I checked out the router and I do not see the HA Pi come online on / connect to the network during those 90 seconds.
Haven’t figured out a way to read the SD card on a computer yet. Non-supported file system. Tried to mount it into WSL ubuntu, but there it also throws an exception.
Any ideas of something I could try? Or would the advice be “re-install and hope to restore it all from a backup?” I did previously setup the Google Drive backup integration - but have not used it for a restore before
Watching the bootloop a few more times I saw some additional fails, which I managed to record.
Failed to start Docker Application Container Engine.
Dependency failed for Dropbear SSH daemon
Dependency failed for HassOS supervisor
Not being fully ignorant, these sound like serious failures.
As it’s highly time to go to sleep again, I’m guessing that tonight we’ll have to turn things off manually and tomorrow I’ll have to reinstall HA to the SD card.
Still hoping for an option to try out. Hopefully someone has an idea.
I’m also having some problems, getting 100% memory usage and swap usage is rising up to to 100%, until crash. Raspberry Pi 4 runs hot to touch.
It seems to come after I open Visual Studio Code Server add-on. Just clicking on the tab is enough to start this chain of events. The only thing I found that helps is to issue “reboot” command in the web terminal.
All seems to be good after reboot, IF I don’t log in and start editing something with the VSCode add-on.
I just happened to notice the rising temperature by accident when it happened the first time. My Home Assistant became unresponsive shortly after that. But luckily it recovered after I pulled the plug.
So, to get to the point, you might have run to the same issue.
I am using an USB SSD myself, and I think an SD card will like the swapping and the resulting crash even less. If I wouldn’t have noticed this issue my setups might be toast too.
It really got scary hot as well, so now I’m thinking to set up some reboot or disable mechanism… “If temperature gets over 80 then reboot” or such. I’m running a passively cooled Pi 4, maybe that’s a bad idea…