Update Issue "Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant"

Hi,

Whenever there is an update to HA I seem to have the following issue.
I click on the update, but after a bit of spinning nothing seems to happen.

2022-09-15 14_22_12-Window

Checking the logs for the Supervisor I can see.

22-09-15 14:21:53 INFO (MainThread) [supervisor.backups.manager] Creating new partial backup with slug 3a8a8bf1
22-09-15 14:21:53 INFO (MainThread) [supervisor.homeassistant.module] Backing up Home Assistant Core config folder
22-09-15 14:21:56 INFO (MainThread) [supervisor.homeassistant.module] Backup Home Assistant Core config folder done
22-09-15 14:21:56 INFO (MainThread) [supervisor.backups.manager] Creating partial backup with slug 3a8a8bf1 completed
22-09-15 14:21:56 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2022.9.4
22-09-15 14:21:56 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.9.2 to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.9.4
22-09-15 14:21:56 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.9.4.
22-09-15 14:22:02 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
22-09-15 14:22:02 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
22-09-15 14:22:02 INFO (MainThread) [supervisor.api.middleware.security] /backups/3a8a8bf1/info access from cebe7a76_hassio_google_drive_backup
22-09-15 14:22:59 ERROR (SyncWorker_2) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.9.4: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.9.4/json: Not Found ("no such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.9.4: No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.9.4")
22-09-15 14:22:59 WARNING (MainThread) [supervisor.homeassistant.core] Updating Home Assistant image failed

However if I go to ghcr.io/home-assistant/raspberrypi4-64-homeassistant there does seem to be a file with the tag 2022.9.4.

This will happen for a few days as I occasionally try to update, until suddenly it will complete for no apparent reason.

Does anyone have any idea why this would be?

Iā€™m on a Raspberry Pi 4 2Gb, booting from an external USB SSD which has Home Assistant OS installed.

Checking the forums for this issue I saw a few topics which were related to being on a different subnet, but I have nothing clever setup with my networking.

1 Like

Some more information on this, I just tried again from the WebUI and the update failed again with the same error.

I then tried updating from the command line and this worked

[core-ssh ~]$ ha core update
Processing... Done.

Command completed successfully.

For reference here is the logfile after it was successful

22-09-18 12:11:48 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2022.9.4
22-09-18 12:11:48 INFO (SyncWorker_4) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.9.2 to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.9.4
22-09-18 12:11:48 INFO (SyncWorker_4) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.9.4.
22-09-18 12:15:51 INFO (SyncWorker_4) [supervisor.docker.interface] Stopping homeassistant application
22-09-18 12:16:02 INFO (SyncWorker_4) [supervisor.docker.interface] Cleaning homeassistant application

So I have a workaround, but does anyone know why this is happening? Since it would be useful to be able to update from the WebUI.

I am using Firefox, so when the next update comes in, I will try updating using another browser.

1 Like