1

Topic: iRedMail 0.9.7 -> 1.0 & Debian 10 Upgrade Considerations

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

I'm preparing to upgrage my server on this upcoming weekend.  It's currently a Debian 9.9 running iRedMail 0.9.7 (which was upgraded from a previous version).

Around 0.9.7 you moved to Nginx - should I switch at this point before upgrading to iRedMail 1.0?

(I did an early test run upgrading to Debian 10 and ran into a lot of problems - fixed most of them, but iRedAPB was no longer an installed service - and I couldn't get it going again.)

Are there any other things I should consider before upgrading?

----

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

2 (edited by Neutro 2020-02-06 20:05:47)

Re: iRedMail 0.9.7 -> 1.0 & Debian 10 Upgrade Considerations

Hey,

If your server is running on bare metal i suggest you virtualize it first, it makes server management/backup/update way easier and better use of hardware ressources. There are multiple free solutions.

Then make a full server backup using your virtualization solution (export to ovf/ova for vmware for example).

Once this is done setup a new server with a fresh install of Debian 10 and iredmail 1.0 and check that everything works properly.

Then use https://docs.iredmail.org/backup.restore.html to transfer data from old to new server.

After this is done apply the SQL changes from 0.97 to 0.98 as described here:

https://docs.iredmail.org/upgrade.iredm … b-backends

Do the same for 0.98 to 0.99:

https://docs.iredmail.org/upgrade.iredm … db-special

Then you should be good to go.

Use snapshots at all steps in case something goes wrong.

3

Re: iRedMail 0.9.7 -> 1.0 & Debian 10 Upgrade Considerations

lennis wrote:

Around 0.9.7 you moved to Nginx - should I switch at this point before upgrading to iRedMail 1.0?

Not necessary, you can stick to Apache.

lennis wrote:

Are there any other things I should consider before upgrading?

FYI: https://docs.iredmail.org/upgrade.debian.9-10.html

For iRedAPD, you can download the latest release and upgrade it. It will fix the SysV script and switch to systemd automatically. Or are you talking about other issue?

4

Re: iRedMail 0.9.7 -> 1.0 & Debian 10 Upgrade Considerations

ZhangHuangbin wrote:

For iRedAPD, you can download the latest release and upgrade it. It will fix the SysV script and switch to systemd automatically. Or are you talking about other issue?

I'm not quite sure, but now that you mention it .. that sounds like the issue I was experiencing.  I'll know for certain once I jump headfirst into it.

5

Re: iRedMail 0.9.7 -> 1.0 & Debian 10 Upgrade Considerations

Thanks Neutro.

Yea I'm big fan/advocate of VMs as well.