Running on a Raspberry Pi 400
Lately my home has been dumb and unassisted at random times, and the HA app can’t connect to my HA rpi server. Ditto when I go to homeassistant:8123 in a browser. I’m trying to see what’s causing this, but the logs in app only show since last restart. Tried plugging my Pi into a monitor and getting something from the command line but not sure how to do the equivalent of a Linux tail or whatever. Searching was surprisingly unhelpful. Any advice?
Thanks much!
The same thing has been happening with my x86_64 install. I’ve had at least two incidents where the HA “locked up” and fell off the wire.
The HAOS console prompt is surprisingly useless for troubleshooting. I’ve enabled some System Monitor sensors in HA itself to track some key metrics that might help find a root cause.
It seems to have started with 2023.09 though, so it could be a bug in the supervisor or core code.
Now that you mention it, I did update fairly recently…
The most common point of failure on rpis are sd cards, and the symptoms are similar. If you running it from an sd card it’s recommended to migrate to an usb ssd.
How do you run ha? Hassos, or normal docker?
I’ve heard the SD cards can be pretty flakey, so I immediately replaced the one that came with the rpi with something a little more “hardy” (Samsung Pro Endurance 256GB). It’s supposed to be able to handle a few years of streaming video turnover, so I wouldn’t think that a ~month of text logs would already hose it but I’ve been wrong before.
Running hassos
I’ve been having this issue for several months now. I just restored from a backup over the weekend and am hoping this resolves the issue. The backup was only a week old, so if my it’s my config that is causing the issue it will probably keep happening and I’ll go back to trouble shooting.
I tried to get some help from the HA discord and was suggested to get an x86 platform. Alternatively I could search the journal log, but I gave up on that approach as it is not very straight forward. Here’s a link on how to get to the journal if you can figure it out
https://community.home-assistant.io/t/how-to-get-to-your-log-after-restart-restore/387662