How to Upgrade Zimbra Collaboration Suite 8.0.7 to 8.5.0 on CentOS 6.5 x86_64

Share this Article :

On August 26 2014, the new zimbra version 8.5.0 has been released and it surprise us with the new major features available. The following are the major new features and enhancements in Zimbra Collaboration 8.5.0.

MariaDB

  • MariaDB is a drop-in replacement for MySQL
  • MariaDB 10.0 is used with XtraDB storage engine
  • No data reload required, as uses same database set

ActiveSync Performance and Scalability

  • Improved ActiveSync performance and scalability

Please refer to official release note. I have prepared the steps to upgrade zimbra from version 8.0.7 to zimbra 8.5.0. Please note that this entire procedure, is based on a single zimbra server, not in a multi-server zimbra system.

1. In Zimbra 8.5.0 installation steps, it is necessary to have unzip package installed. If you don’t have unzip package installed, please install by issue the following command :

[[email protected] ~]# yum install unzip -y

2. Extract the downloaded zimbra file :

[[email protected] ~]# tar xzvf zcs-8.5.0_GA_3042.RHEL6_64.20140828192005.tgz

3. Enter the extracted directory :

[[email protected] ~]# cd zcs-8.5.0_GA_3042.RHEL6_64.20140828192005

4. Start the upgrade :

[[email protected] zcs-8.5.0_GA_3042.RHEL6_64.20140828192005]# ./install.sh --platform-override

Full example :

[[email protected] zcs-8.5.0_GA_3042.RHEL6_64.20140828192005]# ./install.sh --platform-override

Operations logged to /tmp/install.log.18026
Checking for existing installation...
    zimbra-ldap...FOUND zimbra-ldap-8.0.7_GA_6021
    zimbra-logger...FOUND zimbra-logger-8.0.7_GA_6021
    zimbra-mta...FOUND zimbra-mta-8.0.7_GA_6021
    zimbra-dnscache...NOT FOUND
    zimbra-snmp...FOUND zimbra-snmp-8.0.7_GA_6021
    zimbra-store...FOUND zimbra-store-8.0.7_GA_6021
    zimbra-apache...FOUND zimbra-apache-8.0.7_GA_6021
    zimbra-spell...FOUND zimbra-spell-8.0.7_GA_6021
    zimbra-convertd...NOT FOUND
    zimbra-memcached...FOUND zimbra-memcached-8.0.7_GA_6021
    zimbra-proxy...FOUND zimbra-proxy-8.0.7_GA_6021
    zimbra-archiving...NOT FOUND
    zimbra-cluster...NOT FOUND
    zimbra-core...FOUND zimbra-core-8.0.7_GA_6021
ZCS upgrade from 8.0.7 to 8.5.0 will be performed.

Saving existing configuration file to /opt/zimbra/.saveconfig


PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") 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 the Zimbra Collaboration Suite:
  http://www.zimbra.com/license/zimbra-public-eula-2-5.html



Do you agree with the terms of the software license agreement? [N] y



Checking for prerequisites...
     FOUND: NPTL
     FOUND: nc-1.84-22
     FOUND: sudo-1.8.6p3-12
     FOUND: libidn-1.18-2
     FOUND: gmp-4.3.1-7
     FOUND: libaio-0.3.107-10
     FOUND: libstdc++-4.4.7-4
     FOUND: unzip-6.0-1

Checking for suggested prerequisites...
     FOUND: perl-5.10.1
     FOUND: sysstat
     FOUND: sqlite
Prerequisite check complete.
Checking current number of databases...

Do you want to verify message store database integrity? [Y] y
Verifying integrity of message store databases.  This may take a while.
mysqld is alive
No errors found

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-dnscache
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy


The Zimbra Collaboration Server 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]

Select the packages to install
    Upgrading zimbra-core
    Upgrading zimbra-ldap
    Upgrading zimbra-logger
    Upgrading zimbra-mta

Install zimbra-dnscache [N]
    Upgrading zimbra-snmp
    Upgrading zimbra-store
    Upgrading zimbra-apache
    Upgrading zimbra-spell
    Upgrading zimbra-memcached
    Upgrading zimbra-proxy
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-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-memcached
    zimbra-proxy

The system will be modified.  Continue? [N] y

Shutting down zimbra mail

Backing up the ldap database...done.

Removing existing packages

   zimbra-ldap...done
   zimbra-logger...done
   zimbra-mta...done
   zimbra-snmp...done
   zimbra-store...done
   zimbra-spell...done
   zimbra-memcached...done
   zimbra-proxy...done
   zimbra-apache...done
   zimbra-core...done

