Supervisor is unhealthy and I can not update or roll back any more

Hello,
it seems that I had an issue during an installation of a new supervisor version. Since then it is “unehalthy”. I tried to move to a backup via the UI → does not work.
When I try to install it again I get this error message:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:226
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 13:37:12 (1 occurrences)
Last logged: 13:37:12

[140449910900544] Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2023.10.1: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2023.10.1&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 258, in async_install
    await async_update_supervisor(self.hass)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 53, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2023.10.1: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2023.10.1&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

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 226, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2012, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2049, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
    return await service.entity_service_call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
    response_data = await _handle_entity_call(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 157, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 432, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 260, in async_install
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2023.10.1: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2023.10.1&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

I checked the internet connection and also restarted already a couple of times.

Running HA OS or Supervised ?

Hello @francisp,
I am running on a NUC and installed the HA OS as explained in the Installation tutorial on the ha homepage :slight_smile:

I also have to say that I am running the system already since 2 years and it is not a fresh installed version :slight_smile:

any help is welcome, I am super lost in this situation right now :-S

I too have this problem. I was able to pull a backup and downloaded an new ova vdi image(haos_ova-11.1.vdi.zip) and the supervisor update issue was happening on system setup.

hmm… not sure how I should use this information. Is there a way to update manually? It seems that I have a problem with my connection to ghcr.io as described in this post: Can't update OS or Supervisor.

The problem is that I am running everything on a NUC and not QNAP, so the answers do not help me.
I have a new Fritzbox since my last update but I can not see any settings that might cause this issue.

anyone with an idea? I really do not want to set up everything from scratch again :frowning:

ok, I just tried running the supervisor update again from the HA console and this time it worked. Not sure if that is going to help you.

There are at least three ways to install Home Assistant described in the docs. Are you running HAOS Generic X-86 or in a container or virtual machine?

Have you been doing all updates?

hey @stevemann, I am running HAOS Generic X-86 and I did all updates but since the update failed I am on
Core: 2023.10.3
HAOS 11.0
HAS: 2023.10.0

What is the third was to install? I can not find it, I can see UI and CLI. Both are not working for me.

Don’t let the “Uses Docker” column fool you. Home Assistant is a Docker image, but HAOS includes a minimal Linux OS and you never have to manage Docker. I had been using it for two years before discovering this.

@jmiller Jim’s answer, while helpful was confusing because an ova file is for a virtual machine. This is why I asked how you installed Home Assistant.

On the original question, I only saw this a few years ago when I was running Home Assistant Supervised on an Ubuntu Linux computer. Much to my frustration, the developers decided that they would only support Home Assistant Supervised on Debian. Thus the “Unhealthy” label, even though Home Assistant ran just fine. This is when I switched to X-86 HAOS and I have been happy with it since.

But, other than that, I don’t know what else could cause the “Supervisor is Unhealthy” warning.

Assuming that you have been making backups, starting over is not painful at all. I’ve done it a few times when something I was doing made a mess of my install. Rather than backtrack my steps, I just restored from backup, Done. About six months ago my server had a RAM failure and I just replaced the server, (I happened to have an Intel NUC that wasnt being used at the time) installed Home Assistant and did a restore. This got my Home Assistant working again and I could take my time diagnosing the failing server.

Hope this helps.