Cannot upgrade HA Core since 2023.1.15

Hello! This is my first post. I’ve learned a lot reading the topics here and other information. I however cannot find an answer to my issue and I’ve been struggling for a while.

I am using a Raspberry PI 3B.
All updates went fine until recently and they still run OK for everything except the HA core. HAOS is also updating fine.
The update is listed as available and I have been trying for at least 20 times with or without creating backups, from the interface or from supervisor or the terminal add-on.

The update is starting and then it crashes.

I’ve been trying to fix errors, check which integrations could be preventing the update and I cannot figure it out.

I’ve also tried to take it to cmd line and do:
ha core info
ha core rebuild

ha core check
ha core update

I’ve found out that ha core check crashes every single time. Obviously ha core update crashes as well. Where should I look next?

There seems to be plenty of sd card space.

Here are the logs from the supervisor, as this is my first post I cannot post more information … it seems.

Should I try to find the corrupted backup file?

Thank you upfront!

Is your disk full ?

No, I’ve checked that already and posted above.

Hopefully someone will be along who can pinpoint the issue here - that first log doesn’t seem to be blocking anything, and that second one means nothing to me - only it seems to suggest it’s already closing down at that point.

But I do have one suggestion - have you considered running HA in docker?

I had a lot of issues updating HA a few years ago, mostly around incompatible python versions. I switched it to docker and I’ve not had a single upgrade issue since (other than feature and integration deprecations which were well communicated) I appreciate that’s not always something everyone wants to do, but it worked well for me.

Well, yes. Actually I was contemplating going with Proxmox on a NUC or HP Elitedesk, yet I had the RPI3B+ lying around and HA was entirely new for me. It still is, yet a lot of my house runs now through it: solar statistics, lights, central heating and hvac :). Maybe it’s time to consider something more powerful and stable. I am not too happy with so much logic running of an SD card :).

I’ve tried again a “ha core check”. There are a few issues that I am aware of:

  • ble monitor integration;
  • one ESPHome is annotating A for energy;

Could they be the culprit?

Then there are timeouts … this I cannot solve it seems.

Home Assistant Core

2024-03-14 09:19:49.336 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration ble_monitor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-03-14 09:19:49.340 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-03-14 09:20:14.346 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.

2024-03-14 09:20:14.347 WARNING (MainThread) [homeassistant.setup] Setup of bluetooth is taking over 10 seconds.

2024-03-14 09:20:37.715 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.

2024-03-14 09:20:37.716 WARNING (MainThread) [homeassistant.setup] Setup of timer is taking over 10 seconds.

2024-03-14 09:20:37.716 WARNING (MainThread) [homeassistant.setup] Setup of schedule is taking over 10 seconds.

2024-03-14 09:20:37.716 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds.

2024-03-14 09:20:37.717 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.

2024-03-14 09:20:37.717 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.

2024-03-14 09:20:37.717 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds.

2024-03-14 09:20:37.717 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.

2024-03-14 09:20:42.803 WARNING (MainThread) [homeassistant.setup] Setup of application_credentials is taking over 10 seconds.

2024-03-14 09:20:42.803 WARNING (MainThread) [homeassistant.setup] Setup of assist_pipeline is taking over 10 seconds.

2024-03-14 09:22:09.473 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: mobile_app, esphome

2024-03-14 09:22:13.257 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.easunmppt_pv_current_calculated (<class ‘homeassistant.components.esphome.sensor.EsphomeSensor’>) is using native unit of measurement ‘A’ which is not a valid unit for the device class (‘energy’) it is using; expected one of [‘kWh’, ‘Wh’, ‘MWh’, ‘MJ’, ‘GJ’]; Please update your configuration if your entity is manually configured, otherwise create a bug report at Issues · home-assistant/core · GitHub

2024-03-14 09:30:09.830 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request

2024-03-14 09:30:09.833 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request

2024-03-14 09:30:09.837 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /host/info request

2024-03-14 09:30:09.838 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request

2024-03-14 09:30:09.839 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /store request

2024-03-14 09:30:09.840 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request

2024-03-14 09:30:09.844 WARNING (MainThread) [homeassistant.components.hassio] Can’t read Supervisor data:

2024-03-14 09:30:33.828 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /ingress/validate_session request

2024-03-14 09:30:33.829 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/validate_session -

2024-03-14 09:30:38.829 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request

2024-03-14 09:30:38.833 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request

2024-03-14 09:30:38.835 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request

2024-03-14 09:30:38.836 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request

2024-03-14 09:30:38.840 ERROR (MainThread) [homeassistant.components.hassio] Error fetching hassio data: Error on Supervisor API:

2024-03-14 09:30:44.828 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /ingress/session request

2024-03-14 09:30:44.829 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/session -

2024-03-14 09:35:10.599 WARNING (MainThread) [homeassistant.components.systemmonitor.sensor] Updating systemmonitor took longer than the scheduled update interval 0:00:15

2024-03-14 09:35:20.829 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request

2024-03-14 09:35:20.832 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request

2024-03-14 09:35:20.834 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request

2024-03-14 09:35:20.835 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /store request

2024-03-14 09:35:20.837 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /host/info request

2024-03-14 09:35:20.840 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request

2024-03-14 09:35:20.848 WARNING (MainThread) [homeassistant.components.hassio] Can’t read Supervisor data:

2024-03-14 09:35:49.828 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_vscode/changelog request

2024-03-14 09:35:49.829 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch changelog for a0d7b954_vscode:

2024-03-14 09:35:49.832 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_configurator/changelog request

2024-03-14 09:35:49.833 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch changelog for core_configurator:

2024-03-14 09:36:00.830 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_ssh/info request

2024-03-14 09:36:00.831 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch info for core_ssh:

2024-03-14 09:36:00.834 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_configurator/info request

2024-03-14 09:36:00.835 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch info for core_configurator:

2024-03-14 09:36:00.837 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_vscode/info request

2024-03-14 09:36:00.838 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch info for a0d7b954_vscode:

2024-03-14 09:40:31.829 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request

2024-03-14 09:40:31.832 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request

2024-03-14 09:40:31.834 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request

2024-03-14 09:40:31.836 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /store request

2024-03-14 09:40:31.838 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /host/info request

2024-03-14 09:40:31.840 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request

2024-03-14 09:40:31.842 WARNING (MainThread) [homeassistant.components.hassio] Can’t read Supervisor data:

This error is just a browser that stopped responding. It is an issue at the browsers end and not with HA as such.

A Raspberry Pi 3 is quite limited on memory, so that might be it.
Try to stop all addons, if any, and then do the backup.

I tried that and it seems I got new errors. For some reason there still seems to be a reference to zigbee2mqtt, which I have removed some time ago. That generates an error in the update process, or so it seems. Thank you for the hint.

Later edit: Success! Thanks to WallyR’s suggestion I was able to proceed as indicated above, then I found out that the updated crashed over the repository from where I’ve installed zigbee2mqtt. I removed it from the repositories list and did a ha core update …

Thank you all for assisting!

1 Like