Issue updating HA Core - can it be done on a fresh install and then applying backup with older version?

heya,

My system has become super unstable, rebooting itself randomly about every hour and loosing conneciton to the network so i cannot work on it.

I’m currently on core 2024.10.3 and will update the OS when i can get the sytem to run for long enough, i think its 14.

  • Core 2024.10.3
  • Supervisor 2024.12.3
  • Operating System 14.2
  • Frontend 20241002.3

It’s running on a usb SSD attached to a rpi4 with 1GB ram - its been fine for a year and now it’s become nightmare (especially as its freezing cold right now). It’s a very basic system controlling a few wiz lights, tasmota plugs for heaters, zigbee temp sensors and localTyua radiator.

I was hoping updating to the latest version would solve somethings but whenever I try the update fails without any error messages and just reboots back to the current verison. I’ve been trying to do a staged upate via the terminal ha core update --verison 2024.12.0 but that also just says processing for a while and then nothing…

I don’t really know where to start looking for issues casung this, especially as nothing has changed. Any suggestions what to look for in the logs would be great - thanks!

Finally is it possible to create a fresh install of HA and update to the lastest verison and then apply a backup without reverting back to the OS from the backup?

Thanks in advance.

Yes and no.

The OS version will stay as the latest (14.2).

The core Home Assistant version will revert whatever the backup contains.

To retain the core version instead of restoring the the backup you would have to open it and copy the entire contents of your /config folder from the backup to the clean system (including hidden folders). Then reinstall any add-ons you had as only integrations and config will be restored via this method.

That is very likely not enough memory and the cause of your issues.

Other possible issues: power supply. The recommended power supply may not be able to provide enough power for your system and your SSD.

Just to add you need to fix the problem before upgrading as you will only end up in the same position as you are in now.

Read this before upgrading.

1 Like

Thanks for the responses, good to find out before wasting time doing another install.

I have switched to a 100W psu and thought that might have solved things, no rebooting! However on closer inspection the system crashed after an hour and didnt restart as can be seen in the memory use history amungst other histories.


unfortunately the logs have all been reset with the reboot, is there a way to retain this history so I can check what happened right before the crash?

I’ve been running HA on this pi for over a year and it’s only recently starting causing such issues. Do the newer versions need mroe RAM? maybe it’s best to restore to backup from 6months ago when it was stable. Unfortunately I don’t have the cash for new hardward at the moment :frowning:

config/homeassistant.log.1 is the log from before the last restart.