Removing deployed webapp directories
Installing packages

    zimbra-core......zimbra-core-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-ldap......zimbra-ldap-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-logger......zimbra-logger-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-mta......zimbra-mta-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-snmp......zimbra-snmp-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-store......zimbra-store-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-apache......zimbra-apache-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-spell......zimbra-spell-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-memcached......zimbra-memcached-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done
    zimbra-proxy......zimbra-proxy-8.5.0_GA_3042.RHEL6_64-20140828192005.x86_64.rpm...done

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
   HOSTNAME=centos65.ehowstuff.local
   LDAPHOST=centos65.ehowstuff.local
   LDAPPORT=389
   SNMPTRAPHOST=centos65.ehowstuff.local
   [email protected]
   [email protected]
   SNMPNOTIFY=yes
   SMTPNOTIFY=yes
   LDAPROOTPW=35WrLoqhzZ
   LDAPZIMBRAPW=35WrLoqhzZ
   LDAPPOSTPW=35WrLoqhzZ
   LDAPREPPW=35WrLoqhzZ
   LDAPAMAVISPW=35WrLoqhzZ
   LDAPNGINXPW=35WrLoqhzZ
Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Operations logged to /tmp/zmsetup09042014-232935.log
Upgrading from 8.0.7_GA_6021 to 8.5.0_GA_3042
Stopping zimbra services...done.
This appears to be 8.0.7_GA
Starting mysql...done.
Checking ldap status...not running.
Checking ldap status...not running.
Starting ldap...done.
Checking ldap status...already running.
Running mysql_upgrade...done.
Schema upgrade required from version 92 to 103.
Running /opt/zimbra/libexec/scripts/migrate20130226_alwayson.pl
Thu Sep  4 23:30:44 2014: Verified schema version 92.
Thu Sep  4 23:30:47 2014: Verified schema version 92.
Thu Sep  4 23:30:47 2014: Updating DB schema version from 92 to 100.
Running /opt/zimbra/libexec/scripts/migrate20140319-MailItemPrevFolders.pl
Thu Sep  4 23:30:53 2014: Verified schema version 100.
Thu Sep  4 23:30:54 2014: Migrating mboxgroup1.  This can take a substantial amount of time...
Thu Sep  4 23:30:59 2014: done.

Thu Sep  4 23:30:59 2014: Migrating mboxgroup2.  This can take a substantial amount of time...
Thu Sep  4 23:31:02 2014: done.

Thu Sep  4 23:31:02 2014: Migrating mboxgroup3.  This can take a substantial amount of time...
Thu Sep  4 23:31:05 2014: done.

Thu Sep  4 23:31:05 2014: Migrating mboxgroup4.  This can take a substantial amount of time...
Thu Sep  4 23:31:09 2014: done.

Thu Sep  4 23:31:09 2014: Migrating mboxgroup5.  This can take a substantial amount of time...
Thu Sep  4 23:31:12 2014: done.

Thu Sep  4 23:31:13 2014: Verified schema version 100.
Thu Sep  4 23:31:13 2014: Updating DB schema version from 100 to 101.
Running /opt/zimbra/libexec/scripts/migrate20140328-EnforceTableCharset.pl
Thu Sep  4 23:31:19 2014: Verified schema version 101.
Thu Sep  4 23:31:37 2014: Verified schema version 101.
Thu Sep  4 23:31:37 2014: Updating DB schema version from 101 to 102.
Running /opt/zimbra/libexec/scripts/migrate20140624-DropMysqlIndexes.pl
Thu Sep  4 23:31:43 2014: Verified schema version 102.
Thu Sep  4 23:31:54 2014: Verified schema version 102.
Thu Sep  4 23:31:54 2014: Updating DB schema version from 102 to 103.
Stopping mysql...done.
Updating from 8.0.8_GA
Updating from 8.5.0_BETA1
Updating from 8.5.0_BETA2
Updating from 8.5.0_BETA3
Updating from 8.5.0_GA
Updating global config and COS's with attributes introduced after 8.0.7_GA...done.
Stopping ldap...done.
Upgrade complete.

Checking ldap status....not running.
Starting ldap...done.
Setting defaults...done.
Setting defaults from existing config...done.
Checking for port conflicts
Setting defaults from ldap...done.
Saving config in /opt/zimbra/config.31153...done.
Operations logged to /tmp/zmsetup09042014-232935.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for centos65.ehowstuff.local...already exists.
Setting Zimbra IP Mode...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on centos65.ehowstuff.local...done.
Setting Keyboard Shortcut Preferences...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=FALSE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on centos65.ehowstuff.local...done.
Adding centos65.ehowstuff.local to zimbraMailHostPool in default COS...done.
Creating user [email protected]..already exists.
Creating user [email protected]..already exists.
Creating user [email protected]..already exists.
Setting spam training and Anti-virus quarantine accounts...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Starting servers...done.
Checking for deprecated zimlets...done.
Checking for network zimlets in LDAP...done.
Removing network zimlets...
Finished removing network zimlets.
Installing common zimlets...
        com_zimbra_webex...done.
        com_zimbra_date...done.
        com_zimbra_adminversioncheck...done.
        com_zimbra_cert_manager...done.
        com_zimbra_tooltip...done.
        com_zimbra_proxy_config...done.
        com_zimbra_attachcontacts...done.
        com_zimbra_viewmail...done.
        com_zimbra_bulkprovision...done.
        com_zimbra_clientuploader...done.
        com_zimbra_linkedinimage...done.
        com_zimbra_phone...done.
        com_zimbra_attachmail...done.
        com_zimbra_ymemoticons...done.
        com_zimbra_srchhighlighter...done.
        com_zimbra_mailarchive...done.
        com_zimbra_url...done.
        com_zimbra_email...done.
Finished installing common zimlets.
Getting list of all zimlets...done.
Updating non-standard zimlets...
Finished updating non-standard zimlets.
Restarting mailboxd...done.
Skipping creation of default domain GAL sync account - existing install detected.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
        The VERSION of zcs installed (8.5.0_GA_3042_RHEL6_64)
        The ADMIN EMAIL ADDRESS created ([email protected])

Notify Zimbra of your installation? [Yes] no
Notification skipped
Setting up zimbra crontab...done.


Moving /tmp/zmsetup09042014-232935.log to /opt/zimbra/log


Configuration complete - press return to exit

5. Once upgrade process completed, please verify the zimbra services :

[[email protected] ~]# su - zimbra
[[email protected] ~]$ zmcontrol status
Host centos65.ehowstuff.local
        amavis                  Running
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running

5 Comments

  1. Metall Al-Qodhi

Leave a Reply