mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
13.98k stars 1.44k forks source link

Ubuntu 20.04 LTS Support #1751

Open Mustard opened 4 years ago

Mustard commented 4 years ago

Hi @JoshData

Firstly thanks for an awesome project!

I'd like to contribute back to MiaB, so thought I'd have a look at what would be involved in supporting Ubuntu 20.04

I've got a fork https://github.com/Mustard/mailinabox that I will push 20.04 "fixes" to, with the intent of submitting a pull request some time.

So far it looks like fairly standard stuff like PHP 7.2 to 7.4 etc

Some more invasive changes I can see

I do see that Next Cloud has released v18 https://nextcloud.com/changelog/ and MiaB 0.44 is currently on v17 Im assuming you would like to upgrade this for the next "major" release?

Appreciate any guidance on what you would like updated and how I can make it happen.

Cheers, Dan

tweenietomatoes commented 4 years ago

i'm really looking forward for that as ubuntu 20 came with many improvements(especially for cloud environment)

JoshData commented 4 years ago

We're not going to target Ubuntu 20.04. This project doesn't have the capacity to make huge changes like that every two years (beyond the source code changes, it needs to be tested, and there will always be unexpected problems), and I don't think many of our users want to be forced to upgrade to a new server every two years. We'll next target Ubuntu 22.04.

Of course, it helps to have the research on what needs to be fixed before April 2022, so I encourage you to keep working on #1752. I would likely accept simple PRs in the meanwhile that add compatibility for Ubuntu 20.04 or make it easier to write patches for Ubuntu 20.04.

JoshData commented 4 years ago

Clarification: I'd accept simple PRs for Ubuntu 20.04 for the purpose of making it easier for testing our preparedness for 22.04, not because we'll officially support 20.04.

Mustard commented 4 years ago

Hi @JoshData

No problems I did see this discord thread after I submitted the PR doh! So thought that might be the case. I was setting up a new mail in a box and thought targeting 20.04 would be a good idea but I totally understand the fatigue in keeping up with each LTS especially when 18.04 will get security patches. I ended up just deploying an 18.04 image and it's been great.

I would likely accept simple PRs in the meanwhile

Any suggestions on what area I could invest time where you would like to see MIAB improved? Not only for forward compatibility but improvements in general?

If not before then I'll try and be around near April 2022 ;-)

JoshData commented 4 years ago

I would love to get #1731 merged. Or just upgrading all of our components (Roundcube etc, but not Nextcloud) and testing that out so we can post the next minor update.

romain-neil commented 3 years ago

Hello, I try to install this on a fresh ubuntu 20.04 server, but i encounter few errors:

I can login on the dashboard but: the route for the status give a 504 error (timeout) so the "something goes wrong" message appear

This happend in the custom dns page, tls page and, afaik also in the "main" page

jvolkenant commented 3 years ago

Hello, I try to install this on a fresh ubuntu 20.04 server, but i encounter few errors:

I can login on the dashboard but: the route for the status give a 504 error (timeout) so the "something goes wrong" message appear

This happend in the custom dns page, tls page and, afaik also in the "main" page

Ubuntu 20.04 is not supported, please reinstall on 18.04

romain-neil commented 3 years ago

Hello, good news, the error was only caused by dns refresh error.

Mustard commented 3 years ago

Hi @tutosfaciles48

That is good news!

Just be aware that this fork isn't actively maintained and won't receive updates like the release version of MIAB that installs on 18.04 will. I would recommend that version for a production environment

DavidLibeau commented 3 years ago

It's really a shame that you wont support Ubuntu 20. For some server provider, Ubuntu 18 is already not supported anymore. 😞

JoshData commented 3 years ago

@DavidLibeau If you've invented a way to add an eighth day to the week where I have no responsibilities and can devote my time to this project, please let me know!

DavidLibeau commented 3 years ago

@JoshData I wish I could support, but I can't either…

jvolkenant commented 3 years ago

We are less than a year to 22.04 LTS. The 14.04 to 18.04 move turned out to be a problem for users who did not upgrade right away. I would prefer to do the least amount of OS upgrades as possible. Doing every other one is a good tradeoff. @DavidLibeau There are tons of VPS out there. You won't have a problem finding one that supports 18.04.

tens0rcat commented 1 year ago

I know this is closed, but I just thought I'd add something now that 18.04 LTS is about to go unsupported. I'm not ready to move to 22.04 yet (though I do expect to do so in about another 6mos-1yr. Anyway, I took a vm snapshot, just in case, and uprgaded 18.04 to 20.04. It's been about a week and so far I have not had any problems. I have not done exhaustive testing by any means. There are some features that I don't use at all (like dns) so ymmv.