#Emergency CLI

1 messages · Page 1 of 1 (latest)

supple hemlock
#

I've never seen this before.

fleet flax
#

I wish I could add an image here... To show the errors

tepid lanternBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

fleet flax
#

@supple hemlock

supple hemlock
#

Interesting, the supervisor itself has an issue which is quite bad since you can't use ha commands to update or fix it.

fleet flax
#

That's great news

#

My HA is toast?

supple hemlock
#

There's likely a bunch of manual steps you can take but we usually suggest re installing and restoring a backup in cases like this.

fleet flax
#

There's been ages since I did this. How would I reinstall when having the Hassio?

#

Since I cannot execute anything

supple hemlock
#

Depends how you installed it and what device you have.

#

The steps to "fix" this would basically be to stop the supervisor container and service, then rm the container, pull it again and reboot. Whether that works I don't know.
Maybe there's a simpler solution I can't think of right now.

fleet flax
#

I can try it, if you can give me the steps to type in

#

If it goes sideways so be it, I will format the SD card then

supple hemlock
#

Alright.

systemctl stop hassos-supervisor
docker rm hassio_supervisor
docker pull ghcr.io/home-assistant/aarch64-hassio-supervisor
systemctl start hassos-supervisor

Give it a second and see if ha works now. If any of these commands complain let me know. Also make sure you downloaded your backups.

fleet flax
#

Ehm, got Denied on that pull

supple hemlock
#

What does it say exactly?

#

Oh. Sorry. Typo. Try now.

fleet flax
#

Ok, downloading

#

Got some systemctl retry error, doing a reboot

supple hemlock
#

That's very vague.

fleet flax
#

It was very vague to me as well

#

It is acting odd

#

I think it might have workd

supple hemlock
#

If you have the possibility use a SSD with a powered USB Hub. It's a lot more reliable than SD Cards. I don't think it's related in this case though.

fleet flax
#

Maybe not... Let me share a picture

supple hemlock
#

Seems to have worked?

fleet flax
#

Yes, do you happen to know how I can shut it down from the CLI? The entire raspberry

#

I have to move it

supple hemlock
#

ha host shutdown.

#

Or just poweroff when in the normal or emergency CLI.

fleet flax
#

Alright, many thanks. You saved me a lot of time there

supple hemlock
#

No problem.

fleet flax
#

Lets just hope once it boots up again everything is OK 🙂