Suddenly not able to access my home assistant

Ok, try one more time on a fresh VM, but this time restore the backup after you complete the onboarding process (create a dummy user). Keep pinging HA in the meantime.

If that still doesn’t work, you might have to unzip your backup and grab the configuration.yaml file from there, then inspect it for anything which might cause network issues.

This is the configuration.yaml

# Loads default set of integrations. Do not remove.
default_config:

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

# Customization
zha:
  enable_quirks: true
  custom_quirks_path: /config/custom_zha_quirks

zha_toolkit:

influxdb:
  host: a0d7b954-influxdb
  port: 8086
  database: homeassistant
  username: homeassistant
  password: HIDDEN
  max_retries: 3
  default_measurement: state

I can’t see anything special

Ok, try changing it to this and restore backup. It probably won’t work, but I’m basing this off the simplest possible configuration.yaml

# Loads default set of integrations. Do not remove.
default_config:

homeassistant:

frontend:

api:

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

If that doesn’t work, the only idea I have left is to start from scratch and copy over unzipped files from your previous backups one at a time (except for the includes - you need those to be there) until something breaks.

I think I have found the problem. Going to explain it, because it could be useful for other people.
I saw that i could ping the VM during the boot and shutdown procedure so I investigated what could change the network behavior of the OS after startup and… found it!
It was a ZeroTier plugin misconfiguration!
I Disabled the HAOS system on the ZeroTier website and ta-dah! online again!
Thank you for the assistance! I love Home Assistant so much now :slight_smile:

1 Like

Good evening,

I am running HA Green and I had a very strange adventure this evening, which I would like to share and ask you to help me find out the root cause so I can eliminate such behaviour in future, MANY thanks in advance for your kind help and ideas:

All day today everything was perfectly OK and just all of the sudden around 18:30 I am not able to access the GUI at all… (the app nor the web interface). I have:

  • checked the router, it is OK, all devices connected work well
  • checked ethernet cable, it is OK, switched with another device (so the router port is fine too…)
  • checked the HA if it is connected to my LAN, it is - I can see it on my router admin website, IP has not changed (it is fixed)
  • had a power cycle with 5 min waiting time, no change
  • button gracefull reset, no change
  • pinging the IP works:

64 bytes from 192.168.1.84: icmp_seq=518 ttl=64 time=9.676 ms
64 bytes from 192.168.1.84: icmp_seq=519 ttl=64 time=14.229 ms
64 bytes from 192.168.1.84: icmp_seq=520 ttl=64 time=13.202 ms
64 bytes from 192.168.1.84: icmp_seq=521 ttl=64 time=4.366 ms

— 192.168.1.84 ping statistics —
522 packets transmitted, 331 packets received, 36.6% packet loss
round-trip min/avg/max/stddev = 2.881/1117.448/184545.610/14223.622 ms

Trying to connect from my computer gives “ERR_CONNECTION_REFUSED” + “server declined connection”, trying to connect from Terminus with ssh was unsuccessful…

Around 19:59 suddenly HA started to get up. I had couple of reconfiguration notifications etc., but the most worrying were 3 repair warnings:

One more IMPORTANT information: few days ago I have moved my HA data to external ssd.

What I have done afterwards:

  • downloaded the latest full backup to my computer ( :face_with_open_eyes_and_hand_over_mouth:)
  • started restoring the latest backup to my HA
  • it has taken quite a while but the HA has been recovered fully

TBH I am quite confused if the new ssd is not corrupt. I will have to investigate possible transfer of data back to HA and exchange of the ssd just in case.

The final question is, from your experience:

what to do not to let such thing happen again? Please kindly advise…

many thanks again!

My first guess would be insufficient power to handle both the Green and the external SSD you just added.

What power supply are you using? If you didn’t upgrade your power supply to factor in your new SSD, then you might want to upgrade or connect your SSD via an independently powered USB hub.

Thanks a lot. The ssd has no external power option. I was using the original HA Green power unit. I would not expect (nor have I found anywhere in the ssd data move instructions) that the ssd required extra power. It was working fine for at least a week… I thought the usb port delivers sufficient power for the ssd to work fine…

Then use a powered usb hub like I suggested.
There’s plenty of other threads here about this issue. Granted, most of them are about the Pi, but the same principle applies.

Thank you. I will give it a try.

1 Like

Can you pls direct me to any discussion thread/info that describes that kind off issue? I googled quite a lot but could not find anything. Thanks a lot! J