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.

Cant update Home Assistant Core 2022.11.2

See original GitHub issue

Describe the issue you are experiencing

Im not able to update Home Assistant Core to the latest version, im getting the following error.

Logger: homeassistant.components.websocket_api.http.connection Source: components/hassio/update.py:305 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 9:20:46 AM (1 occurrences) Last logged: 9:20:46 AM

[140167080234672] Error updating Home Assistant Core ‘HomeAssistantCore.update’ blocked from execution, no host internet connection Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/hassio/update.py”, line 303, in async_install await async_update_core(self.hass, version=version, backup=backup) File “/usr/src/homeassistant/homeassistant/components/hassio/handler.py”, line 45, in _wrapper raise HassioAPIError(data[“message”]) homeassistant.components.hassio.handler.HassioAPIError: ‘HomeAssistantCore.update’ blocked from execution, no host internet connection

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 200, in handle_call_service await hass.services.async_call( File “/usr/src/homeassistant/homeassistant/core.py”, line 1744, in async_call task.result() File “/usr/src/homeassistant/homeassistant/core.py”, line 1781, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 208, in handle_service await service.entity_service_call( File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 678, in entity_service_call future.result() # pop exception if have File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 943, in async_request_call await coro File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 715, in _handle_entity_call await result File “/usr/src/homeassistant/homeassistant/components/update/init.py”, line 154, in async_install await entity.async_install_with_progress(version, backup) File “/usr/src/homeassistant/homeassistant/components/update/init.py”, line 413, in async_install_with_progress await self.async_install(version, backup) File “/usr/src/homeassistant/homeassistant/components/hassio/update.py”, line 305, in async_install raise HomeAssistantError( homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Core ‘HomeAssistantCore.update’ blocked from execution, no host internet connection

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Debian

Steps to reproduce the issue

  1. Click update on update Core

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

1. Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/update.py:305
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:59:50 AM (1 occurrences)
Last logged: 9:59:50 AM

[140561284751056] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, no host internet connection
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 303, in async_install
    await async_update_core(self.hass, version=version, backup=backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 45, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: 'HomeAssistantCore.update' blocked from execution, no host internet connection

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 200, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1744, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1781, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 208, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 943, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 154, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 413, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 305, in async_install
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, no host internet connection

System Health information

I dont see that.

Supervisor diagnostics

config_entry-hassio-5782e352e591d87a91927cd72825d71d.json.txt

Additional information

No response

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:3
  • Comments:23 (7 by maintainers)

github_iconTop GitHub Comments

8reactions
bdracocommented, Nov 16, 2022

Since its a pain to type on the console. I also put the one liner up at https://koston.org/sup_fix.txt

Be sure to check it before running it as its not good to blindly run code downloaded from the internet: curl -o - https://koston.org/sup_fix.txt

If it matches and looks good you can run: curl -o - https://koston.org/sup_fix.txt | sh

0reactions
laxfiend77commented, Dec 13, 2022

Since its a pain to type on the console. I also put the one liner up at https://koston.org/sup_fix.txt

Be sure to check it before running it as its not good to blindly run code downloaded from the internet: curl -o - https://koston.org/sup_fix.txt

If it matches and looks good you can run: curl -o - https://koston.org/sup_fix.txt | sh

do i run this comman in the homeassistant cli?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Update to 2022.11.2 Fails - Home Assistant Community
Trying to update HA Core from 2022.10.5 to 2022.11.2 on a RPi3. ... Here too, both Supervisor and Core won't install.
Read more >
Home Assistant OS stuck at updating : r/homeassistant - Reddit
Any ideas? it does this for everything : Core, Supervisor and even ... Home Assistant 2022.11.2 Supervisor 2022.11.0 Operating System 9.3 ...
Read more >
How to Update Home Assistant as Safe as Possible - YouTube
It is time to start updating Home Assistant the right way. Do you know how to properly update your Home Assistant OS installation...
Read more >
Updating Home Assistant
After updating, you must restart Home Assistant for the changes to take effect. This means that you will have to restart hass itself...
Read more >
Everything New in Home Assistant 2022.11!
Home Assistant 2022.11 includes new cards, water usage tracking, ... the second last update for Home Assistant has also arrived: 2022.11!
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