Ubuntu Migration Plan


#21

Well. The upgrade went well :slight_smile: During the process I updated the upgrade instructions above a couple of times.

I haven’t been able to notice any problems, and I can still send/get email.

/happy dance/ :beers: :coffee: :wine_glass:


#22

Thanks you for posting your experience! I’ll copy your steps into our official upgrade suggestions (once we go live with the new branch). :slight_smile:


#23

How would updating MiaB from the bionic branch be performed after this install?


#24

I installed bionic branch in Oct 2018 to make a non-critical email server. It has performed perfectly ever since. Today I tested migration from this to a new clean 18.04.01 server. I used the work flow suggested above by Illume. Bionic branch and the user-data restore both installed perfectly apart from one little thing. The server now seems to be performing equally well to the previous installation.
The one thing was this, see picture.


Early on I was asked for the main email address but I was unable to select the suggested me@localhost in order to change it. I could only toggle between OK and cancel. I solved the problem in a dirty way by editing questions.sh line 47 to the address I wanted. Is the inability to select the email address field just me not understanding something, or a bug?


#25

@triangledigital Sounds like a bug, but Can’t confirm. I can’t remember needing to change that, because I think it had my email address in there correct (it’s been some days, so my memory could be wrong). Did you try pressing up-arrow-key to get into that edit box? Might be worth submitting an issue: https://github.com/mail-in-a-box/mailinabox/issues


#26

@JoshData, is it possible for us to get a “beta” branch and an “alpha” branch, so we can somewhat lock down working versions of the development version for Ubuntu 18.04?


#27

there is a bionic branch, which is a “working” version for 18.04…

Edit, sorry it was “ubuntu_bionic”

Link: https://github.com/mail-in-a-box/mailinabox/tree/ubuntu_bionic


#28

So where’s the potentially not-working version of ubuntu_bionic?


#29

Can anyone share what the update path looks like from beta to stable? Wil it require complete reinstallation?


#30

I believe @joshdata said that it would be best to do a clean install for the 18.04 branch once it is stable. However I have not been able to locate that comment.


#31

I believe that #4 in this thread may be the message you are referring to…


#32

@alento to be fair, I am legally blind :smile:


#33

LOL, I do not believe you … i have seen how you can spot things in server logs that an eagle would miss. :stuck_out_tongue:


#34

Wellllllllll Legally Blind in ONE eye technically. :wink:


#35

That reply is regarding upgrading from 14.04. My question is in regards to updating from beta to stable.

I would be willing to install beta if the expected update path to stable doesn’t require a reinstallation of the OS.


#36

Guys, guys, if you want to talk about @murgero being legally blind, go do that on another thread (perhaps a new one that is created for that). People come to this thread to talk about the migration from Ubuntu 14.04 to Ubuntu 18.04.


#37

@JoshData would have to give the definitive answer on that … but my expectation would be that the next release would also duplicate as a newer version to upgrade to from the ubuntu_bionic branch… in other words, I would imagine that nothing more than the normal upgrade process would be needed. I would be shocked if this were not the case. We will await confirmation from the project maintainer.


#38

I’m treating the ubuntu_bionic branch as a release candidate, so the only changes that will happen on that branch from now until the release are fixing major problems that block a release. (Hopefully there won’t be any!)


#39

Since the ubuntu_bionic branch hopefully won’t change much from now until a release, upgrades will just be a git pull and re-running the Mail-in-a-Box setup setup/start.sh. So, at this point, I’m comfortable encouraging people to try out that branch and stick with it until a release.


#40

Hello, in a fresh install 18.04 stumbled on

    Mail-in-a-Box only supports being installed on Ubuntu 14.04, sorry. You are running:
    Ubuntu 18.04.1 LTS
    We can't write scripts that run on every possible setup, sorry.

What I followed was:

git clone https://github.com/mail-in-a-box/mailinabox
cd mailinabox
sudo setup/start.sh