Page 1 of 1

Upgrade Zimbra from 8.6.0_P7 to 8.7

Posted: Tue Oct 18, 2016 10:55 am
by tblasiak
Hello,
Zimbra currently have version "Release 8.6.0_GA_1153.RHEL6_64_20141215151155 RHEL6_64 FOSS edition, Patch 8.6.0_P7."
I want to install a new version of 8.7.0, but I must add two modules proxy and memcached. To do this I need to use the installer in the older version (8.6.0)After such an operation version of Zimbra goes back to version (8.6.0.)
Is there another way to do this without having to go back to the old version.

Re: Upgrade Zimbra from 8.6.0_P7 to 8.7

Posted: Tue Oct 18, 2016 11:36 am
by phoenix
tblasiak wrote:Is there another way to do this without having to go back to the old version.
No, there isn't. Why does the version number matter if all you're doing is installing the proxy and memcached?

Re: Upgrade Zimbra from 8.6.0_P7 to 8.7

Posted: Fri Oct 21, 2016 7:20 am
by tblasiak
I have now: [b]$zmcontrol -v
$Release 8.6.0_GA_1153.RHEL6_64_20141215151155 RHEL6_64 FOSS edition, Patch 8.6.0_P7.

I run "instal.sh" from "zcs-8.6.0_GA_1153.RHEL6_64.20141215151155" and install (add) only two modules 'proxy' and 'memcached'.
Install OK an I run: $zmcontrol -v
$Release 8.6.0_GA_1153.RHEL6_64_20141215151155 RHEL6_64 FOSS edition.


no patch P7

Re: Upgrade Zimbra from 8.6.0_P7 to 8.7

Posted: Fri Oct 21, 2016 9:02 am
by phoenix
tblasiak wrote:I have now: [b][b] no patch P7
That shouldn't stop you upgrading to ZCS 8.7 and I doubt very much that installing the proxy & memcached have removed the patch.

Re: Upgrade Zimbra from 8.6.0_P7 to 8.7

Posted: Fri Oct 28, 2016 1:55 pm
by JDunphy
I just did this on centos 6 without both of them installed. Here were my steps:

link: https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy_and_memcached#Using_existing_servers

Code: Select all

% zmprov ms `zmhostname` zimbraReverseProxyMailMode https
% zmprov ms `zmhostname` zimbraReverseProxyHttpEnabled TRUE
% /opt/zimbra/libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x https -H `zmhostname`
% /opt/zimbra/libexec/zmproxyconfig -e -m -o -i 7143:143:7993:993 -p 7110:110:7995:995 -H `zmhostname`
% zmprov ms `zmhostname` zimbraMailReferMode reverse-proxied

% zmprov ms $(zmhostname) +zimbraServiceInstalled memcached
% zmprov ms $(zmhostname) +zimbraServiceInstalled proxy

% zmcontrol restart


It should come up but nginx will fail about an unknown directive when it isn't installed. At that point, I just upgraded to 8.7 and made sure I said 'y' when it asked me to install the proxy and memcache modules.

I rehearsed this a few times before trying this on the production box. It went perfectly on the clone until I did the production box and hadn't realize nginx and memcache were not installed. The zimbra installer is so good that my clone had the correct modules so it was a surprise to me when I got that nginx error. My cloning process requires that I run through the install.sh process a few times prior to setting the hostname and update the ip address. It is just a simple rsync with excluding the backup and ldap stuff but allows me to do this hot on the production machine. I bring ldap over with tar and sparse option.