Closed rousveiga closed 2 years ago
Unfortunately, HA has crashed again about 24h after upgrading the OS to 6.4. My entire network was not available. After unplugging the Raspberry Pi it went up immediately again. After rebooting HA, I could see that it crashed around 2:50 am (no more readings of CPU temp after that) and the first temp reading was at around 75 degC.
@rousveiga Can you please reopen the issue? Thanks
Sure!
@rousveiga Quick question: Did you change anything in your physical setup (Raspy, SD, ...)? Do you use RaspBee 2 by any chance?
@rousveiga Quick question: Did you change anything in your physical setup (Raspy, SD, ...)?
This is hard to answer, because I have a spare identical Pi with an identical SD. I use the spare one for tests, and might have swapped them at some point. However, when this first started happening, I made sure to verify it happened on both Pi's and both SDs, so I don't think that's the reason it works now.
Another thing I did was switch from SD-only, to data partition in external HDD for a few months. Crashing behavior was exactly the same in 6.X, so I kept my OS version in 5.3, and that worked fine.
By this point my ISP changed some configuration, replaced my router, etc. so my entire installation stopped working. I didn't get to restore it until this past month, and that's when I swapped back to SD-only, upgraded to 6.4, and found that the RasPi didn't crash anymore.
One test I can do, though, is to downgrade to one of the offending versions and verify that it still fails with my current setup.
Do you use RaspBee 2 by any chance?
No, I don't.
@outthereandaway there are various reasons for crashes. To avoid that we mix up different root causes and system configurations I'd rather prefer if you collect the logs/information for your system and open a new bug.
@rousveiga thanks for the updates! Would be interesting if you still can reproduce the issue when downgrading OS (e.g. to 6.2 or older versions). If so, then something in OS indeed fixed the problem. If not, then any other update/change in your system or Home Assistant fixed the problem.
@agners I will try the downgrade!
Hello.
version | core-2021.10.6 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 5.10.17-v8 |
arch | aarch64 |
timezone | Europe/Moscow |
The same problem as many here, pi 4 hangs every 2-5 days. I connected a monitor, that's what was in the logs when it hung up, I hope it helps. ps. pi 4 with ssd only.
Hey guys! I've been having the same crashes in 4 to 6 days, I lost all control of all devices, which were offline (sonoff blinking) and sometimes I couldn't access the local ip using ssh, even with the HA dripping on the network.
Olá pessoal! estive tendo os mesmos travamentos em 4 à 6 dias, perdia todo o controle de todos os dispositivos, que ficavam off-line (sonoff piscando) e por vezes não conseguia acesso pelo ip local usando o ssh, mesmo com o HA pingando na rede.
I tried with this to get the version back to 2021.10.6 but I lost the history record after 24hrs, so I decided to risk uploading the version.
Tentei com isso voltar a versão para 2021.10.6 mas perdi o registro do histórico após 24hrs, com isso decidi arriscar subir a versão.
version | core-2021.12.0 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 5.10.63-v8 |
arch | aarch64 |
timezone | America/Sao_Paulo |
Hello, has anyone updated to OS 7.0? I'm using it with core 2021.12.0, so far it hasn't crashed or had the result locked in the history, I'm 9 days without problems. Let's wait!
Olá, alguém atualizou para o OS 7.0? Estou usando com core 2021.12.0, até o momento não travou nem teve resultado travado no histórico, estou 9 dias sem problemas. Vamos aguardar!
Forgot about this thread: FYI, #1119 got solved meanwhile, see https://github.com/home-assistant/operating-system/issues/1119#issuecomment-1004120863. Since symptoms sound very similar, testing using 7.1 is definitely worth a try.
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Hardware Environment
Home Assistant OS release:
Journal logs:
Here are the journal logs from what seems to be the start of the crash, I didn't want to clutter this post with 500 lines worth of logs (if that's not an issue please tell me and I'll edit this!).
Kernel logs:
Description of problem:
My Raspberry Pi with Home Assistant OS seems to crash randomly. It goes completely dead (can't ping). Seems to be the same situation as homeassistant/core#43155, #1119 and #1232.
Is the problem reproducible?
Not really; so far, I've only seen it happen at random times. Mostly at night, but I often tinker with the installation during the day, so it gets restarted frequently.
Has this been working before (is this a regression?)
Sadly I didn't pay much attention before early March, which was when I started having automations that ran at night, since the system seemed to crash before the automations ran (and therefore they wouldn't trigger). Many users having similar problems have said downgrading to OS 5.4 has fixed the issue for them.
Has there been attempt to rule out hardware issues? (different SD card etc.)
Yes. I replaced the SD card with a 64GB Application Class 2 one, since I thought my old SD was dying.