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!

  • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    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 🙂

      • roofuskit@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        Honestly probably better to start from scratch. Backup yaml automations and scripts outside of Home Assistant and start over.

    • mac@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      10 days ago

      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?

      • roofuskit@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 days ago

        The only reason I update Home Assistant monthly is so I’m never in the position to have to read more than one months worth of breaking changes.

  • TedZanzibar@feddit.uk
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 days ago

    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!

  • d0ntpan1c
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 days ago

    I did a similar jump a while back, actually went quite well, at least via docker. I kept the old image on hand in case I needed to revert.

    But yes, backup first.