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

Cannot install update #605

Closed
sezlony opened this issue Mar 16, 2024 · 5 comments
Closed

Cannot install update #605

sezlony opened this issue Mar 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@sezlony
Copy link

sezlony commented Mar 16, 2024

Describe the bug
Installin update from 0.7.3 to 0.8.0 simply crashes

Expected behavior
clean install

Screenshots
n/a

Log Files

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:240
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 8:19:10 PM (5 occurrences)
Last logged: 8:21:43 PM

[139905120808384] Error updating Scrutiny (Full Access): Can't install ghcr.io/alexbelgium/scrutiny-fa-amd64:v0.8.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=v0.8.0&fromImage=ghcr.io%2Falexbelgium%2Fscrutiny-fa-amd64&platform=linux%2Famd64: Internal Server Error ("manifest unknown")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 167, in async_install
    await async_update_addon(self.hass, slug=self._addon_slug, backup=backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 55, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: Can't install ghcr.io/alexbelgium/scrutiny-fa-amd64:v0.8.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=v0.8.0&fromImage=ghcr.io%2Falexbelgium%2Fscrutiny-fa-amd64&platform=linux%2Famd64: Internal Server Error ("manifest unknown")

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 240, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2279, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2316, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 962, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 161, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 465, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 169, in async_install
    raise HomeAssistantError(f"Error updating {self.title}: {err}") from err
homeassistant.exceptions.HomeAssistantError: Error updating Scrutiny (Full Access): Can't install ghcr.io/alexbelgium/scrutiny-fa-amd64:v0.8.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=v0.8.0&fromImage=ghcr.io%2Falexbelgium%2Fscrutiny-fa-amd64&platform=linux%2Famd64: Internal Server Error ("manifest unknown")
@sezlony sezlony added the bug Something isn't working label Mar 16, 2024
@martadinata666
Copy link

upgrade docker version

@sezlony
Copy link
Author

sezlony commented Mar 17, 2024

@martadinata666: using HASSOS that wouldn't make any sense

@martadinata666
Copy link

For what ever way homeassistant pull image or deploy, it cant find manifest. That only mean the image doesn't exist or the docker too old to read new manifest. Ask the homeassistant add-ons to get more info https://github.com/alexbelgium/hassio-addons

@sezlony
Copy link
Author

sezlony commented Mar 17, 2024

@martadinata666: seems like it's now solved by developer (alexbelgium/hassio-addons#1305)

@alexbelgium
Copy link

Indeed for addon related questions please post on my repo and I would redirect here only after making sure that everything is fine on addon side. For example here I had to adapt for the switch of /bin/sh to /usr/bin/sh which is entirely on addon side. Have a nice day all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants