Simultaneous ZCS 8.6 > 8.8.12 & Ubuntu 14.04LTS to 16.04 to 18.04 Upgrade

Ask questions about your setup or get help installing ZCS server (ZD section below).
Posts: 3
Joined: Thu Apr 04, 2019 5:10 pm

Simultaneous ZCS 8.6 > 8.8.12 & Ubuntu 14.04LTS to 16.04 to 18.04 Upgrade

Postby packetdog » Thu Apr 04, 2019 5:53 pm

So let's get it out there- this was really dumb, caused by a miscommunication, and a junior admin not snapping the virtual server prior to attempting anything. Ugh.

So, the do-release-upgrade command was run twice in succession on an Ubuntu 14.04 box, updating it first to 16.04 LTS and then to 18.04 LTS. This broke lots of things, including Zimbra. Here's what we've accomplished so far:

- We moved the /opt/zimbra folder to zimbra.old, and installed the 8.8.12 version of ZCS to /opt/zimbra using the -s switch. (Since 8.6 was not released for Ubuntu 18.04)
- We moved this new installation to /opt/ and moved /opt/zimbra.old back to /opt/zimbra.
- We removed the contents of the [/opt/zimbra/] bin common/bin common/lib common/libexec common/sbin common/share lib libexec directories.
- We copied all of the contents of [/opt/] bin common/bin common/lib common/libexec common/sbin common/share lib libexec directories to [/opt/zimbra] respectively.
- We ran and seemingly successfully upgraded the ZCS install using the script. It walked through all the steps and patches very nicely.

Amazingly, all of the services started, mail is flowing in and out, and users can login to the web interface, IMAP daemon, and admins can access the admin portal!

Output of zmcontrol -v is: Release 8.8.12.GA.3794.UBUNTU18.64 UBUNTU18_64 FOSS edition.

zmcontrol start looks like this:

Code: Select all

zimbra@servername:~$ zmcontrol start
        Starting zmconfigd...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting memcached...Done.
        Starting amavis...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting opendkim...Done.
        Starting snmp...Done.
        Starting spell...Done.
        Starting mta...Done.
        Starting stats...Done.
        Starting service webapp...Done.
        Starting zimbra webapp...Done.
        Starting zimbraAdmin webapp...Done.
        Starting zimlet webapp...Done.

HOWEVER, I still have 2 unresolved issues that I know about, and I'm sure countless others that I don't know about. I wondered if the gurus here could help me isolate these issues.

Issue 1:
When attempting to run the 8.8.12 installer to do a 'cleaner' in-place upgrade I receive an error as follows:

Code: Select all

root@servername:~/zcs-8.8.12_GA_3794.UBUNTU18_64.20190329045002# ./

Operations logged to /tmp/install.log.jcDtcnRP
Checking for existing installation...
    zimbra-drive...FOUND zimbra-drive-
    zimbra-imapd...NOT FOUND
    zimbra-patch...FOUND zimbra-patch-
    zimbra-mta-patch...FOUND zimbra-mta-patch-
    zimbra-proxy-patch...FOUND zimbra-proxy-patch-
    zimbra-license-tools...NOT FOUND
    zimbra-license-extension...NOT FOUND
    zimbra-network-store...NOT FOUND
    zimbra-network-modules-ng...NOT FOUND
    zimbra-chat...FOUND zimbra-chat-
    zimbra-talk...NOT FOUND
    zimbra-ldap...FOUND zimbra-ldap-8.8.12.GA.3794.UBUNTU18.64
    zimbra-logger...FOUND zimbra-logger-8.8.12.GA.3794.UBUNTU18.64
    zimbra-mta...FOUND zimbra-mta-8.8.12.GA.3794.UBUNTU18.64
    zimbra-dnscache...NOT FOUND
    zimbra-snmp...FOUND zimbra-snmp-8.8.12.GA.3794.UBUNTU18.64
    zimbra-store...FOUND zimbra-store-8.8.12.GA.3794.UBUNTU18.64
    zimbra-apache...FOUND zimbra-apache-8.8.12.GA.3794.UBUNTU18.64
    zimbra-spell...FOUND zimbra-spell-8.8.12.GA.3794.UBUNTU18.64
    zimbra-convertd...NOT FOUND
    zimbra-memcached...FOUND zimbra-memcached-1:1.4.37-2.u18
    zimbra-proxy...FOUND zimbra-proxy-8.8.12.GA.3794.UBUNTU18.64
    zimbra-archiving...NOT FOUND
    zimbra-core...FOUND zimbra-core-8.8.12.GA.3794.UBUNTU18.64
