Upgrade from 57a to70

Hi there,

no flames please. :slight_smile: I have an old miab installtion on Ubuntu18.x and i want to move to a LTS 24.04. What would be the best way to upgrade?

  • Setup new box with same ip/dns
  • Install miab
  • restore backup

Is that the way to proceed?

Thanks in advance,

Maurice

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.

1 Like

Thx for confirmation. OK, 22.04 then. Will try it the next days.

Maurice

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.

Yes, good idea and worth doing it considering the large version gap … :slight_smile:

Thx, maurice

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).

Good luck!

1 Like

Just finished doing this and it went very smooth.

  • set up new server
  • install MIAB with the same hostname as the old one [or different if you prefer]
  • restore backup [I went with `rsync old:/home/user-data/mail /home/user-data/mail` and all users, mails, settings are identical]

Posting mainly to reassure you it’s not that complicated. :slight_smile:

1 Like

Today I also (finally) upgraded my MiaB 57 installation to 70.

If I knew it would be this easy, I would have done it years ago! I encountered 0 issues.

Thank you Josh and team!

Looking forward to the 24.04 upgrade

Thanks for the positive feedback!

Maybe 26.04, if folks pitch in next year!

3 Likes

Hello all,

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!

Thanks,
Dan C