I’m having an issue updating Home Assistant Core from 2023.1.5 to 2023.1.7. I receive the error Error: 'HomeAssistantCore.update' blocked from execution, no host internet connection
although my internet connection is fine. I tried changing the DNS server to 8.8.8.8 and updating from the terminal, but that didn’t work either.
I then had a look in the core log which gave me the following output:
2023-02-01 12:14:00.392 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140625138209584] 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 51, 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 1755, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1792, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, 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 958, 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
I had no idea where to even begin solving this, so I decided to restore a previous backup and try updating again, but for some reason I’m unable to do so as well. The UI doesn’t show any activity at all when I click on restore, and from the terminal, it instantly says Command completed successfully
, but the backup is not restored. I had a look in the supervisor log and found this output:
23-02-01 12:13:35 WARNING (MainThread) [supervisor.jobs] 'HomeAssistantCore.update' blocked from execution, no host internet connection
23-02-01 12:13:35 WARNING (MainThread) [supervisor.jobs] 'HomeAssistantCore.update' blocked from execution, no host internet connection
23-02-01 12:13:35 WARNING (MainThread) [supervisor.jobs] 'HomeAssistantCore.update' blocked from execution, no host internet connection
23-02-01 12:14:00 WARNING (MainThread) [supervisor.jobs] 'HomeAssistantCore.update' blocked from execution, no host internet connection
23-02-01 12:18:54 INFO (MainThread) [supervisor.backups.manager] Found 80 backup files
23-02-01 12:18:54 INFO (MainThread) [supervisor.backups.manager] Found 80 backup files
23-02-01 12:19:06 INFO (MainThread) [supervisor.jobs] 'BackupManager.do_restore_full' blocked from execution, no host internet connection
23-02-01 12:22:01 INFO (MainThread) [supervisor.jobs] 'BackupManager.do_restore_full' blocked from execution, no host internet connection
23-02-01 12:22:29 INFO (MainThread) [supervisor.jobs] 'BackupManager.do_restore_full' blocked from execution, no host internet connection
I’ve also tried to reload the network ha network reload
which did not work either. The network info returns host_internet: false
, no matter what do. Here is the output from ha network info:
docker:
address: 172.30.32.0/23
dns: 172.30.32.3
gateway: 172.30.32.1
interface: hassio
host_internet: false
interfaces:
- connected: true
enabled: true
interface: enp0s18
ipv4:
address:
- 10.0.40.2/24
gateway: 10.0.40.1
method: static
nameservers:
- 8.8.8.8
ready: true
ipv6:
address:
- fe80::663c:160a:8eb2:6ea1/64
gateway: null
method: disabled
nameservers: []
ready: true
primary: true
type: ethernet
vlan: null
wifi: null
supervisor_internet: true
Has anyone faced a similar issue or have any ideas on how to solve this problem?
Thanks in advance for your help!