ZCS upgrade from 8.8.12 to 8.8.12 will be performed.
Validating ldap configuration
Unknown Error: It should be impossible to reach this statement.

If I leave Zimbra running while executing the above, the install.log file looks like this:

Code: Select all

COMMAND: ldap start
slapd already running: pid 20115

..and if Zimbra is not running, then the install.log looks like this:

Code: Select all

COMMAND: ldap start
Started slapd: pid 38209

So I'm not sure how to diagnose that farther. I'm concerned about it more for future patching and upgrades, not so much to run it now since the server and all services are running.

Issue 2:
When logged in as an admin, if I attempt to access anything related to stats, I receive a pop up box like this:

Then /opt/zimbra/log/mailbox.log shows this:

Code: Select all

2019-04-04 12:40:17,200 WARN  [qtp573673894-198:https:] [;mid=5;ip=;port=51235;ua=ZimbraWebClient
- GC73 (Win);soapId=22abf379;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: system failure: Unable to read logger stats
        at com.zimbra.common.service.ServiceException.FAILURE(
        at com.zimbra.cs.service.admin.GetLoggerStats.execfetch(
        at com.zimbra.cs.service.admin.GetLoggerStats.fetchColumnData(
        at com.zimbra.cs.service.admin.GetLoggerStats.handle(
        at com.zimbra.soap.SoapEngine.dispatchRequest(
        at com.zimbra.soap.SoapEngine.dispatch(
        at com.zimbra.soap.SoapEngine.dispatch(
        at com.zimbra.soap.SoapServlet.doWork(
        at com.zimbra.soap.SoapServlet.doPost(
        at javax.servlet.http.HttpServlet.service(
        at com.zimbra.cs.servlet.ZimbraServlet.service(
        at javax.servlet.http.HttpServlet.service(
at org.eclipse.jetty.servlet.ServletHolder.handle(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at com.zimbra.cs.servlet.CsrfFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at com.zimbra.cs.servlet.RequestStringFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(
        at org.eclipse.jetty.servlets.DoSFilter.doFilter(
        at org.eclipse.jetty.servlets.DoSFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
        at org.eclipse.jetty.servlet.ServletHandler.doScope(
        at org.eclipse.jetty.server.session.SessionHandler.doScope(
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
        at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(
        at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(
        at org.eclipse.jetty.server.handler.DebugHandler.handle(
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
        at org.eclipse.jetty.server.Server.handle(
        at org.eclipse.jetty.server.HttpChannel.handle(
        at org.eclipse.jetty.server.HttpConnection.onFillable(
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
        at org.eclipse.jetty.util.thread.QueuedThreadPool$
        at java.base/
Caused by: Connection refused (Connection refused)
        at java.base/ Method)
        at java.base/
        at java.base/
        at java.base/
        at java.base/
        at java.base/
        at java.base/
        at java.base/<init>(
        at java.base/<init>(
        at com.zimbra.cs.service.admin.GetLoggerStats.execfetch(
        ... 60 more
2019-04-04 12:40:17,205 INFO  [qtp573673894-198:https:] [;mid=5;ip=;port=51235;ua=ZimbraWebClient
- GC73 (Win);soapId=22abf379;] soap - GetLoggerStatsRequest elapsed=6

I've run the zmsyslogsetup command, but it errors out as follows:

I've also tried reinstalling rsyslog, no change. I also tried zmupdateauthkeys.

Any ideas?

Posts: 3
Joined: Thu Apr 04, 2019 5:10 pm

Re: Simultaneous ZCS 8.6 > 8.8.12 & Ubuntu 14.04LTS to 16.04 to 18.04 Upgrade

Postby packetdog » Sat Apr 20, 2019 9:33 am

Hi Folks,

For Issue 2 above, still don't have any working stats, and service status is offline. I noticed in the last logfile above that it references my Gateway IP ( at the very end. Is that normal? I would expect it to reference the IP of the Zimbra server, or the IP of the computer making the request. Could this point to something misconfigured? Any guidance is appreciated.
Posts: 26152
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Simultaneous ZCS 8.6 > 8.8.12 & Ubuntu 14.04LTS to 16.04 to 18.04 Upgrade

Postby phoenix » Sat Apr 20, 2019 10:40 am

If you want a 'clean installation' then my suggestion would be to use the ZeXtras Migration tool to move your original server to a new VM. BTW, ZCS on the version of Ubuntu that you have is still considered beta.


Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 7 guests