#Home Assistant CLI Not Starting

1 messages · Page 1 of 1 (latest)

sudden furnace
#

Hello, I recently did an HA Core update and had some popups about hassos-data and hassos-data-old. I can't remember exactly what I chose but after restart, HA wouldn't boot and I got the “Waiting for the home assistant CLI to be ready …”

Tried to do what was outlined here and now I'm getting the added error of the "Home Assistant CLI Not Starting! Jumping into emergency console..."
I'm not sure how to get a proper log from the console to help diagnose the issue. Any help would be super appreciative. I don't want to have to blow up the install and re-setup everything, it would be so much time to do so.

Running HA in a VM on Proxmox 8.2.5

sudden furnace
#

Anyone?

elder fog
#

Can you restore a snapshot or backup?

sudden furnace
elder fog
#

Do you have HA backups?

elder fog
#

Also check

journalctl -ru hassos-supervisor.service
docker logs -t hassio_supervisor 2>&1 | less -Rm
sudden furnace
elder fog
#

Did you set up the SSH addon, or SAMBA or any other such addon?

sudden furnace
#

I don't think so 🙁

sudden furnace
elder fog
#

Do you have another linux system?

sudden furnace
elder fog
#

We just need a linux system to scp the backups to. Could be PVE itself too.

sudden furnace
elder fog
#

Run this in the VM

scp -rv /mnt/data/supervisor/backup/ root@PVENODEIPHERE:~/haos_backups

Then download the files from there PVE via FileZilla or WinSCP.

sudden furnace
#

using another linux system, alright I'll try that

elder fog
#

Once that's done stop the VM, attach a fresh HAOS disk, make it bootable, boot from it, in onboarding restore your backup.
Make a snapshot/backup right now.

sudden furnace
#

and if I don't have backups in there, am I SOL? just start from scratch? and ensure I have backups next time lol

elder fog
#

We'll see. We can also transfer your core settings.

#

Or try to fix things.

sudden furnace
#

thanks for helping, I'll let you know how it goes

sudden furnace
#

Busy week for me so I'll have to give this a shot sometime next week 🥲

sudden furnace
#

sorry it took me so long to get to this, it's been an insane few weeks for me

elder fog
#

That is not the HAOS VM's CLI.

sudden furnace
#

you said for me to use a linux system

#

I guess I misunderstood

sudden furnace
#

sorry, I don't do much linux stuff so my knowledge is limited

elder fog
#

I have no idea what I said. It's been too long. That command only works on the HAOS system though.

sudden furnace
#

sorry about that, end of November and beginning of december are crazy weeks for me

sudden furnace
sudden furnace
#

I think I may just blow it up and start from scratch. till take me a long time to get everything up but it feels like I just don't have the knowledge to search for my backups lol

elder fog
#

This tilde looks weird. Otherwise this should work

#

And v is a valid option

# scp
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-P port] [-S program]
           [[user@]host1:]file1 [...] [[user@]host2:]file2
sudden furnace
#

I copy-pasted your code with my IP added, didn't change anything else

elder fog
#

You can also replace ~ with /home/USERNAMEHERE. It's just a shortcut.

sudden furnace
#

sure I can try that

#

use my HA username?

#

scp -rv /mnt/data/supervisor/backup/ root@192.168.1.132:/home/dimitri/haos_backups

elder fog
#

No. The path leads to where you want to store the data in the given host. Use whatever you want. Could also be /root/habackups.

elder fog
#

The second part needs to point to another machine, not just a path.

#

This command was meant to push your backups to another device.

sudden furnace
#

oh I understand

#

it can be any machine on the network? any pre-setup I need to do on said machine? you said it's best for it to be linux right?

elder fog
#

Any Linux machine. The idea was that you use your PVE node.

sudden furnace
#

would be easier if I just sent it to another GUI machine I think, considering my lack of knowledge lol

#

easier to grab the files off of afterwards I'd assume

sudden furnace
#

now you suggested getting them via FileZilla or WinSCP?

elder fog
#

Yep.

sudden furnace
#

ok, what should I be doing next?

elder fog
#

Like I said, I'm missing the context. I'm guessing the plan was to blow it away, hence the backups.

sudden furnace
#

well I can't get back into HA at all

#

so I wasn't sure what would be the best path forward

sudden furnace
elder fog
#

ha datadisk wipe might work too.

sudden furnace
#

so I guess I'll give that a go

#

ok let me try

#

unfortunately not

#

anything I need to do with these backup files? is each folder a different backup revision?

elder fog
#

Nothing. You upload it in onboarding when you install HA again.

sudden furnace
#

ok I'll give that a shot