I installed the newest HA update (2024.5.5) and it’s in some sort of crash loop. I can’t get to the logs page on the web app to see what’s going on. I have backups, but the machine doesn’t stay up long enough to restore.
Any ideas?
I installed the newest HA update (2024.5.5) and it’s in some sort of crash loop. I can’t get to the logs page on the web app to see what’s going on. I have backups, but the machine doesn’t stay up long enough to restore.
Any ideas?
Reinstall Home Assistant then restore.
This is running on an x86 mini-cpu; is there a way to reinstall without disrupting the data disk (where the backups are stored)?
Big mistake. Big. Huge.
I use the Samba Backup add-on to back up my Home Assistant every night to my NAS. Some use the Google Backup add-on, but I haven’t tried it.
You need to get the .tar file from the Home Assistant backup. It will look something like: /backup/5c54f4a8.tar
Now comes the hard part. Getting to the /backup folder depends on how you installed Home Assistant. If you installed to Docker or in a virtual environment, then someone else will have to help you. If you installed HAOS to the boot device, then getting the files are easy. Sort of.
You can flash Ubuntu Desktop to a thumb drive, boot the thumb drive and select “try” (Not “Install”). Then you should be able to mount the data disk and cd /backup
, then use cp to copy the files to the thumb drive.
Reinstall Home Assistant then copy the backup files to the /backup directory. You may have to use the Ubuntu flash drive to reverse the process above. Home Assistant doesn’t make it easy to access the backup files.
Now when you run Home Assistant go to “settings”, “system”, “Backups”, and you should see your backup files.
I did finally get HA recovered after several false starts: