System unhealty after installing 2023.1.4

Hi there!

I’ve tried my luck already on finding a solution to my problem on facebook and the discord. But… no response! Having good hope for the forum, else i see no other solution that to start my HA install from scratch.

So:

After i’ve updated to 1.4 i can’t install any updates anymore. It’s showing me 1.7 now, but install won’t start because my system seems to be unhealthy.

I’ve had this problem once before, but then i was able to restore to a backup. In this case, i can find the backup, click on the “restore” button… but nothing happens. The popup disappears and… well… nothing. No error… Nothing.

So… back to the “not being able to update”. I’ve checked the log, and as soon as the update is started the logs shows this error:

homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy - setup
2023-01-02 19:13:46.582 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547042968240] 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

And well… i can’t really make anything of it. Hoping someone can point me in the right direction!

For clarity: i’m running on a PI in HA OS.

What does the repair menu in the settings say?

It says there aren’t any.

Somewhere in the settings menu you will find a place where it says your system is unhealthy and there will then be a blue text with learn more, which will bring you to a homepage with action to correct the issue.

Yes… but to be honest, that page doesn’t really give that much information.
Basicly it says “restart the system”. I have tried that several times. (From frontend, from CLI, power cycle of the Raspi) but it doesn’t seem to make any difference.

And what page did it refer to?

And you do not have a message about missing DBUS access?
It is a requirement that have been added within the last 6 months updates.

Both Supervisor and HA OS are up2date, so i would not know why not. Also there is no message about compatiblity issues.

You earlier version of HA might not have checked for DBUS access, but the new one does.
You have to set up DBUS access, if that is what it wants and a restart will not be enough.
The block on updates is because HA has experienced issues of this type earlier and wants to prevent them pro-active.

Yeah, sounds plausible… but there is no information i can find about how to do this.

Also, this github issue:

Mentions that it shouldnt be able to when using HA OS.

If you are not running a supervised installation, but in fact Home assistant Operating System, then you should be able to get into this situation.
No idea how that could happen then.

Have you solved your problem? I have the same problem

I’m having the same problem, and have no idea how to troubleshoot.

Well… you are not going to believe it.

But after multiple reboots, countless tries and a whole lot of frustration, yesterday evening it just: worked. And today (for 2023.2.1) it worked again.

So… i’m sorry: but no clue what happened.