Core update failed...july is rolling back

Hmm, 1G of RAM is abysmally low considering the number of custom integrations you’re running. You probably also have a few built in integrations too (zigbee at the very least, from what I can see). If you’re also running addons, the load is even higher.

My 4GB RAM installation with around 20 custom+built in integrations and 5 running addons hovers at around 27% usage when idling, so roughly over 1GB. This jumps up substantially during an update, so I hope you can see where I’m going with this…

Basically, everything seems to be pointing towards too much load for the hardware you’re using. When RAM gets full, it will start using SWAP (whatever is left of your already low 32GB storage). During an update, it will eat up all the RAM and SWAP you have available and run into issues.

I could suggest increasing the SWAP file size, but that’s gonna run you into 2 issues - you’ll have even less storage space available and you’re gonna wear out that poor SD card in no time.

You could also try debugging to see if the issue is being caused by an integration, but that means installing yet more integrations and ballooning the logs. It’ll probably make your problem worse.

My advice: given that you’ve been seeing problems with updates since day 1, things will only get worse for you in the future as you add more stuff. Just bite the bullet and get better hardware. Something with 4GB Ram and at least 64GB storage (ideally SSD) will be more than enough for the foreseeable future.
It doesn’t necessarily have to be a Pi - there’s plenty of threads here suggesting to buy a used small PC or old laptop if budget is an issue.

In the meantime, please make sure to store a local copy of your backups so you’ll have them handy when you want to restore after reinstallation.

(Apologies for the long post - I wanted to be as clear as possible)

1 Like