home-assistant / supervisor

:house_with_garden: Home Assistant Supervisor
https://home-assistant.io/hassio/
Apache License 2.0
1.66k stars 607 forks source link

Cannot upgrade Supervisor from 2024.5.1 #5146

Open bert269 opened 1 week ago

bert269 commented 1 week ago

Describe the issue you are experiencing

I cannot upgrade to any version of supervisor after 2024.5.1. Now trying to do 2024.6.0 - and get the same failures

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

Cannot upgrade supervisor from Setting menu. Four pending upgrades. Reports to upgrade Supervisor first, which fails. Error message: image

Anything in the Supervisor logs that might be useful for us?

2024-06-21 08:30:12.605 INFO (MainThread) [supervisor.jobs] 'Tasks._update_observer' blocked from execution, supervisor needs to be updated first
2024-06-21 08:30:29.334 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-21 08:30:29.335 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-06-21 08:30:29.336 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-21 08:30:29.337 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-21 08:30:29.338 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-21 08:30:29.338 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-21 08:30:29.339 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-21 08:31:44.613 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-21 08:31:44.614 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-21 08:32:59.721 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-21 08:32:59.722 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-21 08:32:59.723 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-21 08:32:59.725 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-21 08:32:59.725 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-21 08:32:59.987 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-21 08:32:59.988 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-21 08:32:59.988 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-21 08:34:38.493 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-06-21 08:34:39.634 INFO (MainThread) [supervisor.host.services] Updating service information
2024-06-21 08:34:39.651 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-06-21 08:34:40.156 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-06-21 08:34:40.169 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-06-21 08:52:24.452 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-21 09:22:24.785 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-21 09:33:00.005 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-21 09:33:00.007 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-06-21 09:33:00.008 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-21 09:33:00.010 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-21 09:33:00.011 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-21 09:33:00.012 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-21 09:33:00.013 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-21 09:34:15.251 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-21 09:34:15.253 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-21 09:35:30.368 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-21 09:35:30.369 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-21 09:35:30.371 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-21 09:35:30.373 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-21 09:35:30.373 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-21 09:35:30.629 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-21 09:35:30.630 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-21 09:35:30.630 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-21 09:51:00.460 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-06-21 09:52:25.148 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-21 10:22:25.403 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-21 10:35:30.656 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-21 10:35:30.657 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-06-21 10:35:30.658 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-21 10:35:30.659 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-21 10:35:30.659 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-21 10:35:30.660 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-21 10:35:30.665 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-21 10:36:45.861 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-21 10:36:45.862 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-21 10:38:01.997 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-21 10:38:01.998 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-21 10:38:01.999 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-21 10:38:01.001 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-21 10:38:01.001 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-21 10:38:01.259 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-21 10:38:01.260 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-21 10:38:01.260 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-21 10:41:20.172 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-06-21 10:41:21.306 INFO (MainThread) [supervisor.host.services] Updating service information
2024-06-21 10:41:21.323 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-06-21 10:41:21.819 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-06-21 10:41:21.831 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-06-21 10:50:13.023 INFO (MainThread) [supervisor.jobs] 'Tasks._reload_store' blocked from execution, supervisor needs to be updated first
2024-06-21 10:52:25.877 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-21 11:22:26.211 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-21 11:38:01.277 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-21 11:38:01.277 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-06-21 11:38:01.278 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-21 11:38:01.279 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-21 11:38:01.279 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-21 11:38:01.280 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-21 11:38:01.281 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-21 11:39:16.548 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-21 11:39:16.550 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-21 11:40:31.657 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-21 11:40:31.658 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-21 11:40:31.660 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-21 11:40:31.662 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-21 11:40:31.663 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-21 11:40:31.928 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-21 11:40:31.929 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-21 11:40:31.929 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-21 11:46:02.726 INFO (MainThread) [supervisor.supervisor] Fetching AppArmor profile https://version.home-assistant.io/apparmor_stable.txt
2024-06-21 11:46:02.885 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: hassio-supervisor
2024-06-21 11:46:03.073 INFO (MainThread) [supervisor.supervisor] Update Supervisor to version 2024.06.0
2024-06-21 11:46:03.074 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-supervisor with tag 2024.06.0.
2024-06-21 11:51:00.726 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-06-21 11:52:26.555 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-21 11:52:38.281 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.06.0: 500 Server Error for http+docker://localhost/v1.44/images/create?tag=2024.06.0&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
2024-06-21 11:52:38.303 ERROR (MainThread) [supervisor.supervisor] Update of Supervisor failed: Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.06.0: 500 Server Error for http+docker://localhost/v1.44/images/create?tag=2024.06.0&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
2024-06-21 12:09:27.522 INFO (MainThread) [supervisor.supervisor] Fetching AppArmor profile https://version.home-assistant.io/apparmor_stable.txt
2024-06-21 12:09:27.675 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: hassio-supervisor
2024-06-21 12:09:27.867 INFO (MainThread) [supervisor.supervisor] Update Supervisor to version 2024.06.0
2024-06-21 12:09:27.867 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-supervisor with tag 2024.06.0.
2024-06-21 12:16:03.019 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.06.0: 500 Server Error for http+docker://localhost/v1.44/images/create?tag=2024.06.0&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
2024-06-21 12:16:03.039 ERROR (MainThread) [supervisor.supervisor] Update of Supervisor failed: Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.06.0: 500 Server Error for http+docker://localhost/v1.44/images/create?tag=2024.06.0&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

System Health information

No outstanding repairs.

Supervisor diagnostics

config_entry-hassio-38080457a436ed0d1679cfb902d32077.json

Additional information

No response

agners commented 1 week ago

This typically indicates a host OS DNS issue. Can you check the network DNS settings?

dl6dbh commented 3 days ago

have problems update from 06.0 to 06.2 supervisor

agners commented 3 days ago

Can you ping ghcr.io from that system?

What is ha network info saying (in particular the host_internet flag)?

dl6dbh commented 3 days ago

ping to ghcr.io run

ping

andriej commented 3 days ago

It's "always the same" - set your DNS statically to i.e. 8.8.8.8 or 1.1.1.1. There's an issue regarding DNS and managing that information by HA OS on some systems.. Even when DHCP is proper.