Crashed while updating, now will not install update

I have HA on a Raspberry Pi 4 and it is running out of available RAM (I am going to migrate to mini pc very soon). I tried to install Home Assistant Core 2026.5.0 and I think it ran out of memory during install so HA crashed right when the update was showing 100%, but before finishing and saying "up-to-date". So every time now I have tried installing with most apps killed to free up RAM. But still when I try to install the update it shows 0% then goes straight to 100% and then the Raspberry Pi restarts without applying the update. I have rebooted, and rolled back to yesterday's backup to no avail. Is there a way to clear the downloaded update and download it again (like clearing a cache)? Or is there something else going on somebody out there knows about? Thanks

If you are using a machine that uses an SD card, updates where a lot of files are removed and installed is a very stressful time and the time when SD cards are most likely to fail. I would check that.

Also Code Server/VSCode Editor will take a whole gig of ram if it's running. Make sure that one is only on when you need it and is not started at boot.

I'm having a similar issue updating Home Assistant Core.

System:

  • Raspberry Pi 4 (8 GB RAM)
  • Home Assistant OS
  • SD card install

I have plenty of free RAM available (currently using around 2 GB), so I don't believe this is a memory issue. I also successfully installed the latest OS update without any problems.

I have tried:

  • rebooting the host,
  • updating in Safe Mode,
  • and retrying the Core update multiple times.

The Core update still fails.

This actually happened during the previous major update cycle as well, and at that time I ultimately had to re-flash the SD card and restore from backup. After that, the system ran normally again and all other updates/apps installed without issue.

I am not running the Code Server / VSCode add-on, though I do use several custom integrations and add-ons.

At this point, I'm wondering whether this could possibly be SD card corruption or a filesystem issue affecting Core updates specifically. However, if that were the case, I would expect broader installation or update failures beyond just Core updates.

Thanks!