Zimbra 8.6.0_GA-1242 -> 8.7.11_GA-1854

Forum to discuss, report issues, or provide feedback about Zimbra Suite Plus Installation or Upgrade
Post Reply
MikePike3
Posts: 1
Joined: Sat Apr 18, 2020 11:44 am

Zimbra 8.6.0_GA-1242 -> 8.7.11_GA-1854

Post by MikePike3 »

Hello!

I would like to upgrade a standalone Zimbra server (8.6.0_GA-1242) to 8.7.11_GA-1854 + last patch (the last supported Ubuntu 12.04 version, after that will do release update and continue with Zimbra - server is in use and that seems the best upgrade path).

Upgrade stops when i get notification that PROXY service is not running on a machine (which is true) and upgrade process exit. So i did a 8.6.0-GA reinstall over with PROXY option selected to install. After reinstall i also apply last patch and system is working. But before i try to again install 8.7.11 i checked if PROXY / MEMCACHED services are running properly via command(s) according to official manual (https://wiki.zimbra.com/wiki/Enabling_Z ... ng_servers):

PROXY check

Code: Select all

lsof -i :443
# MEMCACHE check

Code: Select all

lsof -i :11211
As a result, MEMCACHE seems to be running ok:

Code: Select all

COMMAND     PID   USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
memcached 31592 zimbra   26u  IPv4 1068713      0t0  TCP *:11211 (LISTEN)
memcached 31592 zimbra   27u  IPv6 1068714      0t0  TCP *:11211 (LISTEN)
but PROXY does not return NGINX as a listener, but JAVA:

Code: Select all

COMMAND   PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
java    31476 zimbra  102u  IPv4  1063892      0t0  TCP *:https (LISTEN)
java    31476 zimbra  335u  IPv4 11498301      0t0  TCP 172.34.1.5:https->xxxxxx:57993 (ESTABLISHED)
java    31476 zimbra  401u  IPv4 11487096      0t0  TCP 172.34.1.5:https->xxxxxx:64973 (ESTABLISHED)
java    31476 zimbra  453u  IPv4 11492728      0t0  TCP 172.34.1.5:https->xxxxxx:56931 (FIN_WAIT2)
If a correctly understand manual NGINX shall be listed in a first column (not java).
Also, when i try to execute a needed command (from that manual) to activate NGINX (PROXY) i get an error:

Code: Select all

root@mail:/opt/zimbra# /opt/zimbra/libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x <https/both> -H `zmhostname`
zmhostname: command not found
bash: https/both: No such file or directory
Any hint what i do wrong? Thank you!

With best regards!
BradC
Outstanding Member
Outstanding Member
Posts: 265
Joined: Tue May 03, 2016 1:39 am

Re: Zimbra 8.6.0_GA-1242 -> 8.7.11_GA-1854

Post by BradC »

It's been a while since I did it, but my notes :

re-install 8.6 to get zimbra proxy installed. ./install.sh --skip-upgrade-check
start zimbra

su - zimbra
/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`
/opt/zimbra/libexec/zmproxyconfig -e -m -H `zmhostname`

restart zimbra

Fiddling with zmproxyconfig can blow away proxy config. Re-run above commands to re-establish then
/opt/zimbra/libexec/zmproxyconfgen
zmproxyctl restart
- to rebuild and restart the proxy.

What I do recall is testing it repeatedly on a cloned VM until I was sure it did what it was supposed to do. I haven't documented *why* I used those specific commands but there were many retries (clone VM, start again) until I came up with a workable set of changes that could be applied to the production VM.

This install started life as a 7.1.0 on a much older Ubuntu 10, and I had just done rolling updates as required. Making sure the proxy was installed and working was the biggest bump in the road.

If you have the ability to clone a production machine and use it for testing upgrades and config changes, I highly recommend it.
Post Reply