home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.61k stars 30.37k forks source link

Cannot update Addons #121524

Open Jack-Works opened 3 months ago

Jack-Works commented 3 months ago

The problem

Failed to create a backup of the Matter Server add-on: 'BackupManager.do_backup_partial' blocked from execution, system is not running - startup Failed to update the Matter Server add-on: Can't install homeassistant/amd64-addon-matter-server:6.2.1: 404 Client Error for http+docker://localhost/v1.45/images/homeassistant/amd64-addon-matter-server:6.2.1/json: Not Found ("No such image: homeassistant/amd64-addon-matter-server:6.2.1")

I need to set up an HTTP proxy to the docker to be able to download docker images. How can I do that?

What version of Home Assistant Core has the issue?

core-2024.7.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

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?

No response

Additional information

No response

BrianTomlinson commented 3 months ago

It may be related but i can't updated the matter server either... similar message...

Failed to call service update/install. Error updating Matter Server: Can't install homeassistant/amd64-addon-matter-server:6.2.1: 404 Client Error for http+docker://localhost/v1.45/images/homeassistant/amd64-addon-matter-server:6.2.1/json: Not Found ("No such image: homeassistant/amd64-addon-matter-server:6.2.1")

Jack-Works commented 3 months ago

@BrianTomlinson

I have a very hacky solution.

  1. Log in to Hass OS (not the Hass Core)
  2. Stop the docker daemon service (systemctl stop docker?)
  3. Manually start the dockerd with the parameters you want (e.g. HTTP proxy) like dockerd --https-proxy=...
  4. Ctrl+Z and bg it
  5. docker pull homeassistant/amd64-addon-matter-server and now it goes through the proxy
  6. Wait until it finishes and restarts the whole Hass OS
  7. Now you can update the Add-on in the Hass Core
BrianTomlinson commented 3 months ago

Thanks, I shall give this a try. Tbh, my whole install seems broken since the upate. Raised a ticket with HA too

home-assistant[bot] commented 2 months ago

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. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


hassio documentation hassio source (message by IssueLinks)