HELP PLEASE - Home Assistant Won't Even Start

Hi all - looking for some help here. About a year ago I got a Raspberry Pi 4 and setup home assistant. I use it to control my z-wave thermostats, door lock, wall switches and plugs. In general I had everything working great. I had configured remote access via duckdns and a certificate.

Yesterday, I was unable to connect to my home assistant anymore, either via local IP or via the duckdns external connection tunnel through my router. I power cycled the RPi multiple times no luck. I can’t SSH into it either. I can ping it’s IP locally, but that’s it. Unfortunately I don’t have a micro hdmi adapter so at this point I’m stuck. I assume HomeAssistantis just not starting.

Over the course of using it I did create several backups along the way, but without really thinking about it, I realize now that they are all on the SD card and only accessible via HomeAssistant(I think?).

I popped the SD card into my PC and I can’t make heads or tails of the content. Scan disk says the SD card is fine, but I can’t tell if it is what it’s supposed to be and if the backups are anywhere there. I attached a screen shot of the SD card contents.

My questions:

  1. Is it worth going and buying an micro-HDMI adapter so I can see what the RPi is doing? Or chances are I’m stuck reinstalling HA at this point?
  2. Any thoughts on what the most likely issue is? RPi hardware failure? SD card corruption? I did not install any updates recently so I don’t think that’s the issue.
  3. Assuming I’m stuck reinstalling HA at this point, do I need to go through the full configuration again or is there a way to restore any of my backups? Is there anyway to get back all my scripts and automations?
  4. Going forward, what is the best way to not be in this situation again? Is it to periodically snapshot the SD card onto my PC? Would it be as easy as copying everything off the card via windows explorer? And if I ever got in this situation again could I just copy and paste back onto the SD card from my PC? I imagine it’s not that simple. What is the correct way to be backing up HA?

Thanks everyone!

Windows can only read the boot partition of the SD card, it can’t read the Linux partitions. However, install this, and you can read them :

Always good to have one.

Thanks for the info. I installed it and now see several partitions on the card. Any suggestions on where to go from here?

Backups are on hassos-data. Just double-click and search for your backups

These?

If so, what’s my next step to get a system functional again?

Chances are its the SD card failing, can’t be sure. Best solution is to buy a usb ssd and install on that. Second would be install on a different SD card, or third reinstall on existing sd card with a plan to sort the issue soon.

First step is to copy all those backups to your PC, then install a fresh HAOS and on the landing page pick the latest backup you copied to your PC and sit back and wait, for an hour or so. Then once complete, setup automatic backups to a location that is not your PI.

Those timestamps look old (2024).

You should see backup file names like the following:

Automatic_backup_2025.5.3_2025-06-10_04.57_17003988.tar                           Automatic_backup_

If you don’t know your encrypted backup password, then you can retrieve it. Follow this post

Getting your system functional again

Get a new storage drive or sdcard. Install a new copy of HAOS on it.

Restore your system from an automatic backup via Settings > System > Backups. You will need to provide the password you recovered that was used to encrypt the backup.

Thanks for the response! I can’t seem to find any other backups. Unfortunately I can’t browse using the file system, only through DiskInternals so I’m stuck at the partition level. Any ideas where I can find the backups?

Where these backups are. Seems you never set up automatic backups.

Any way to check if I need a password as mentioned above? and if so how to retrieve it assuming I can’t access my current system.

if you never set a password on the old backup system, no password is needed

Try to open the tar file with 7zip. If you can open all internal tar.gz files then you don’t need a password. If 7zip has an error “not a tar file” or the like then it is likely encrypted. In which case you can find the password following my other post.

Thanks everyone. I have an SSD, going to install on that once I have a SATA to USB adpater. Finger crossed the backups have most of what I need.

While you go shopping, buy a micro hdmi to hdmi adapter.

Daily backups. Install the Google Backups add-on or the Samba Backup add-on.

If you are serious about Home Assistant, buy a used micro-pc like the Intel NUC. They cost less than a new Raspberry Pi and will outperform the Raspberry in every metric. Best of all, no SD card.

Ordered the HDMI adapter. Thanks!

As far as the micro-PC, I’ll look into that.

When you have a new install set up automatic backups. For example, you can set it to daily backup and keep 3 copies (3 days).

Thanks, will definitely look into that.