Supervisor update fails going from 2024.08.0 to 2024.09.1

I have 5 updates queued up:

  • Home Assistant Core
  • Home Assistant Supervisor
  • Matter Server
  • Advanced SSH and Web Terminal
  • Zwave JS

If I try to update any but the Supervisor, it fails and say I need to do the Supervisor first. However, that installation fails as shown below. I’m running HA in a VirtualBox virtual machine on an Ubuntu 22.04 system. I have tried rebooting both the VM and the host but it always fails the same way. I googled the failure and one hit showed up in Reddit with the same error (9 days ago) and there was some mention of a Python upgrade prerequisite but there was no discussion following that. Can anyone shed some light on this failure for me?

The Supervisor upgrade log:

  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 311, in wrapper
    raise err
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 303, in wrapper
    return await self._method(obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/docker/interface.py", line 276, in install
    raise DockerError(
supervisor.exceptions.DockerError: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.09.1: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.09.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/supervisor/supervisor/misc/scheduler.py", line 61, in _wrap_task
    await task.coro_callback()
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 311, in wrapper
    raise err
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 303, in wrapper
    return await self._method(obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/misc/tasks.py", line 148, in _update_supervisor
    await self.sys_supervisor.update()
  File "/usr/src/supervisor/supervisor/supervisor.py", line 206, in update
    raise SupervisorUpdateError(
supervisor.exceptions.SupervisorUpdateError: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.09.1: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.09.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)")
2024-09-19 10:31:49.804 INFO (MainThread) [supervisor.misc.tasks] Found new Supervisor version 2024.09.1, updating
2024-09-19 10:31:49.804 INFO (MainThread) [supervisor.supervisor] Fetching AppArmor profile https://version.home-assistant.io/apparmor_stable.txt
2024-09-19 10:31:49.918 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: hassio-supervisor
2024-09-19 10:31:50.031 INFO (MainThread) [supervisor.supervisor] Update Supervisor to version 2024.09.1
2024-09-19 10:31:50.031 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-supervisor with tag 2024.09.1.
2024-09-19 10:32:05.142 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.09.1: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.09.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)")
2024-09-19 10:32:05.151 ERROR (MainThread) [supervisor.supervisor] Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.09.1: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.09.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)")
2024-09-19 10:33:51.300 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 10:38:51.140 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 10:43:51.156 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 10:44:07.865 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-09-19 10:48:51.204 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 10:53:51.177 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 10:58:51.176 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:03:51.181 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:03:53.375 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from f0e7e328_hassio_google_drive_backup
2024-09-19 11:03:53.380 INFO (MainThread) [supervisor.api.middleware.security] /backups access from f0e7e328_hassio_google_drive_backup
2024-09-19 11:08:27.607 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-09-19 11:08:27.607 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-09-19 11:08:27.608 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-09-19 11:08:27.681 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-09-19 11:08:27.682 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-09-19 11:08:27.682 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-09-19 11:08:27.683 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-09-19 11:08:27.683 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-09-19 11:08:27.683 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-09-19 11:08:27.684 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-09-19 11:08:27.696 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-09-19 11:08:27.697 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-09-19 11:08:27.698 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-09-19 11:08:27.698 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-09-19 11:08:27.877 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-19 11:08:27.878 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-09-19 11:08:27.878 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-09-19 11:08:39.696 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-09-19 11:08:51.244 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:13:51.128 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:14:09.537 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-09-19 11:18:51.155 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:23:51.178 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:28:51.236 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:29:56.828 INFO (MainThread) [supervisor.jobs] 'Tasks._update_dns' blocked from execution, supervisor needs to be updated first
2024-09-19 11:33:51.140 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:38:51.295 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:43:51.261 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:44:11.449 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-09-19 11:48:51.144 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:53:51.202 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 11:58:51.190 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 12:03:51.160 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 12:08:28.998 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-09-19 12:08:28.998 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-09-19 12:08:28.998 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-09-19 12:08:28.074 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-09-19 12:08:28.075 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-09-19 12:08:28.075 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-09-19 12:08:28.076 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-09-19 12:08:28.076 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-09-19 12:08:28.076 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-09-19 12:08:28.076 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-09-19 12:08:28.088 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-09-19 12:08:28.088 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-09-19 12:08:28.088 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-09-19 12:08:28.088 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-09-19 12:08:28.227 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-19 12:08:28.228 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-09-19 12:08:28.228 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-09-19 12:08:51.149 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 12:09:39.203 INFO (MainThread) [supervisor.jobs] 'Tasks._reload_store' blocked from execution, supervisor needs to be updated first
2024-09-19 12:13:51.142 WARNING (MainThread) [supervisor.addons.options] Unknown option 'homeassistant' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-09-19 12:14:13.509 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-09-19 12:17:39.468 INFO (MainThread) [supervisor.supervisor] Fetching AppArmor profile https://version.home-assistant.io/apparmor_stable.txt
2024-09-19 12:17:39.540 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: hassio-supervisor
2024-09-19 12:17:39.659 INFO (MainThread) [supervisor.supervisor] Update Supervisor to version 2024.09.1
2024-09-19 12:17:39.660 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-supervisor with tag 2024.09.1.
2024-09-19 12:17:54.700 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.09.1: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.09.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)")
2024-09-19 12:17:54.707 ERROR (MainThread) [supervisor.supervisor] Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.09.1: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.09.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’m dead in the water on this issue (as far as updating goes). Is there a forum closer to the developers where I could raise this issue?

I was able to get past this issue. I did not root cause the problem but I was able to get the supervisor updated and the other integrations backed up behind it.

I am running HA in a VM using VirtualBox hosted on an Ubuntu 22.04 Linux system. I have 3 subnets in my home and I have all three connected to the host Linux system and bridged network connections to HA. After disconnecting all but one of them (in vbox,) the supervisor update completed successfully.