{"id":7345,"date":"2018-11-26T20:50:02","date_gmt":"2018-11-26T17:50:02","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/upgrade-zimbra-collaboration-suite-88-on-ubuntu\/"},"modified":"2018-11-26T20:50:02","modified_gmt":"2018-11-26T17:50:02","slug":"upgrade-zimbra-collaboration-suite-8-7-to-8-8-on-ubuntu","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/upgrade-zimbra-collaboration-suite-8-7-to-8-8-on-ubuntu\/","title":{"rendered":"Upgrade Zimbra Collaboration Suite 8.7 to 8.8 on Ubuntu"},"content":{"rendered":"<p><span>The Zimbra Collaboration Server is a mail server, collaborative web application and a web-based mail server admin console in a single application. It provides LDAP, antivirus, antispam, collaboration features and an ajax webmail client. Zimbra is easy to use for administrators as well as end users due to its fast Ajax-based web interface.<\/span><\/p>\n<h2><span>Prerequisites<\/span><\/h2>\n<p><span>In this tutorial, we will see how to upgrade an installation of Zimbra 8.7.11 to Zimbra 8.8.10 (latest version available).<\/span><\/p>\n<p><span>Before starting the upgrade, here some advice, before start check your installation version simply going to your web interface at\u00a0https:\/\/IPADDRESS:7071\/, you should see immediately your version at the login dashboard<\/span><\/p>\n<p><span><a class=\"fancybox\" id=\"img-snip_20181119131258\" href=\"https:\/\/www.howtoforge.com\/images\/upgrade_zimbra_collaboration_suite_88_on_ubuntu_1604\/big\/snip_20181119131258.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/11\/upgrade-zimbra-collaboration-suite-8-7-to-8-8-on-ubuntu.png\" alt=\"Zimbra version\" width=\"550\" height=\"246\" title=\"\"><\/a><\/span><\/p>\n<h2><span>2FA check<\/span><\/h2>\n<p>First of all there is a\u00a0<a href=\"https:\/\/bugzilla.zimbra.com\/show_bug.cgi?id=105056\" target=\"_blank\" rel=\"noopener\">Bug 105056<\/a><span><span>\u00a0<\/span>noted a problem that can occur during a rolling upgrade if two factor authentication (2FA) is enabled before all mailbox servers have been upgraded to 8.7. In particular, pre-8.7 mailbox servers are not compatible with 2FA.\u00a0Accordingly, it is recommended that 2FA is not enabled until all mailbox servers have been upgraded to 8.7.<\/span><\/p>\n<h2><span><span>Database integrity check<\/span><\/span><\/h2>\n<p><span><span>Before start the upgrade it is suggested to do a database integrity check, running the command\u00a0zmdbintegrityreport, wich wil be done entering with the zimbra user<\/span><\/span><\/p>\n<pre class=\"command\"><code spellcheck=\"false\"><span><span>su - zimbra<br\/>zmdbintegrityreport<\/span><\/span><\/code><\/pre>\n<p>the output should be like this<\/p>\n<pre class=\"command\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"275d4e4a455546674a5f16\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~$ \/opt\/zimbra\/libexec\/zmdbintegrityreport -r<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"90eaf9fdf2e2f1d0fde8a1\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~$<\/code><\/pre>\n<p>if something went worng, you need to fix before upgrade.<\/p>\n<h2 id=\"update-the-operating-system\">Update the operating system<\/h2>\n<p>Another check to complete, befaore start is to upgrade the operating system, in our case, we use ubuntu 16.04 so the steps are the following, to lunch as root user<\/p>\n<pre class=\"command\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"7705181803371a0f46\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~# apt-get update &amp;&amp; apt-get upgrade<br\/>Trovato:1 http:\/\/it.archive.ubuntu.com\/ubuntu xenial InRelease<br\/>Scaricamento di:2 http:\/\/it.archive.ubuntu.com\/ubuntu xenial-updates InRelease [109 kB]<br\/>Scaricamento di:3 http:\/\/security.ubuntu.com\/ubuntu xenial-security InRelease [107 kB]<br\/>Trovato:4 https:\/\/repo.zimbra.com\/apt\/87 xenial InRelease<br\/>Scaricamento di:5 http:\/\/it.archive.ubuntu.com\/ubuntu xenial-backports InRelease [107 kB]<br\/>Recuperati 323 kB in 0s (542 kB\/s)<br\/>Lettura elenco dei pacchetti... Fatto<br\/>Lettura elenco dei pacchetti... Fatto<br\/>Generazione albero delle dipendenze<br\/>Lettura informazioni sullo stato... Fatto<br\/>Calcolo dell'aggiornamento... Fatto<br\/>I seguenti pacchetti sono stati mantenuti alla versione attuale:<br\/>linux-generic linux-headers-generic linux-image-generic ubuntu-minimal<br\/>0 aggiornati, 0 installati, 0 da rimuovere e 4 non aggiornati.<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"186a77776c58756029\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~#<\/code><\/pre>\n<h2 id=\"_disable_sslv3_support\">Disable SSLv3 Support<\/h2>\n<p><span>If upgrading to ZCS 8.7.0, you need to completely disable SSLv3 support after the upgrade. Disabling SSLv3 is recommended as a result of the SSLv3 vulnerability described in\u00a0<\/span><a href=\"https:\/\/www.us-cert.gov\/ncas\/alerts\/TA14-290A\" target=\"_blank\" rel=\"noopener\">Alert (TA14-290A)<\/a><span>.<\/span><\/p>\n<p>To do that, please refear to the procedure on officiali website\u00a0<a href=\"https:\/\/wiki.zimbra.com\/wiki\/How_to_disable_SSLv3\" target=\"_blank\" rel=\"noopener noreferrer\">Disable SSLv3<\/a><\/p>\n<h2 id=\"_update_default_proxy_ssl_ciphers_attribute\">Update Default Proxy SSL Ciphers Attribute<\/h2>\n<p>Whenever upgrading, it is recommended that you check the values of the following attributes (zmprov gcf &lt;attr&gt;) and compare them with the current default values (zmprov desc -a &lt;attr&gt;).<\/p>\n<pre>zimbraReverseProxySSLCiphers&#13;\nzimbraReverseProxySSLProtocols&#13;\nzimbraSSLExcludeCipherSuites&#13;\nzimbraMailboxdSSLProtocols<\/pre>\n<p><span>In addition, it is recommended to make the following changes:<\/span><\/p>\n<p>&#8211;\u00a0<span>Remove the following from\u00a0<\/span><code>zimbraReverseProxySSLCiphers<\/code><span>:<\/span><\/p>\n<pre>ECDHE-RSA-RC4-SHA&#13;\nECDHE-ECDSA-RC4-SHA&#13;\nRC4-SHA<\/pre>\n<p>to do so run the command<\/p>\n<pre><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"4f3d20203b0f22377e\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~# zmprov mcf zimbraReverseProxySSLCiphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128:AES256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4'<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"afddc0c0dbefc2d79e\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~# zmproxyctl restart<\/code><\/pre>\n<p><span>When you run the install script, if ZCS is already installed, you will be asked if you want to upgrade.\u00a0<\/span><\/p>\n<h2 id=\"zimbra-upgradenbsp\">Zimbra Upgrade\u00a0<\/h2>\n<p>So now, we are prepared to perform the upgrade, in our case from 8.7.11 to\u00a08.8.10, so let&#8217;s start downloading the lates version<\/p>\n<pre class=\"command\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"a7d5c8c8d3e7cadf96\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~# wget https:\/\/files.zimbra.com\/downloads\/8.8.10_GA\/zcs-8.8.10_GA_3039.UBUNTU16_64.20180928094617.tgz<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"6a1805051e2a07125b\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~# tar -zxvf zcs-8.8.10_GA_3039.UBUNTU16_64.20180928094617.tgz<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"eb9984849fab8693da\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~# cd zcs-8.8.10_GA_3039.UBUNTU16_64.20180928094617\/<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"62100d0d16220f1a53\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:~# .\/install.sh<br\/><\/code><\/pre>\n<p>As you can see, some of the service will be found, as in the output below<\/p>\n<pre class=\"command\" readability=\"8\"><code spellcheck=\"false\" readability=\"10\">Operations logged to \/tmp\/install.log.FwDVflaW<br\/>Checking for existing installation...<br\/>zimbra-drive...FOUND zimbra-drive-1.0.10+1504081761-1.u16<br\/>zimbra-imapd...NOT FOUND<br\/>zimbra-patch...NOT FOUND<br\/>zimbra-license-tools...NOT FOUND<br\/>zimbra-license-extension...NOT FOUND<br\/>zimbra-network-store...NOT FOUND<br\/>zimbra-network-modules-ng...NOT FOUND<br\/>zimbra-chat...FOUND zimbra-chat-1.0.11+1509959286-2.u16<br\/>zimbra-talk...NOT FOUND<br\/>zimbra-ldap...FOUND zimbra-ldap-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-logger...FOUND zimbra-logger-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-mta...FOUND zimbra-mta-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-dnscache...FOUND zimbra-dnscache-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-snmp...FOUND zimbra-snmp-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-store...FOUND zimbra-store-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-apache...FOUND zimbra-apache-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-spell...FOUND zimbra-spell-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-convertd...NOT FOUND<br\/>zimbra-memcached...FOUND zimbra-memcached-1:1.4.37-2.u16<br\/>zimbra-proxy...FOUND zimbra-proxy-8.7.11.GA.1854.UBUNTU16.64<br\/>zimbra-archiving...NOT FOUND<br\/>zimbra-core...FOUND zimbra-core-8.7.11.GA.1854.UBUNTU16.64<br\/>ZCS upgrade from 8.7.11 to 8.8.10 will be performed.<br\/>Validating ldap configuration<br\/>LDAP validation succeeded. Continuing.<p>----------------------------------------------------------------------<br\/>PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.<br\/>SYNACOR, INC. (\"SYNACOR\") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU<br\/>FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING<br\/>THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY<br\/>THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS<br\/>AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.<br\/>License Terms for this Zimbra Collaboration Suite Software:<br\/>https:\/\/www.zimbra.com\/license\/zimbra-public-eula-2-6.html<br\/>----------------------------------------------------------------------<br\/>Do you agree with the terms of the software license agreement? [N]<\/p><\/code><\/pre>\n<p>Accept the license Agreement, saying &#8220;Y&#8221;.<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">Checking current number of databases...<\/code><\/pre>\n<p>say &#8220;Y&#8221; to\u00a0check message store integrity<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">Do you want to verify message store database integrity? [Y]<br\/>Verifying integrity of message store databases. This may take a while.<br\/>mysqld is alive<br\/>No errors found<\/code><\/pre>\n<p>say &#8220;Y&#8221; to use zimbra repository<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">Use Zimbra's package repository [Y]<\/code><\/pre>\n<p>At this point install should find you installation ad ask for upgrade, obviouslly say &#8220;Y&#8221;\u00a0<\/p>\n<pre class=\"command\" readability=\"5.5\"><code spellcheck=\"false\" readability=\"5\">Configuring package repository<br\/>Checking for installable packages<br\/>Found zimbra-core (local)<br\/>Found zimbra-ldap (local)<br\/>Found zimbra-logger (local)<br\/>Found zimbra-mta (local)<br\/>Found zimbra-dnscache (local)<br\/>Found zimbra-snmp (local)<br\/>Found zimbra-store (local)<br\/>Found zimbra-apache (local)<br\/>Found zimbra-spell (local)<br\/>Found zimbra-memcached (repo)<br\/>Found zimbra-proxy (local)<br\/>Found zimbra-drive (repo)<br\/>Found zimbra-imapd (local)<br\/>Found zimbra-patch (repo)<p>The Zimbra Collaboration Server appears to already be installed.<br\/>It can be upgraded with no effect on existing accounts,<br\/>or the current installation can be completely removed prior<br\/>to installation for a clean install.<br\/>Do you wish to upgrade? [Y]<\/p><\/code><\/pre>\n<p>Ath this point you&#8217;ll be prompted to upgrade the packages he can find, in my installation here&#8217;s what is fouond<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">Scanning for any new or additional packages available for installation<br\/>Existing packages will be upgraded<br\/>Upgrading zimbra-core<br\/>Upgrading zimbra-ldap<br\/>Upgrading zimbra-logger<br\/>Upgrading zimbra-mta<br\/>Upgrading zimbra-dnscache<br\/>Upgrading zimbra-snmp<br\/>Upgrading zimbra-store<br\/>Upgrading zimbra-apache<br\/>Upgrading zimbra-spell<br\/>Upgrading zimbra-memcached<br\/>Upgrading zimbra-proxy<br\/>Upgrading zimbra-drive<\/code><\/pre>\n<p>When asked to install zimbra-impad (BETA), say no<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">Install zimbra-imapd (BETA - for evaluation only) [N]<\/code><\/pre>\n<p>At this point upgrade will start<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">Upgrading zimbra-chat<br\/>Checking required space for zimbra-core<br\/>Checking space for zimbra-store<br\/>Checking required packages for zimbra-store<br\/>zimbra-store package check complete.<br\/>Installing:<br\/>zimbra-core<br\/>zimbra-ldap<br\/>zimbra-logger<br\/>zimbra-mta<br\/>zimbra-dnscache<br\/>zimbra-snmp<br\/>zimbra-store<br\/>zimbra-apache<br\/>zimbra-spell<br\/>zimbra-memcached<br\/>zimbra-proxy<br\/>zimbra-drive<br\/>zimbra-patch<br\/>zimbra-chat<br\/>The system will be modified. Continue? [N]<\/code><\/pre>\n<p>Say &#8220;Y&#8221; and upgrade will start. Pay attention that during upgrade all services will be stopped until end of upgrade, so don&#8217;t do it during working hours.<\/p>\n<p>After a bit of time, upgrade will end succesfully, you can choose, to notify or not Zimbra about your installation<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">Skipping creation of default domain GAL sync account - existing install detected.<br\/>You have the option of notifying Zimbra of your installation.<br\/>This helps us to track the uptake of the Zimbra Collaboration Server.<br\/>The only information that will be transmitted is:<br\/>The VERSION of zcs installed (8.8.10_GA_3039_UBUNTU16_64)<br\/>The ADMIN EMAIL ADDRESS created (<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"9afbfef7f3f4daf7e2abb4e9ffe8ecf3e9e3e9b4f3ee\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>)<br\/>Notify Zimbra of your installation? [Yes] No<\/code><\/pre>\n<p>if all is gone right you should arrive at the end<\/p>\n<pre class=\"command\" readability=\"4.5\"><code spellcheck=\"false\" readability=\"3\">Notification skipped<br\/>Checking if the NG started running...done.<br\/>Setting up zimbra crontab...done.<p>Moving \/tmp\/zmsetup.20181119-132152.log to \/opt\/zimbra\/log<br\/>Configuration complete - press return to exit<\/p><\/code><\/pre>\n<p>Now try to login to the administration interface and check if the version is changed<\/p>\n<p><a class=\"fancybox\" id=\"img-snip_20181119134236\" href=\"https:\/\/www.howtoforge.com\/images\/upgrade_zimbra_collaboration_suite_88_on_ubuntu_1604\/big\/snip_20181119134236.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/11\/upgrade-zimbra-collaboration-suite-8-7-to-8-8-on-ubuntu-1.png\" alt=\"Check upgraded Zimbra version\" width=\"550\" height=\"217\" title=\"\"><\/a><\/p>\n<p>In my case, all went fine, and the upgrade process as worked fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Zimbra Collaboration Server is a mail server, collaborative web application and a web-based mail server admin console in a single application. It provides LDAP, antivirus, antispam, collaboration features and an ajax webmail client. Zimbra is easy to use for administrators as well as end users due to its fast Ajax-based web interface. Prerequisites In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-7345","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=7345"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7345\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=7345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=7345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=7345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}