Yeah, that’s pretty much it. One exception: you’ll need to use Ubuntu 22.04, as 24.04 is not supported.
See Mail-in-a-Box Maintenance Guide (heasing “Upgrading Mail-in-a-Box”) for details. You’ll probaly need to addd a step 4, running the MiaB setup again.
Before I forget, you can easily test the migration by spinning up a new VPS, and keeping the old one running. This way you can try it out, see if you encounter issues.
I literally did the same thing a few weeks ago and didn’t have any major issues. Only had a little hiccup figuring out how to restore from my B2 Backblaze backup but overall it was surprisingly smooth.
And yes, spin up a new machine, set it up fully and then transfer the IP to it. At least that’s what I did and it was super easy (I use Linode).
I recently upgraded MIAB to the latest. No issues. This leads me to a question though:
Where is the best to hear of upgrades from? I logged into my server (Which I don’t do regularly) and it notified me of an upgrade.
I’ve enabled some notifications on Github but I’m not certain I’ve done it correctly or if it will work. Guess we’ll find out once a new update comes out.
Been using MIAB for a while and it’s amazing. Thanks JoshData!
I just had a nasty scare with my ancient and neglected v0.54 - a proper wake up call for me.
Something went wrong and running the sudo mailinabox setup failed (unsurprisingly) at python packages.
I was able to comment out the hide_output pip3 install --upgrade b2sdk boto to get up and running, I’m guessing without backups but I’ll be upgrading to v70 on Saturday.
Really glad to hear the process looks very straight forward. Lessons learned.
Thanks for all your feedback. I did not start the upgrade because of a lack of time but around xmas i will start. I have to check how to transfer the old ip to my new box then (Provider Hetzner) but your experience helps me to be confident.