cyber7 wrote:I am in the process of upgrading and am at the last stage of the installation. (Migrating mboxgroupXX) You will see that I have had to get over a couple of hurdles, but your input will be valuable for anyone stuck with the dilemma of having to upgrade.
Oh my. I just read through some of the things that happened to you. We have all been there.
The biggest issue is proxy/memcache and if that software was installed previously but perhaps disabled. If that is the case, things tend to go really well and you can incrementally verify a working 8.6 or earlier with proxy, etc before moving to 8.7+.
Most times, the single machine installs didn't have the required software installed so just following the recommendation and enabling them will fail should you try and verify a working 8.6 with proxy enabled before proceeding. The good news if you take a leap of faith, do the commands to enable them so that the 8.7+ upgrade can proceed while verifying that nginx/memcache have 'Y' during your install/update you should be ok.
Here are my PRE-INSTALL notes to 8.6+ ... I apply all the 8.6+ patches first, update centos and restart zimbra to make sure I have a working 8.6+ environment before proceeding with the proxy step and upgrade step.
Follow this: https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy_and_memcached#Using_existing_servers
Code: Select all
# Enable nginx.
% zmprov ms `zmhostname` zimbraReverseProxyMailMode https
% zmprov ms `zmhostname` zimbraMailReferMode reverse-proxied
% zmprov ms `zmhostname` zimbraReverseProxyHttpEnabled TRUE
% ./libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x https -H `zmhostname`
% ./libexec/zmproxyconfig -e -m -o -i 7143:143:7993:993 -p 7110:110:7995:995 -H `zmhostname`
Then I restart zimbra again... note if you don't have nginx installed, this will fail with scary messages about nginx configuration problems. The solution is to proceed to installing 8.7+ if that is your destination. I have done it both ways but now just go directly to 8.7.1 and bypassed 8.7.
Here are my POST-INSTALL notes on 8.7+ of what I was looking for:
Code: Select all
1) Verify this... login again after install 8.7+ to get new environmental variables before doing this.
zmprov mcf zimbraMtaCommandDirectory /opt/zimbra/common/sbin
zmprov mcf zimbraMtaDaemonDirectory /opt/zimbra/common/libexec
zmprov mcf zimbraMtaMailqPath /opt/zimbra/common/sbin/mailq
zmprov mcf zimbraMtaManpageDirectory /opt/zimbra/common/share/man
zmprov mcf zimbraMtaNewaliasesPath /opt/zimbra/common/sbin/newaliases
zmprov mcf zimbraMtaSendmailPath /opt/zimbra/common/sbin/sendmail
2) verfy mysql_errors
3) ldap checksum errors
5) crontab entries (backup)
6) skin change for hotrod
7) Fix service ports for zimbra console
zmprov mcf zimbraPublicServiceHostname mail.example.com
zmprov md example.com zimbraPublicServicePort 443
zmprov md example.net zimbraPublicServicePort 443
zmprov md example.com zimbraPublicServiceProtocol https
zmprov md example.net zimbraPublicServiceProtocol https
# allow /opt/zimbra/log/audit.log to show correct client ip address
# because we are now behind proxy.
% zmprov mcf +zimbraMailTrustedIP 127.0.0.1 +zimbraMailTrustedIP X.X.X.X
% zmmailboxdctl restart
Verify SSL certs and settings to secure
I do like this release quite a bit now but we were not friends for a few days when I was struggling.