Can't update to 2023.2: System not healthy

Hi,

I tried to update my Home assistant installation from 2023.01.01 to 2023.2 (RPI with SSD) but I’m getting the following error:

Error updating Home Assistant Core ‘HomeAssistantCore.update’ blocked from execution, system is not healthy - setup

I tried the following:
*reboot the whole system.
*No repairs advised.

NB. I use Nabu Casa cloud

It looks like the web socket API is causing a problem.

This is the log:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/update.py:305 
Integration: Home Assistant WebSocket API (documentation, issues) 
First occurred: 11:44:45 (13 occurrences) 
Last logged: 15:00:19

[547666684432] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy - setup
[547623945504] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy - setup
[547624801408] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy - setup
[547722889296] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy - setup
[547735604720] Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy - setup
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, system is not healthy - setup

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, system is not healthy - setup

I found some other post about this error message, but those are from last year and they state a supervisor reboot would solve it. But it doesn’t in my case.

Does somebody have a clue about solving this issue?

2 Likes

Hi I’ve got it fixed by the following steps: (Credits to a post from Kushan)

  • Ignore the unhealthy check by using: " ha jobs options --ignore-conditions healthy " in the terminal
  • Reboot
  • Update as usual.
  • Reset the settings: " ha jobs reset " and " ha supervisor restart. " in the terminal.

This worked for me.

20 Likes

Any solutions that don’t need the terminal?

I get the same error trying to install the ‘Terminal & SSH’ add-on

HI All,
I am having a little issue too with attempting to update Core 2023.9.2 (from 2023.9.0)



I have tried changing my DNS, and also resetting the supervisor.

has anyone got a resolution please?

I’m having the same problem. What did you do about it?

I like that there is a fix from @kabbie but my question is why do I get this every time I try and update anything? It started a couple of versions back and now happens whenever I try and install any update, e.g. updating HA Core from 2023.11.2 > 2023.11.3.
Any ideas?
Help is greatly appreciated.
HA Blue running Home Assistant OS

This is happening to me now.