#Can't connect to HA after hurricane

74 messages · Page 1 of 1 (latest)

dense sentinel
#

I have power and internet back on-line and can't connect to HA. I've tried:
homeassistant.local:8123 and get 'this page isn't working'
http://192.168.0.11/ and get 'this site can't be reached'
telnet and get the prompts for username and pw, but can't log in
https://<redacted>.duckdns.org/lovelace/default_view and the HA logo shows with 'Unable to connect to Home Assistant', retrying
I see it as a connected device in my router
I can ping 192.168.0.11 and it's alive
I'm getting messages I set up in automations
http://192.168.0.11:4357/ gives Home Assistant observer, Supervisor: Connected, Supported: Supported, Healthy: Healthy
What else can I try?

glacial brook
dense sentinel
cedar tiger
#

Connect a keyboard and monitor and check the logs.

glacial brook
#

If it is a HA Yellow indeed, use the serial console for that.

dense sentinel
#

What do I look for in the logs, or should I just post it here?

cedar tiger
#

Share them.

dense sentinel
cedar tiger
#

Check ha core logs.

dense sentinel
cedar tiger
dense sentinel
#

to edit configuration.yaml, am I required to log in?

glacial brook
#

If you are using the serial console on a Yellow, no. It is in /mnt/data/supervisor/homeassistant/configuration.yaml. The Linux editor vicould be used.

#

-# Cheat sheet for the vi editor

dense sentinel
#

Ok so I did the first one 'Using Home Assistant's built-in debug mode in 2024.5.x or later (preferred)' and ran the logs again after a safe mode reboot. I didn't find any runtime errors. Does anything stand out?

#

hold on, i didn't save the config changes 😢

dense sentinel
#

I searched the file for 'runtime' and there are none, but there are errors and warnings.....unsure what to do next.

glacial brook
#

Have you tried the safe mode?

dense sentinel
#

The first part of the log shows going into safe mode

#

And yes, still can't get to lovelace page.

glacial brook
#

I would try the command ha core rebuild followed by a ha core restart.
If that does not work, a reinstallation of HAOS and restoring a backup might be the easiest.

dense sentinel
#

'ha core rebuild' didn't work. I am trying a factory reset by holding the red button on power-up.

dense sentinel
#

Using homessistant.local:8123 the restore is stuck at "Restore in progress" with a spinning circle. I let it run overnight. The red LED is on, green is flashing briefly every second, yellow is flashing twice every second. I see homeassistant is a client connected by wire in my router client list.

#

and only the power and wired ethernet cable are plugged into the HA board

glacial brook
#

Do the onboarding with temporary credentials first, then head to the backups page and upload the backup there. When that is finished, start the restore.

dense sentinel
#

I started over several times because I still haven't been successful in restoring my backup.

glacial brook
#

If the USB stick is still in your PC, you skipped steps 6 and 7

#

Also: for the USB re-install to work, you would have to have wiped (not factory reset) the Yellow.

dense sentinel
glacial brook
#

If you have flashed the installer or HAOS directly to the eMMC, no USB drive is needed. In that case the JP1 jumper has to be set back tu UART and the Yellow to be started without the USB cable attached.

#

Basically install guide steps 8 and forward without USB stick.

dense sentinel
#

Ok I'm starting over again. All I see on the web is how to factory reset, not wipe the Yellow. Can you point me to the instructions to wipe it?

glacial brook
#

If you used the USB cable to flash the Yellow directly the eMMC is wiped. Also pressing the blue and red button on startup erases everything instead of the factory reset with the red button.

dense sentinel
#

okay, I unplugged everything, held red and blue, plugged in power. now I see red on, green flashing once for each yellow flash.

#

after releasing buttons

glacial brook
#

Why? You said you flashed the installer according to the re-install guide option 2 SWconfused

dense sentinel
#

yes, I don't know what's wrong so I've started at the very beginning.

glacial brook
#

Okay.

dense sentinel
#

so now should i start 'Option 1 (recommended): Reinstall Home Assistant OS using Red + Blue button'

glacial brook
#

Both options are fine, option 2 is less likely to fail (the button method needs HAOS to properly boot - and you seem to have messed with it).

dense sentinel
glacial brook
#

Option 2 explicitly says:

Follow the instructions here. Note that because the installer is now installed to the eMMC, no USB flash drive is required.

#

If you followed option 2 to the letter, the USB stick is not needed.

dense sentinel
#

Maybe it should be more direct like "In Step 4 do not insert a USB stick"

glacial brook
#

It literally says: Note that because the installer is now installed to the eMMC, no USB flash drive is required.
shksShrug

#

Assuming no other step was skipped.

dense sentinel
#

My bad I guess. I interpret 'not required' as 'optional', that's all.

#

now i'm logged into a temporary credential HA instance. settings>system>backups>3 dots 'upload backup' is correct next step?

glacial brook
#

Yes.

#

When it is uploaded and showing in the list, you can select it and start restore.

dense sentinel
#

restore has finished and i am getting HA messages from my automations again. site still can't be reached.

dense sentinel
#

is there a way to reinstall the HAOS without overwriting the data?

glacial brook
#

No.

dense sentinel
#

what to do next?

glacial brook
#

Restart HA in safe mode. If it is working that way, the cause is likely a custom integration.

#

As it worked with the temp credentials, it has to be something from your previous config. Either a custom integration or an invalid config.

dense sentinel
#

Restarting in safe mode has HA running as I'm getting msgs from my automations. In 'ha core logs' I have errors i.e. 'ERROR (MainThread) [homeassistant.setup] Setup failed for 'hacs': Integration not found.' How to deal with this?

#

Assuming that is a problem to address to enable login again.

glacial brook
#

Without an error message actually pointing to the problem, I don't know.

dense sentinel
#

Specifically what do I look for? Can you provide an example?

glacial brook
#

Errors about invalid configurations or templates for example.

dense sentinel
glacial brook
#

Is the UI accessible in safe mode?

dense sentinel
#

no

glacial brook
#

In that case it might be a good idea to move this to #1284966540617449515 - as this does not seem to be a hardware issue anymore.

dense sentinel
#

Ugh. I just restarted the PC, Router, and HA and ... it's back, and not in safe mode.

glacial brook
#

Well... the result is what counts

dense sentinel
#

I thought I did that before starting this thread, but maybe not. At least I know my backups are valid.

#

Thanks for your help.

dense sentinel
glacial brook
#

Sounds like a good plan.