Disclaimer: I suggest you have a snapshot or a full backup of the original VM before proceedingBut I have a walled off Zimbra 8.8.15 server running on CentOS 7 and I want to move it over to this version of Zimbra. I've been googling quite a bit and even attempting some of the suggestions on how to get to a working RHEL 9 box with the latest Maldua Zimbra version on VM clones of the old server. So far, no luck. So I was wondering if there was any official/recommended path/method I could follow to get to a working new system?
I've done that multiple times. Although I have successfully done in-place upgrades with elevate in the past, they tend to fail. So the methodology I use for this type of migration is with new VMs instead.
The upgrade path is exactly what @adrian.gibanel.btactic said:
1) Zimbra 8.8.15 - CentOS 7
2) Zimbra 10.0.13 - CentOS 7
3) Zimbra 10.0.13 - CentOS 8
4) Zimbra 10.1.7 - CentOS 8
5) Zimbra 10.1.7 - RHEL 9
- Upgrade your current VM to 10.0.13 (RHEL7).
- Create a new VM with AlmaLinux/RockyLinux 8
- rsync the entire /opt/zimbra/ from old VM to new VM using these rsync options: -avxPAHX (important because Zimbra uses hard links for deduplication)
important: exlude the 'data/ldap/mdb/db/data.mdb' file because it is a sparse file (--exclude 'data/ldap/mdb/db/data.mdb')
- In the old VM, as zimbra user, take a copy of the sparse file like this:
Code:
$ mkdir /tmp/mdb$ mdb_copy data/ldap/mdb/db/data.mdb /tmp/mdb/
- Put /tmp/mdb/data.mdb from old VM to /opt/zimbra/data/ldap/mdb/db/ of new VM.
- Important: Take a backup of your /opt/zimbra/conf/localconfig.xml file. It will be overwritten later.
- Install 10.0.13 (RHEL8) on the new VM with the -s option (software only)When it asks you if you want to empty /opt/zimbra before proceeding, say No. So you keep all your data.
Code:
# ./install.sh -s
- After it finishes, restore the localconfig.xml from the backup you took earlier and as root user fix all permissions:
Code:
# /opt/zimbra/libexec/zmfixperms -extended
You should verify that everything's working by starting the services
as zimbra user:
Code:
$ zmcontrol start
You must now repeat the whole process but this time you go from RHEL8 to RHEL9 and use the 10.1.7 (RHEL9) release instead.
Also, since at the last migration you used -s, zmsetup.pl will not be invoked, make sure to create the cronjob that will be missing from your system so that Zimbra stats work.
Code:
# cat /opt/zimbra/conf/crontabs/* > /var/spool/cron/zimbra# chmod 600 /var/spool/cron/zimbra
Statistics: Posted by akanellis — Fri Jun 20, 2025 2:04 pm