Zimbra is very popular free and open source email collaboration solution and often compared to microsoft exchange. Upgrade Zimbra is very easy but we need to take it carefully, a single mistake can destroy your entire mail data. Zimbra 8.7.9 has been released at 11th May 2017 with some bug fixes and few improvements. Currently I used Zimbra version 8.7.3 and it’s quite old, so I’ll upgrade Zimbra to 8.7.9. My existing Zimbra running on CentOS 7 (latest) 64bit with 6 cpu and 16GB memory and 1TB disk storage, small Zimbra server for small development. I’ll upgrade the OS before installing Zimbra 8.7.9 on this machine and download Zimbra 8.7.9 public mirror.
# yum update -y # wget -c http://cermin.bagiwae.com/zimbra/8.7.9_GA/zcs-8.7.9_GA_1794.RHEL7_64.20170505054622.tgz
After the update and download Zimbra 8.7.9 completed, we can continue to upgrade Zimbra.
Extract the Zimbra source file and start the installation upgrade:
# tar -zxvf zcs-8.7.9_GA_1794.RHEL7_64.20170505054622.tgz # cd zcs-8.7.9_GA_1794.RHEL7_64.20170505054622
Then, run the installer script:
And you will get an interactive installation process, please see below:
Operations logged to /tmp/install.log.g24uwz3C Checking for existing installation... zimbra-chat...NOT FOUND zimbra-drive...NOT FOUND zimbra-suiteplus...NOT FOUND zimbra-ldap...FOUND zimbra-ldap-8.7.3_GA_1750 zimbra-logger...FOUND zimbra-logger-8.7.3_GA_1750 zimbra-mta...FOUND zimbra-mta-8.7.3_GA_1750 zimbra-dnscache...FOUND zimbra-dnscache-8.7.3_GA_1750 zimbra-snmp...FOUND zimbra-snmp-8.7.3_GA_1750 zimbra-store...FOUND zimbra-store-8.7.3_GA_1750 zimbra-apache...FOUND zimbra-apache-8.7.3_GA_1750 zimbra-spell...FOUND zimbra-spell-8.7.3_GA_1750 zimbra-convertd...NOT FOUND zimbra-memcached...FOUND zimbra-memcached-1.4.25-1zimbra8.7b1 zimbra-proxy...FOUND zimbra-proxy-8.7.3_GA_1750 zimbra-archiving...NOT FOUND zimbra-core...FOUND zimbra-core-8.7.3_GA_1750 ZCS upgrade from 8.7.3 to 8.7.9 will be performed. Validating ldap configuration LDAP validation succeeded. Continuing. ---------------------------------------------------------------------- PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT. License Terms for this Zimbra Collaboration Suite Software: https://www.zimbra.com/license/zimbra-public-eula-2-6.html ----------------------------------------------------------------------
Do you agree with the terms of the software license agreement? [N] y
Do you want to verify message store database integrity? [Y]
Use Zimbra's package repository [Y]
Configuring package repository Checking for installable packages Found zimbra-core (local) Found zimbra-ldap (local) Found zimbra-logger (local) Found zimbra-mta (local) Found zimbra-dnscache (local) Found zimbra-snmp (local) Found zimbra-store (local) Found zimbra-apache (local) Found zimbra-spell (local) Found zimbra-memcached (repo) Found zimbra-proxy (local) Found zimbra-chat (repo) Found zimbra-drive (repo) The Zimbra Collaboration Server appears to already 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]
Scanning for any new or additional packages available for installation Existing packages will be upgraded Upgrading zimbra-core Upgrading zimbra-ldap Upgrading zimbra-logger Upgrading zimbra-mta Upgrading zimbra-dnscache Upgrading zimbra-snmp Upgrading zimbra-store Upgrading zimbra-apache Upgrading zimbra-spell Upgrading zimbra-memcached Upgrading zimbra-proxy
Install zimbra-chat [N] y
Install zimbra-drive [N] y
Checking required space for zimbra-core Checking space for zimbra-store Checking required packages for zimbra-store zimbra-store package check complete.
Installing: zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-dnscache zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-memcached zimbra-proxy zimbra-chat zimbra-drive
The system will be modified. Continue? [N] y
Beginning Installation - see /tmp/install.log.g24uwz3C for details... zimbra-core will be installed. zimbra-core-components will be downloaded and installed. zimbra-ldap will be installed. zimbra-ldap-components will be downloaded and installed. zimbra-logger will be installed. zimbra-mta will be installed. zimbra-mta-components will be downloaded and installed. zimbra-dnscache will be installed. zimbra-dnscache-components will be downloaded and installed. zimbra-snmp will be installed. zimbra-snmp-components will be downloaded and installed. zimbra-store will be installed. zimbra-store-components will be downloaded and installed. zimbra-apache will be installed. zimbra-apache-components will be downloaded and installed. zimbra-spell will be installed. zimbra-spell-components will be downloaded and installed. zimbra-memcached will be downloaded and installed. zimbra-proxy will be installed. zimbra-proxy-components will be downloaded and installed. zimbra-chat will be downloaded and installed. zimbra-drive will be downloaded and installed. Downloading packages (10): zimbra-core-components zimbra-ldap-components zimbra-mta-components zimbra-dnscache-components zimbra-snmp-components zimbra-store-components zimbra-apache-components zimbra-spell-components zimbra-memcached zimbra-proxy-components ...done Saving existing configuration file to /opt/zimbra/.saveconfig
Shutting down zimbra mail Backing up the ldap database...done. Upgrading the remote packages Removing deployed webapp directories Installing repo packages (10): zimbra-core-components zimbra-ldap-components zimbra-mta-components zimbra-dnscache-components zimbra-snmp-components zimbra-store-components zimbra-apache-components zimbra-spell-components zimbra-memcached zimbra-proxy-components ...done Installing local packages (10): zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-dnscache zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-proxy ...done Installing extra packages (2): zimbra-chat zimbra-drive ...done
Running Post Installation Configuration:
Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save HOSTNAME=mail.pnyet.web.id LDAPHOST=mail.pnyet.web.id LDAPPORT=389 SNMPTRAPHOST=mail.pnyet.web.id [email protected] [email protected] SNMPNOTIFY=yes SMTPNOTIFY=yes LDAPROOTPW=* LDAPZIMBRAPW=* LDAPPOSTPW=* LDAPREPPW=* LDAPAMAVISPW=* LDAPNGINXPW=* Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done Operations logged to /tmp/zmsetup.20170515-230100.log Adding /opt/zimbra/conf/ca/ca.pem to cacerts Upgrading from 8.7.3_GA_1750 to 8.7.9_GA_1794 Stopping zimbra services...done. This appears to be 8.7.3_GA Starting mysql...done. Checking ldap status...not running. Checking ldap status...not running. Starting ldap...done. Checking ldap status...already running. Schema upgrade required from version 107 to 108. Running /opt/zimbra/libexec/scripts/migrate20170301-ZimbraChat.pl Mon May 15 23:01:43 2017: Verified schema version 107. Mon May 15 23:01:44 2017: Verified schema version 107. Mon May 15 23:01:44 2017: Updating DB schema version from 107 to 108. Stopping mysql...done. Updating from 8.7.4_GA Updating from 8.7.5_GA Updating from 8.7.6_GA Updating from 8.7.7_GA Updating from 8.7.8_GA Updating from 8.7.9_GA Updating global config and COS's with attributes introduced after 8.7.3_GA...done. Stopping ldap...done. Upgrade complete.
Notify Zimbra of your installation? [Yes] yes
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.7.9_GA_1794_RHEL7_64&[email protected]
Configuration complete - press return to exit
Upgrade Zimbra is done and I don’t have any problem during the upgrade. Please note that the hostname in this article are fake and have been changed due to Non-disclosure agreement.