Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when updating from 2023.8.4 to 2023.9.0; Unable to install docker image. #99909

Closed
ErikThorsell opened this issue Sep 8, 2023 · 6 comments

Comments

@ErikThorsell
Copy link

ErikThorsell commented Sep 8, 2023

The problem

Symptoms:

I attempt to update Home Assistant Core (by clicking Settings > Install):

image

The update starts as usual, but after a while the update manager stops and nothing has (visually) changed.

I first attempted to update yesterday (2023-09-08) morning and I have attempted to update a handful of times (5) since. Today I had some time to look at the logs and the update process seems to work fine, until the docker image is fetched.

What version of Home Assistant Core has the issue?

core-2023.8.4

What was the last working version of Home Assistant Core?

core-2023.8.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Home Assistant Supervisor

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

The below logs are from the latest update attempt:


23-09-08 10:40:47 INFO (MainThread) [supervisor.backups.manager] Creating new partial backup with slug 55c168ea
23-09-08 10:40:47 INFO (MainThread) [supervisor.homeassistant.module] Backing up Home Assistant Core config folder
23-09-08 10:42:15 INFO (MainThread) [supervisor.homeassistant.module] Backup Home Assistant Core config folder done
23-09-08 10:42:16 INFO (MainThread) [supervisor.backups.manager] Creating partial backup with slug 55c168ea completed
23-09-08 10:42:16 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2023.9.0
23-09-08 10:42:16 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.8.4 to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.9.0
23-09-08 10:42:16 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2023.9.0.
23-09-08 10:42:31 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.9.0: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2023.9.0&fromImage=ghcr.io%2Fhome-assistant%2Fraspberrypi4-64-homeassistant&platform=linux%2Farm64: Internal Server Error ("Head "https://ghcr.io/v2/home-assistant/raspberrypi4-64-homeassistant/manifests/2023.9.0": Get "https://ghcr.io/token?scope=repository%3Ahome-assistant%2Fraspberrypi4-64-homeassistant%3Apull&service=ghcr.io": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
23-09-08 10:42:31 WARNING (MainThread) [supervisor.homeassistant.core] Updating Home Assistant image failed

Looking at all update attempts, I find it interesting that all updates fail at the same "place", but the error messages differ!

I have listed the parts of the error messages that differs below:

Internal Server Error (""Get ""https://ghcr.io/v2/"": context deadline exceeded"")
Internal Server Error (""Head ""https://ghcr.io/v2/home-assistant/raspberrypi4-64-homeassistant/manifests/2023.9.0"": dial tcp 140.82.121.33:443: i/o timeout"")
Internal Server Error (""Get ""https://ghcr.io/v2/"": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"")
Internal Server Error (""Head ""https://ghcr.io/v2/home-assistant/raspberrypi4-64-homeassistant/manifests/2023.9.0"": Get ""https://ghcr.io/token?scope=repository%3Ahome-assistant%2Fraspberrypi4-64-homeassistant%3Apull&service=ghcr.io"": context deadline exceeded"")
Internal Server Error (""Head ""https://ghcr.io/v2/home-assistant/raspberrypi4-64-homeassistant/manifests/2023.9.0"": Get ""https://ghcr.io/token?scope=repository%3Ahome-assistant%2Fraspberrypi4-64-homeassistant%3Apull&service=ghcr.io"": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"")

Additional information

I run Home Assistant on a Raspberry Pi 4 8GB (and have been doing so for a long time, the installation is quite old).

I am also experiencing some issues related to Bluetooth: icanos/hassio-plejd#286. I have no idea if these are related but I highly doubt it.

@lquinn1
Copy link

lquinn1 commented Sep 8, 2023

I have these exact same issues with the same hardware even down to the bluetooth.

@ErikThorsell
Copy link
Author

I attempted a new update, now when 2023.9.1 has been released, and it seems to be working much better.

image

My Bluetooth issues also seem to be remedied (but I have been deceived before). I'll let you know if this changes.

Any input on why this could be?

@ErikThorsell
Copy link
Author

Updated to 2023.9.2 same day as it was made available. After three days, my bluetooth issues reappeared. I will consider reverting to 2023.9.1 tomorrow.

@ErikThorsell
Copy link
Author

I reverted back to 2023.9.1 as mentioned above and have had no issues for the past couple of days. I now see that 2023.9.3 is available, maybe I'll give it a go.

I would love some input on this. Is there anything I can do w.r.t. troubleshooting?

@home-assistant
Copy link

Hey there @home-assistant/supervisor, mind taking a look at this issue as it has been labeled with an integration (hassio) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of hassio can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign hassio Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


hassio documentation
hassio source
(message by IssueLinks)

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 28, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants