question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't update HA Supervisor from 2022.5.3 to 2022.6.2

See original GitHub issue

Describe the issue you are experiencing

Can’t update HomeAssistant Supervisor to 2022.6.2

Error in log: `Logger: homeassistant.components.websocket_api.http.connection Source: components/hassio/update.py:256 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 13:52:20 (2 occurrences) Last logged: 13:53:02

[140331326428208] Error updating Home Assistant Supervisor: Update of Supervisor failed: Can’t install ghcr.io/home-assistant/amd64-hassio-supervisor:2022.06.2: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2022.06.2&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error (“Get “https://ghcr.io/v2/”: dial tcp: lookup ghcr.io: Temporary failure in name resolution”) Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/hassio/update.py”, line 254, in async_install await async_update_supervisor(self.hass) File “/usr/src/homeassistant/homeassistant/components/hassio/handler.py”, line 47, in _wrapper raise HassioAPIError(data[“message”]) homeassistant.components.hassio.handler.HassioAPIError: Update of Supervisor failed: Can’t install ghcr.io/home-assistant/amd64-hassio-supervisor:2022.06.2: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2022.06.2&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error (“Get “https://ghcr.io/v2/”: dial tcp: lookup ghcr.io: Temporary failure in name resolution”)

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 193, in handle_call_service await hass.services.async_call( File “/usr/src/homeassistant/homeassistant/core.py”, line 1704, in async_call task.result() File “/usr/src/homeassistant/homeassistant/core.py”, line 1741, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 204, in handle_service await service.entity_service_call( File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 680, in entity_service_call future.result() # pop exception if have File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 964, in async_request_call await coro File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 717, in _handle_entity_call await result File “/usr/src/homeassistant/homeassistant/components/update/init.py”, line 152, in async_install await entity.async_install_with_progress(version, backup) File “/usr/src/homeassistant/homeassistant/components/update/init.py”, line 411, in async_install_with_progress await self.async_install(version, backup) File “/usr/src/homeassistant/homeassistant/components/hassio/update.py”, line 256, in async_install raise HomeAssistantError( homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Supervisor: Update of Supervisor failed: Can’t install ghcr.io/home-assistant/amd64-hassio-supervisor:2022.06.2: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2022.06.2&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error (“Get “https://ghcr.io/v2/”: dial tcp: lookup ghcr.io: Temporary failure in name resolution”)`

What is the used version of the Supervisor?

supervisor-2022.05.3

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Debian

What is the version of your installed operating system?

5.13.0-52-generic

What version of Home Assistant Core is installed?

core-2022.6.7

Steps to reproduce the issue

Just press “Install” in “Update” Window

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

Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/update.py:256
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 13:52:20 (2 occurrences)
Last logged: 13:53:02

[140331326428208] Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2022.06.2: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2022.06.2&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io: Temporary failure in name resolution")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 254, in async_install
    await async_update_supervisor(self.hass)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 47, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2022.06.2: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2022.06.2&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io: Temporary failure in name resolution")

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 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1704, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1741, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 152, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 411, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 256, in async_install
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2022.06.2: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2022.06.2&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io: Temporary failure in name resolution")

Additional information

<html> <body>
Операционная система хоста Ubuntu 20.04.4 LTS
Канал обновлений stable
Версия Supervisor supervisor-2022.05.3
Agent Version 1.2.2
Версия Docker 20.10.12
</body> </html>

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
frenckcommented, Jul 6, 2022

Get “ghcr.io/v2”: dial tcp: lookup ghcr.io: Temporary failure in name resolution

That is not an issue we can do anything about. Your system (OS) and Docker setup are not able to resolve the ghcr.io hostname and thus not able to download an update from the web.

Please make sure you are connected to the internet, check your network settings, and especially review your DNS setup.

On a Home Assistant Supervised installation, that part is managed by you, not by Home Assistant.

Also, please note that Ubuntu is not supported by the Home Assistant project and will cause issues. Please consider migrating to Debian, as per our installation requirements.

0reactions
mdegat01commented, Jul 6, 2022

Closing since its a DNS issue on an unsupported system.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Supervisor was not able to update - Home Assistant
The solution. Manually update the Supervisor. This can be done from the Configuration panel. On the card for “Supervisor”, there is a button...
Read more >
Supervisor 2022.11.1 wont install · Issue #4003 - GitHub
Logger: homeassistant.components.hassio Source: components/hassio/__init__.py:666 Integration: Home Assistant Supervisor (documentation, issues) ...
Read more >
Home Assistant 2022.5: The most exciting 9 new features
Restart is located in the Developer Tools > YAML Configuration (or inside System menu see below). From the same menu you can check...
Read more >
Home Assistant 2022.5 - May release - YouTube
May release of Home Assistant is here - 2022.5. This video has been recorded on Beta5 of Home Assistant but update with change...
Read more >
Konnected help - Configuration - Home Assistant Community
Trying to get my Konnected board to be seen in HA. Here is the log entry: Log Details (ERROR) Logger: homeassistant.config_entries
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found