I’ve been having a problem that started a few days ago where every day, usually more than once per day, my RPi 3 locks up and HA stops working. If I try to SSH to it, the connection is dropped as soon as I try to authenticate, and the WebUI gives a message I haven’t seen before in the upper left corner of the page. The activity LED on the RPi is also lit solid when it’s locked up. When it doesn’t start right after rebooting it, I generally see a bunch of messages in the home-assistant.log file indicating the home-assistant_v2.db file is ‘malformed’. I don’t know if this is the cause of the lockup or the result. Stopping the service, deleting the db file and then starting the service gets it working for a bit, but then it goes off the reservation again at some point.
The SD was built off the latest Hassbian image a few weeks ago, and is on 0.69.1. I’ve tried swapping RPi’s, only to have it lock up again a few hours later, so that pretty much leaves either something with Home Assistant or a bad SD card that’s causing the issue. Now, I don’t THINK it’s actually HASS that’s causing it to lock up and I’m more or less leaning towards a(nother) bad SD card (I had a 16GB Sandisk in it a few weeks ago and after a few days, it started getting flaky, so I rebuilt it again on another card - the I do think there’s something wrong with the Sandisk as it takes a lot longer to format than any other SD card with SDFormatter), but I could be wrong - is it possible there’s something in my setup that’s causing HASS to flake and lock the system, or is it more likely to be another bad SD card?