Can no longer access home assitant instance, please help!

This morning I was trying to re-enable a tuya local device that I had disabled through the integration, but selected yes to disable through the config when doing it. I was unable to re-enable through the button in the integration UI, and found a thread in the community forums suggesting to edit the ‘core.entity_registry’ file.

While I was working out how to access the .storage path I noticed that there was a home assistant core update. Which I decided to update while I worked out how to acccess the .storage section.

I’m not sure how long this update was taking, but eventually I found out how to access .storage, and so I updated the disabled entities in this by changing ‘disabled by’ to ‘null’. And then I saved the file, and clicked to restart home assistant.

After some time I noticed I had a second tab of home assistant instance open, and when I clicked on that it seemed to still be showing the core update going. I’m not sure if this had yet to finish or had not refreshed or what was going on. I started to worry because I did cook my first attempt at home assistant by turning power off while an update was still going. I was never able to access that home assistant instance again, and eventually I just reflahsed the SD card and started from scratch. This was no biggie as I had only added ahndful of devices at that point and not really set up any automations. This is not the case this time though. I have thousdands of entities, hundreds of automations. My house is not very friendly now without HA running.

Anyway, I’m seeing the same problem now. I can’t access home assistant via the local URL. I just get the ’ This site can’t be reached’ error from chrome. Can anyone help??

I have the automatic back ups, but no idea how to access them without HA being accessible. I used a back up to roll back an update of MQTT which was not working for me. But not sure how to access or restore now.

Please help! I’m due to go away on a work trip tomorrow and my partner will not be able to get the house back to normal.

First
Make a second copy of everything just in case things get worse

Second
Backups are stored in /config/backups

I believe you can unzip one of the backups files >> copy it over the current config folder >> reboot and be good to go.
Make sure you get the hidden folders and set correct file permissions

OR

Instead of above, reinstall HA >> restore backup

1 Like

Thanks for your help.

I managed to use linux viewer software from internal disk software to find the backups on the SD card, extract the correct one and then reinstall a fresh home assistant on the Pi. Then restore the back up through the set up process. Luckily it brought my Zigbee2MQTT info back (although I had to reinstall the mosquitto broker and the Z2M add on again, but all my devices and info was still there.

The back up restore process took a long time to complete It was about 400mb. In fact after 5 or so hours I gave up, but it looks as though it had completed and just didn’t refresh the observer page. I’m assuming that once you can acccess the home assistant URL and see the elements of your backup there it’s probably complete.

… get your backups externally saved.