home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.97k stars 31.01k forks source link

Core 2024.11.0 Raspberry Pi 5 won't install #130044

Open ZhuDaHai opened 2 weeks ago

ZhuDaHai commented 2 weeks ago

The problem

Core 2024.11.0 will not install on a Raspberry Pi 5 4GB. I have tried twice to install this update. First attempt, it rebooted but showed the old Core (2024.10.4) and update available for Core 2024.11.0 Second attempt, it crashed on reboot (I waited 1 hour) and required a physical power off/on to restart. Still showed Core 2024.10.4 with Update Available for Core 2024.11.0

What version of Home Assistant Core has the issue?

2024.11.0

What was the last working version of Home Assistant Core?

2024.10.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Unknown

Link to integration documentation on our website

No response

Diagnostics information

home-assistant_2024-11-07T13-52-14.752Z.log

I don't see anything in any of the logs regarding issues with the update, and none of the logs contain any information before the reboot.

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

I have another HA instance running on a Pi 4 (4GB) and it installed Core 2024.11.0 without any issues. Both instances used virtually the same components and devices.

ZhuDaHai commented 2 weeks ago

The log.1 file from the failed Core update shows various template errors due to sensors reporting 'unknown' as they have not yet initialized from their devices, but that's what I always see on a reboot. The last part of the log files, while the Pi 5 sat frozen on reboot are these failures to contact nabucasa. But why would this cause HA to not finishing booting?

2024-11-07 21:03:58.363 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-11-07 21:05:00.511 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-11-07 21:05:13.272 ERROR (MainThread) [snitun.multiplexer.core] Ping fails, no response from peer
2024-11-07 21:05:27.350 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:05:52.363 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:06:06.299 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-11-07 21:06:11.371 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:06:25.376 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:06:41.388 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:06:57.399 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:07:19.404 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:07:23.227 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-11-07 21:07:31.410 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:07:53.419 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:08:18.427 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:08:31.435 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:08:51.444 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:09:02.270 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-11-07 21:09:03.449 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:09:14.457 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:09:28.463 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:09:40.470 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:09:57.478 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:10:20.484 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:10:37.493 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:10:58.502 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:10:59.302 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [547508630384] from 2605:a601:ac19:f100:795:f67d:b438:771 (Mozilla/5.0 (Linux; Android 15; Pixel 6 Build/AP3A.241105.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.86 Mobile Safari/537.36 Home Assistant/2024.10.3-14058 (Android 15; Pixel 6)): Disconnected: Did not receive auth message within 10 seconds
2024-11-07 21:11:18.511 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:11:20.916 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-11-07 21:11:33.517 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:11:50.524 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:12:04.532 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:12:19.537 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:12:28.378 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [547413743152] from 2605:a601:ac19:f100:795:f67d:b438:771 (Mozilla/5.0 (Linux; Android 15; Pixel 6 Build/AP3A.241105.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.86 Mobile Safari/537.36 Home Assistant/2024.10.3-14058 (Android 15; Pixel 6)): Disconnected: Did not receive auth message within 10 seconds
2024-11-07 21:12:59.538 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
2024-11-07 21:13:26.934 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [547483655984] from 2605:a601:ac19:f100:795:f67d:b438:771 (Mozilla/5.0 (Linux; Android 15; Pixel 6 Build/AP3A.241105.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.86 Mobile Safari/537.36 Home Assistant/2024.10.3-14058 (Android 15; Pixel 6)): Disconnected: Did not receive auth message within 10 seconds
2024-11-07 21:13:37.540 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
2024-11-07 21:14:18.557 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400) 
2024-11-07 21:16:59.375 ERROR (MainThread) [snitun.multiplexer.core] Ping fails, no response from peer
2024-11-07 21:17:06.393 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:default [None]
2024-11-07 21:17:09.392 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:17:24.399 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:17:29.412 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:default [None]
2024-11-07 21:17:35.405 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:18:00.431 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:default [None]
2024-11-07 21:18:19.408 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
2024-11-07 21:18:52.411 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
2024-11-07 21:19:07.416 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:19:25.423 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:19:49.431 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:20:23.434 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
2024-11-07 21:21:05.436 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
2024-11-07 21:21:19.445 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:21:31.452 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:21:51.456 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:22:02.466 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:22:13.474 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:22:29.482 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:22:45.546 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:default [None]
2024-11-07 21:22:48.488 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:23:05.498 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:23:21.504 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:23:32.512 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:23:34.562 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:default [None]
2024-11-07 21:23:52.522 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server (Can't connect to SniTun server us-east-1-13.ui.nabu.casa:443 with: [Errno -3] Try again)
2024-11-07 21:27:34.706 WARNING (MainThread) [homeassistant.components.cloud] Unable to activate Alexa Report State: Server disconnected. Retrying in 30 seconds
2024-11-07 21:27:34.708 WARNING (MainThread) [hass_nabucasa.iot] Connection closed: Cannot write to closing transport
2024-11-07 21:28:04.664 ERROR (MainThread) [snitun.multiplexer.core] Ping fails, no response from peer
ZhuDaHai commented 2 weeks ago

The above log seems to show that if HA cannot contact hass_nabucasa.remote, then it will just wait indefinitely and pause the startup. But it doesn't explain why Core 2024.11.0 won't install. And there are no entries in log.1 from the previous reboot that show any failures with the Core update.

ZhuDaHai commented 2 weeks ago

I tried updating to Core 2024.11.0 a 3rd time, and after an hour, it finally finished and rebooted. But it still shows its on Core 2024.10.4 with update to Core 2024.11.0 available. Here is the home-assistant.log.1 (I don't see anything related to a failed update, but I also don't know what to look for): home-assistant.log.1.log

ZhuDaHai commented 2 weeks ago

Updating from Core 2024.10.4 directly to 2024.11.1 did work on the Pi 5, so I don't know if this issue is still relevant.