HA is dead please help!

Hi Everyone, i recently had a poweroutage at my appartment resulting in a shutdown of my rpi 4 running a home assistant container.

After logging into Home Assistant again everything in the UI was either unresponsive, missing or disabled.

All my addons are missing (also ssh, so i can’t access the cli and do a ha repair)

it also seems like supervisor is not running in the device page.

see screenshot below.

please if anyone can help that would be greatly appreciated, not really sure where to start…

Plug in a monitor and keyboard, you’ll be able to run the ha commands.

Hi Nickrout, i tried that but ha commands are not recognised, even tried accessing the home assistant bash through docker, still no luck… :frowning:

My home assistant runs in a container on debian

Do you have a recent backup you can restore from?

Yes fairly recent, would be alright using the latest.

If you are running ha as a container, you don’t have addons. Make up your mind :slight_smile:

Edit:

Surely if you have a recent backup, just restore to that ?
If your HA install is so broken you can’t restore, just reinstall a base version and restore from that.

May i ask a sidequestion here?

If you setup a fresh install of HA on a new computer, then take a backup from the old one, you can just restore the backup and everything is like it was before?

Yes you should be able to.

1 Like

I guess you’re right, i’m just afraid to to a reinstall/restore, never done it…

Ah yea, guess i meant supervised

Do you have ssh installed on debian? As oppressed to the supervised addon?

Also if you have access on the command line you should be able to run

docker ps

to see what is running, and other docker commands to start the containers that aren’t running.

There might be some hardware differences such as which usb port is in use of you use say a ZigBee usb coordinator, but it should be fairly straightforward to sort that out in the hardware settings.

it shows this:

pi@raspberrypi:~ $ docker ps
CONTAINER ID   IMAGE                                                         COMMAND   CREATED         STATUS      PORTS                                   NAMES
d19c297f5992   ghcr.io/home-assistant/raspberrypi4-homeassistant:2022.11.5   "/init"   4 weeks ago     Up 2 days                                           homeassistant
a099c2665d97   ghcr.io/home-assistant/armv7-hassio-observer:2021.10.0        "/init"   13 months ago   Up 2 days   0.0.0.0:4357->80/tcp, :::4357->80/tcp   hassio_observer

I’ve also had some issues with duckdns and portforwarding, but i assumed that it was unrelated since i’m able to log into home assistant but maybe not?

Well for a start you don’t have the supervisor running.

Reboot and try again. If supervisor still isn’t running, try starting it manually

docker start hassio_supervisor
1 Like

Omg you’re a genius!! that fixed it! thanks a lot!!

Also thank you for your help in finding the issue @Rofo

1 Like