Upgrading from an ancient version of Home Assistant
Trying to upgrade from a 2021 release to the latest one, absolutely no idea whether this will work or not...
Originally I abandoned this install because the API I used to integrate a DIY addressable LED strip (controlled by a media player entity, changed colour to match the cover art) was removed and replaced with something else, and I didn't have time to redevelop it.
For a while its been possible to do something pretty similar with WLED - at that point I was just putting off the upgrades to not break anything π
At this point it's probably a better idea to re-install but let's see how this goes!
Quick update if anyone is reading this in future - the upgrade was successful!
Hats off to the HA developers and contributors - even though my install was completely unsupported, the updater pretty much sailed smoothly through everything.
It ended up taking several days to process all the database schema changes, along the way I did need to modify the MySQL InnoDB cache size from 128MiB to 1GiB (not the fault of Home Assistant at all - I didn't set up MySQL correctly π) once that was done things significantly sped up.
Looking forward to all the new features HA has to offer π
Read breaking changes? People don't accidentally hit update as they see the bold BREAKING CHANGE then deal with the consequences of their actions for the next 20-30 minutes?
Uh, good luck! It's giving me cold sweats just looking at that version disparity!
If it were me I'd be looking at doing some intermediate upgrades to help it along, if that's even possible. But hey, it might work, please report back!
I remember a looong while ago when I broke my virtualized install by trying to update with too little virtual disk space, had to expand it and manually install the latest core from a shell within the VM. On another occasion the sqlite database completely filled up the virtual disk (I disabled automatic pruning of old data) and that was a pain to export... eventually dumped it into a dedicated MySQL installation and all was well after that.
I've seen that they now have A/B boot (similar to how Android devices do) so hopefully these are issues of the past
Everything has gone smoothly so far. Spent two hours looking through all the release notes and have a loooong list of stuff to sort out as soon as it completes π€