Unhealthy system - Setup failed

Hi all, I am new here and I tried to find my problem in the forum, but I could not exactly find it. Sorry if there is already a post that I didn’t find.

Today I for the first time installed Home Assistant on my Raspberry Pi 3B that I have laying around.
I did this via Belana Etcher, and after flashing the SD card, I started the RPI.

It took a while, but then everything started, and I was able to enter Home Assistant, but I found a message that I had a critical error, Unhealthy system - Setup failed. At first I found a solution being the DBUS problem, but that was not the problem I had.
I saw that the CLI was not starting and the system jumped into the emergency console.
I then tried to restart the supervisor, but got the error that this was blocked from execution because a system is not running, CoreState.STARUP

I am not an experienced Linux user, but I tried to find the problem on Google, without any result.
I refreshed a new SD card, but got the same problem. I also tried another RPI 3B… It didn’t help me.

What could I be missing? Please help :slight_smile:

Hi Brian,
I had the same problem since 2 weeks, I looked into it today and fixed it like this:

  • ssh access to the machine (via the addon for me)
  • run the ha supervisor repair command (it repaired the samba container)
  • and ha supervisor restart

You can check with the ha supervisor info command, the healthy flag which should be true.

Then I was able to update to 2022.11.5

For me it worked, but the error seems very vague, maybe it’s not the same problem. :thinking:

I hope this helps you. :slightly_smiling_face:

3 Likes

Thank YOU ! That solution helped me, apreciate !

I did a completely new install of my HA. Since this problem came about. Then it popped up again. The message was this issue occured 7 months ago. I do not understand how this can be since it is a fresh installation

2 Likes

Same issue here.

@yellow_panther Got any tips on how to proceed if I can’t install a SSH terminal (addons can’t be installed with unhealty system).

I’ve had the same problem. Rebooting/restarting (don’t remember which) temporarly made the error disappear, which made it possible to install the SSH add-on. After that I followed @yellow_panther’s instructions with success.

@all the above error has occurred on multiple times. I get this error stating the error occurred 8 months ago.
reparing and restarting does solve the issue. However this is temporary.
How can i get rid of this so i do not have to repeat this over and over