Core update stuck on 2024.8.0

Hi all -
I’m new to the forum, so apologies, I don’t know how to format my stuff just right, please bear with me!

After about a year experimenting with HA in a docker setup on my Raspberry Pi 4, and being stuck at version 2023.7.something - it would never show any updates, and I got frustrated trying to understand docker. So I started over with another identical Pi about 2 months ago. I installed HAOS 13 & imported my backup, made some changes and all was well. A big thumbs up to the Home Automation Junkie for his YouTube videos about entity naming helped me quite a bit to make the new setup more sensible! The initial core version was 2024.7.3, which I was able to update to 7.4 then 8.0 via the UI. There have been updates to HAOS 13.1, HACS, and something else I can’t remember that went fine.

Since then, I keep seeing notifications to update to new core versions, no luck via UI or CLI. I have had the same experience with 2024.8.1, 8.2, 8.3, 9.0, and now 9.1. In the UI, I get a progress bar for several minutes, then it just returns to the screen showing the available update and the same old version 2024.8.0. In the CLI, using “core update” or “core update --version 2024.x.x” it shows a message indicating it was completed successfully (or words to that effect), but the version is unchanged.

I don’t have anything very exotic, just about 10 lights and 2 outlets, and some minimal TV controls. I have tried restarting in safe mode, and the only thing that gives me any clues is when I run “core check” I get a message about either “Client.Timeout exceeded while awaiting header” or “context deadline exceeded”. I have already tried reconnecting the Ethernet (I usually run on wireless) and then restarting the host machine. I have plenty of disk space & RAM. The only other funky thing I’ve seen is some startup messages about bcrfmac or similar (I can’t retrieve them until I restart with a monitor attached) with a reason code of -52.

Pulling out my hair also doesn’t seem to help! Suggestions, please? Thanks

Have a look in your logs.

Settings → System → Logs

Check both Core and Supervisor logs

Thanks - I tried again today, with a few items from the core log addressed. I disabled some items (HACS, a partially functional Vizio TV integration) and set a manual internal URL as called out in the log.
After a manual backup and a restart in safe mode, I ran the updater again from the UI. This is a log excerpt for everything after the restart:
(Sorry - I don’t find a formatting option for the proper text block type I see everybody else doing)

2024-09-09 17:16:29.721 INFO (SyncWorker_4) [supervisor.docker.manager] Restarting homeassistant
2024-09-09 17:16:56.124 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-09-09 17:17:02.357 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-09-09 17:17:02.644 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-09 17:17:06.159 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='NOT_RUNNING', offline_db_migration=False)
2024-09-09 17:17:21.564 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)
2024-09-09 17:17:21.564 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2024-09-09 17:17:29.970 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2024.9.1
2024-09-09 17:17:29.971 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.8.0 to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.9.1
2024-09-09 17:17:29.971 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2024.9.1.
2024-09-09 17:17:31.904 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
2024-09-09 17:17:31.909 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/music-assistant/home-assistant-addon repository
2024-09-09 17:17:31.913 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
2024-09-09 17:17:31.927 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
2024-09-09 17:17:32.056 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-09-09 17:17:35.891 INFO (MainThread) [supervisor.store] Loading add-ons from store: 80 all - 0 new - 0 remove
2024-09-09 17:17:35.892 INFO (MainThread) [supervisor.store] Loading add-ons from store: 80 all - 0 new - 0 remove
2024-09-09 17:21:55.012 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.9.1: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.9.1&fromImage=ghcr.io%2Fhome-assistant%2Fraspberrypi4-64-homeassistant&platform=linux%2Farm64: Internal Server Error ("Head "https://ghcr.io/v2/home-assistant/raspberrypi4-64-homeassistant/manifests/2024.9.1": Get "https://ghcr.io/token?scope=repository%3Ahome-assistant%2Fraspberrypi4-64-homeassistant%3Apull&service=ghcr.io": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
2024-09-09 17:21:55.013 WARNING (MainThread) [supervisor.homeassistant.core] Updating Home Assistant image failed
2024-09-09 17:26:23.764 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token

This is similar to the errors I found when running the “core check” from the CLI. I don’t know what it means, and believe me I’ve been searching the best I know how in the community and the documentation. Can anyone enlighten me further? Thanks

Abracadabra, the formatting of the vaguely named “preformatted text” worked <<;-}

Now the same type of error is happening with the supervisor update 2024.9.1 that popped up about 2 days ago. Timeout errors in CLI. I tried setting the dns both on my HA system and the router to 8.8.8.8, no help. I tried getting a token by clicking on the link in the error message or log, and using this command “ha supervisor update --api-token” but that generates a 403 error.

What am I missing? How do I move this forward? I haven’t found any answers in the community except those about the DNS, maybe I don’t understand where/how to set that, or maybe that isn’t the problem. I’m also a bit confused about why docker is still part of the message, I thought HAOS was a different setup that didn’t use docker? Thanks for any guidance!

I finally figured out how to solve the problem on my own! (Well sort of). It turns out that my new router seems to be the problem. After looking at the router logs, it seems to be blocking the updates as if it was a DOS attack.

What I did was to shutdown the HA host, then temporarily bypass the router and plug the ethernet cable from the Pi directly into my internet (cable) modem. I then start up and run the core & supervisor updates as needed from the CLI. I shut down again, put the cabling back as normal to the router, and start up.

Presto - updates all done! I have done this for all recent updates and have now been successful every time.

I don’t understand exactly how to stop the router from blocking the updates, but at least I can work around it! Anybody have any general suggestions, realizing that every brand is different?