Unable to update to latest esphome

Hope this is the right spot. Trying to update but not able to. Anyone else seen this? I just updated home assistant and zwave js without issue. Tried a reboot but no luck, same error

Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/update.py:169 
Integration: Home Assistant WebSocket API (documentation, issues) 
First occurred: 12:14:57 AM (4 occurrences) 
Last logged: 12:22:59 AM

[2778655832] Error updating ESPHome: Can't install ghcr.io/esphome/esphome-hassio:2023.2.4: 404 Client Error for http+docker://localhost/v1.42/images/ghcr.io/esphome/esphome-hassio:2023.2.4/json: Not Found ("No such image: ghcr.io/esphome/esphome-hassio:2023.2.4")
[2722685616] Error updating ESPHome: Can't install ghcr.io/esphome/esphome-hassio:2023.2.4: 404 Client Error for http+docker://localhost/v1.42/images/ghcr.io/esphome/esphome-hassio:2023.2.4/json: Not Found ("No such image: ghcr.io/esphome/esphome-hassio:2023.2.4")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 167, in async_install
    await async_update_addon(self.hass, slug=self._addon_slug, backup=backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 51, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: Can't install ghcr.io/esphome/esphome-hassio:2023.2.4: 404 Client Error for http+docker://localhost/v1.42/images/ghcr.io/esphome/esphome-hassio:2023.2.4/json: Not Found ("No such image: ghcr.io/esphome/esphome-hassio:2023.2.4")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 154, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 413, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 169, in async_install
    raise HomeAssistantError(f"Error updating {self.title}: {err}") from err
homeassistant.exceptions.HomeAssistantError: Error updating ESPHome: Can't install ghcr.io/esphome/esphome-hassio:2023.2.4: 404 Client Error for http+docker://localhost/v1.42/images/ghcr.io/esphome/esphome-hassio:2023.2.4/json: Not Found ("No such image: ghcr.io/esphome/esphome-hassio:2023.2.4")

1 Like

Same issue, whe trying to install the addon.
Can’t install ghcr.io/esphome/esphome-hassio:2023.2.4: 404 Client Error for http+docker://localhost/v1.42/images/ghcr.io/esphome/esphome-hassio:2023.2.4/json: Not Found (“No such image: ghcr.io/esphome/esphome-hassio:2023.2.4”)

Similar problem here. I’m trying to update but it fails with no such image. Is there a fix?

I haven’t gotten a response from anyone about this and have tried multiple places over the last few months. I guess I just need to dedicate hours to deleting it all and reinstalling. Really lame. I did nothing but update my install with built in update tool

Have you checked your disk space?
https://community.home-assistant.io/search?q=404%20Client%20Error

Yeah can install any other updates. Just not esphome

I’ve got the same issue and I have enough of disk space. What can I do in order to debug this issue and resolve it?

I’m having the same issue.

Plenty of free disk space and every other update works. The only one that fails is ESPHome

I also have this issue. Can’t update ESPHome since version 2023.04.01
-Home Assistant 2023.5.2
-Operating System 10.1 running on a Raspberry PI 2
-Disk space used is only 10%.
-Error message: Error updating ESPHome: Can’t install ghcr.io/esphome/esphome-hassio:2023.4.4: 404 Client Error for http+docker://localhost/v1.42/images/ghcr.io/esphome/esphome-hassio:2023.4.4/json: Not Found ("No such image: ghcr.io/esphome/esphome-hassio:2023.4.4

1 Like

Thanks, I posted over here and on the discord channels. I’ve been mostly ignored everywhere.

My understanding of the problem is that it isn’t an issue with ESPHome itself. Rather ESPHome is encapsulated in a Docker Image that Home Assistant is managing via the Add-On functionality. The error message implies that HA’s updater is getting a 404 when it attempts to download that update. That would imply that either HA’s Add-On update mechanism or the ESPHome Add-On that provides configuration is broke. Since updating other Add-Ons still works, I’m assuming the the issue lies in the ESPHome Add-On code.

Unfortunately I’m getting ghosted across all channels.

1 Like

Still broken for me. I don’t understand that no one from ESPHome or Home Assistant devs are looking into this. This must be broken for so many people.

I also still have this issue. ESPHOME works fine but can’t update (all other updates work fine).

[1529703368] Error updating ESPHome: Can’t install ghcr.io/esphome/esphome-hassio:2023.5.1: 404 Client Error for http+docker://localhost/v1.42/images/ghcr.io/esphome/esphome-hassio:2023.5.1/json: Not Found (“No such image: ghcr.io/esphome/esphome-hassio:2023.5.1”)

Hey @peterhanssens ,
I’m in the exact same situation like you,rapsberry pi 2,freshly installed Home Assistant (v.10.1),installed the ESP add-on without a problem and now that an update was released I can’t install it,end up with the same error message like yours.
I was in the same situation like two-three weeks ago,with an old installation of Home Assistant (v.9.5) and older version of ESP Home,for a while all the updates were fine,everything was updating without errors.
Suddenly,with a new update release,the update process has gone wrong…
Something changed in the ESP Home add-on code,this issue started like 3 weeks ago…
Will try to uninstall currently installed version and then reinstall the latest one.

1 Like

I have the same issue and environment. Raspi 2, and it stopped updating at least a month ago. Could have been 2 months

I have the same problem, but only on my RPi 2. I also running more or less the same setup on a NUC without any issues, so it seem somehow to be raspi related.

So, I uninstalled the ESPHome addon and reinstalled it. I didn’t lose any data/entities and I could install the latest version without that error.

2 Likes

Thanks, this worked for me too en was also very simple. I removed en added ESPHome again. No settings were lost. I don’t know jet if the updates will work again.

That’s been my understanding all long. The host logs have this error:

"Attempting next endpoint for pull after error: no matching manifest for linux/arm/v6 in the manifest list entries"

ESPHome won’t run on ARMv6. The RUB is that Raspberry Pi 2 is an ARMv7 CPU so why is it trying to pull an ARMv6 image?

Tried to remove and re-install the ESPHome integration, but the error is the same. I tried both with and without a reboot between the removal and installation, but still cannot upgrade.