Hey there,
I wanted to do a update but getting this error:
How can I solve this? Which infos do you need.
Thanks
Hey there,
I wanted to do a update but getting this error:
How can I solve this? Which infos do you need.
Thanks
what are you running Core on?
These are the terminal commands I need to use to update HA Core on DietPi (Debian).
systemctl stop home-assistant
/home/homeassistant/homeassistant-update.sh
systemctl restart home-assistant
Im running it on a Raspberry Pi 4 - how can i find the core?
Sorry not really into this, still learning.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/update.py:301
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19:21:55 (7 occurrences)
Last logged: 19:37:09
[2941363800] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy
[2934804168] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 299, 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, system is not healthy
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 199, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1750, 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 676, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 713, 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 301, in async_install
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy
Your system is “unhealthy”, as the error states. That means, simething is off, and HA is blocking the update, until you repair the fault(s).
Check the new “repair” menu and see, what comes up there:
Under the repair feature, there is nothing in it.
Then something else is off. Some error/fault is preventing HA from updating. That is kind of a security feature, as unhealthy installs are not supported.
So, let’s see:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/update.py:301
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19:21:55 (9 occurrences)
Last logged: 19:40:53
[2941363800] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy
[2934804168] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 299, 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, system is not healthy
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 199, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1750, 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 676, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 713, 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 301, in async_install
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy
That’s the log entry, that comes up, if you wsnt to do the upgrade. We’re not quite there yet, as we already know, your system isn’t healthy, and that’s why the upgrade is blocked.
What we’re now doing is searching for the reason, why your system is unhealthy.
That’s why the logs are important, but you can do another thing before you check for the logs:
Go to the Repair menu (where it gives no errors) and click the three-dot-menu in th eupper right corner. An overlay will be opened, copy the content of this overlay by pressing the “copy” button and post it here.
I saw there that I should do this
ha supervisor restart
This is done via terminal.
I’ve done it and retried the update.
Now its installing. Update is done and working.
Thank you. I had a similar problem and the terminal commands fixed it.
The Code blocks are empty ?
What is it you did to resolve this ?
I guess he did:
ha supervisor restart