Upgrading Zimbra 4.5.10 to 5.0.11

Upgrading major pieces of core business support servers is fun! Note the heavy irony in “fun!”.
There are my running notes for upgrading a Zimbra 4.5.10 server to the latest Zimbra 5.0.11. When doing critical work like this, I keep running notes in case something doesn’t go right. Wish me luck.
Update: The upgrade went smoothly. Kudos to the Zimbra development team for what appeared to be a well thought-out and executed upgrade process.
- Downloaded Zimbra 5.0.11 and extracted it to /tmp
- Copied documentation to my workstation.
- Shut down Zimbra.
# su - zimbra
$ zmcontrol stop
- Take VMware snapshot
- Install libtool-ltdl
# yum install libtool-ltdl
- Update all CentOS 5 packages. 久しぶり…。 (Been a while….)
# yum update
- Reboot the server since the kernel was updated.
- Shut down Zimbra (again).
# su - zimbra
$ zmcontrol stop
- Take VMware snapshot
- cd to extracted Zimbra 5.0.11
- Run the installer
# ./install.sh
- Accept default answer “yes” to verify the message store database
Do you want to verify message store database integrity? [Y]
Verifying integrity of message store databases. This may take a while.
mysqld is alive
Generating report
No errors found
Looks good.
- Accept default answer “yes” to upgrade.
Checking for installable packagesFound zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-proxyThe Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.Do you wish to upgrade? [Y]
- I’m asked whether to install zimbra-proxy.
Install zimbra-proxy [N]
Googling to understand what this is.
- The Zimbra Proxy Guide states that this is a proxy, implying a multi-server configuration. In the Zimbra forums an employee states, “No, under no circumstances should you enable that feature if you have a single server.” Case closed. Stick with the default “no”.
- Now the installer is complaining about not running on an official RHEL5 machine.
You appear to be installing packages on a platform different
than the platform for which they were built.This platform is CentOS5
Packages found: RHEL5
This may or may not work.Installation can not continue without manual override.
You can override this safety check with ./install.sh --platform-override
- Fine. Override.
# ./install.sh --platform-override
- Accept default answer “yes” to verify the message store database
Do you want to verify message store database integrity? [Y]
Same result as before. Looks good.
- Accept default answer “yes” to upgrade. Again.
Do you wish to upgrade? [Y]
- Accept default for "no" to zimbra-proxy.
Install zimbra-proxy [N]
- Type "Y" to ignore the non-RHEL5 complain.
Install anyway? [N] Y
- Type "Y" to keep going.
The system will be modified. Continue? [N] Y
- It's shutting down Zimbra.
- It's removing existing packages.
- It's removing "deployed webapp directories.
- It's installing the new packages.
- It's copying defaults
Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=XXXX.XXXXXXXX.com
LDAPHOST=XXXX.XXXXXXXX.com
LDAPPORT=389
SNMPTRAPHOST=XXXX.XXXXXXXX.com
SMTPSOURCE=XXXX@XXXXXXXX.com
SMTPDEST=XXXX@XXXXXXXX.com
SNMPNOTIFY=yes
SMTPNOTIFY=yes
LDAPROOTPW=XXXXXXXXX
LDAPZIMBRAPW=XXXXXXXXX
LDAPPOSTPW=
LDAPREPPW=
LDAPAMAVISPW=
LDAPNGINXPW=
- It's performing the upgrade.
Upgrading from 4.5.10_GA_1575 to 5.0.11_GA_2695
- Zzzzz… progressing nicely but taking a while…
- Done. Answer with default.
Notify Zimbra of your installation? [Yes]
- OK. It's not done. It's still going.
- Done for certain.
Configuration complete - press return to exit
- Check status of server.
# su - zimbra
$ zmcontrol status
Everything is running.
- Try accessing the server via the web interface.
- Examined administrative account. All of the settings look right.
- Examined web user interface. All of the settings look right. I think we're good to go.
- Take VMware snapshot. Just in case.

January 4th, 2009 at 12:00 am
[...] Upgrading Zimbra 4.5.10 to 5.0.11 | James Reuben Knowles [...]