1

Topic: Debian 12 support

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): n/a
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mariadb
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

It doesn't look like Debian 12 is officially supported but according to a thread on the GitHub repo it's working with the latest builds over there.  So I downloaded from GitHub but during the install I'm not given the option to install SoGo.  Is there a way to install iRedMail on Debian 12 with Sogo?  If not do you know when Debian 12 will be officially supported?  If it's imminent I'll just wait, if it's going to be a long time I'll probably go back to Debian 11.

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by Todd1561 2023-06-29 22:48:08)

Re: Debian 12 support

Some more info, I found in the github commit notes from a couple weeks ago it says sogo has not released a version for Debian 12 yet, so there's a condition in the install script to exclude it from the selection interface.  But there is Sogo 5.8.0-1 in the official Debian repository for 12/Bookworm, can we not just use that during the installer routine rather than the sogo deb repositories that the install script currently uses?

3

Re: Debian 12 support

its normal sogo, this one lacks the activesync components that are used and required, and sope is not yet available for debian 12

4

Re: Debian 12 support

Todd1561 wrote:

Is there a way to install iRedMail on Debian 12 with Sogo?  If not do you know when Debian 12 will be officially supported?  If it's imminent I'll just wait, if it's going to be a long time I'll probably go back to Debian 11.

Two options if SOGo team doesn't build packages for new linux distro release:

1) Use the SOGo packages from yum/apt repositories offered by Linux vendor.

Pros:

- No need to wait for SOGo team to build binary packages.
- Receive regular updates from linux vendors. NOTE: the updates are usually security and minor bug fixes for same release (e.g. 5.8-0 -> 5.8-1 -> 5.8-2), not big version update (e.g. 5.8 -> 5.9 -> 5.10 -> 5.11).

Cons:

- No big version update. If you're running SOGo v5.8.0, and SOGo team releases new version v5.9.0, or even v6.0.0, usually you won't get such updates from yum/apt repos offered by Linux vendor.
- If you need some features available in new SOGo release, you have to figure out a way to smoothly switch to SOGo nightly build (built by SOGo team), it should be easy by simply backup config files and SQL databases, then uninstall packages and install them from SOGo repo, but sysadmin must handle it manually. i hope no junior sysadmin messes it up.

2) Wait for SOGo team to offer the binary packages for this new distro release.

Pros:

- Get new SOGo releases as soon as SOGo team builds the binary packages and publishes on its nightly repo. https://packages.sogo.nu/nightly/

Cons:

- SOGo nightly build packages may be unstable. This happened few times in one decade.
- SOGo team may take a long time to build packages for this new distro release, especially after acquired by Alinto. History:

+ took 4 months for CentOS Stream / Rocky / Alma 9 after requested (by me): https://bugs.sogo.nu/view.php?id=5697
+ 7 months for Ubuntu 22.04 after requested (by me): https://bugs.sogo.nu/view.php?id=5511
+ 2 months for Debian 11 after requested (by me): https://bugs.sogo.nu/view.php?id=5380
+ 1 month for Ubuntu 18.04 after requested (by me): https://bugs.sogo.nu/view.php?id=4459
+ 8 months for CentOS 8 after requested (by me): https://bugs.sogo.nu/view.php?id=4829
+ 9 DAYS for Ubuntu 20.04 after requested (by me): https://bugs.sogo.nu/view.php?id=5015
+ 2 months for Debian 10  after requested (by me): https://bugs.sogo.nu/view.php?id=4775

So, which option do you prefer?

While Ubuntu 22.04 was released, we chose option #2 and waited for 7 months to enable SOGo in iRedMail.

5

Re: Debian 12 support

Thanks so much for the detailed reply. I’d say let’s switch to using the Debian repos. That would put sogo inline with all the other iRedMail components that, as far as I know, we get from Debian rather than going out to each developer directly. I’d also assume the versions Debian decides to pull into their repo will be more stable and have undergone more testing than the nightly builds.  For something like an email server I’d value stability over the latest breaking changes.

However, I did find a ticket on their site where someone has already requested Debian 12 nightly builds a couple weeks ago and they said it would be available in the coming weeks. So if you decide to stick with that method hopefully we’ll have a package available soon.

https://bugs.sogo.nu/view.php?id=5787

If I wanted to take it upon myself to alter the install routine to use the Debian repos is it just a matter of commenting out the lines that prevent the sogo option from being displayed in the installer and the lines that inject the sogo repositories in the apt.sources files?

Also do you know what Cthulhu was talking about with the Debian repo version excluding ActiveSync? Or was I misunderstanding what they were saying?

Thanks

6

Re: Debian 12 support

SOGo now supports Debian 12: https://bugs.sogo.nu/view.php?id=5787

any idea when the released installer will have support for SOGo? Or does it already?

7

Re: Debian 12 support

you can enable it by yourself, just use dev edition

8 (edited by Todd1561 2023-08-08 01:41:42)

Re: Debian 12 support

Do you mean clone the iRedMail github repo and install from there?

Or do you mean I can install SOGo manually by downloading the nightly dev version?  If so, I think I'd rather just wait until SOGo is officially part of the iRedMail installer for Debian 12.  Any idea when that might be?

9

Re: Debian 12 support

yes, clone the repo

10 (edited by cvcvelo 2023-08-10 23:52:15)

Re: Debian 12 support

Now that it looks like iRedMail, iRedAdmin-Pro, and SoGo (dev) are all supported on Debian 12, I'm about to try an upgrade from Debian 11. Before I do, two questions:

1. Does any iRedMail/iRedAdmin-Pro upgrade require any changes from the standard Debian upgrade guide?

2. Current Debian 11 system runs both Roundcube and SoGo. I don't think I need both.

To remove Roundcube, I think all I need to do is delete the directory under /opt/www and change any Nginx links to point to the SoGo login page. Are any other steps needed?

Thanks!

11

Re: Debian 12 support

cvcvelo wrote:

1. Does any iRedMail/iRedAdmin-Pro upgrade require any changes from the standard Debian upgrade guide?

No.

cvcvelo wrote:

2. Current Debian 11 system runs both Roundcube and SoGo. I don't think I need both.

To remove Roundcube, I think all I need to do is delete the directory under /opt/www and change any Nginx links to point to the SoGo login page. Are any other steps needed?

Maybe you want to backup then remove its SQL database too?