Page 1 of 2

Zimbra collaboration edition 8.6.0 upgrade

Posted: Sat Apr 27, 2019 7:00 am
by charneval
Hi.
In a virtual machine with centos 7 I installed Zimbra 8.6.0 collaboration edition. Now I should update the version. I copied the virtual machine to test it first and figure out which procedure to follow.
The mail server goes to download the emails from the Aruba webmail and stores them and then redistributes them among the various local clients. I ask you if it is possible to block the download of the emails or go into the configuration of the accounts and temporarily change the configuration to not allow the server to download new emails.
The best thing is to do the version passages from 8.6 to 8.7 and successes or better to reinstall a new server and reconfigure everything then reloading the backups?
I have never done updates or migration procedures and I ask you if there are any guides to follow.

THANK YOU

Andrew

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Sat Apr 27, 2019 9:42 am
by 7224jobe
Hello,
I suppose that Zimbra server downloads email from Aruba webmail using POP3 or IMAP protocol, so I'd suggest you to stop Zimbra services or to temporarily block POP3/IMAP ports using iptables, e.g.

Code: Select all

sudo iptables -A OUTPUT -p tcp --dport 110 -j REJECT 
. Do this for all possible ports (143, 993, 110, 995).

A common suggestion on this forum (that I endorse) is not to perform an upgrade of Zimbra on the same server, but to create a new server, install the latest version of Zimbra (now 8.8.12 is available) and then migrate emails using Zextras migration tool: https://wiki.zextras.com/wiki/ZeXtras_M ... Tool_Guide

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Sun Apr 28, 2019 3:46 pm
by charneval
Thanks @7224jobe
I'll study the migration tool I've seen for 30 days it's free and I can test it.
It really seems like the optimal solution for my work.
Thanks a lot.

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Tue Apr 30, 2019 10:00 am
by BelluX
Hi,

i'm installing the new zimbra server where i will import the old one with Zextras.

i'm stuck when zimbra request to put the MX record, can i install Zimbra without it?

Code: Select all

[root@mail libexec]# ./zmsetup.pl
Operations logged to /tmp/zmsetup.20190430-115412.log
Installing LDAP configuration database...done.
Setting defaults...

DNS ERROR resolving MX for mail.anthosviaggi.it
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] [root@mail libexec]# ./zmsetup.pl
Operations logged to /tmp/zmsetup.20190430-115412.log
Installing LDAP configuration database...done.
Setting defaults...

DNS ERROR resolving MX for mail.anthosviaggi.it
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Tue Apr 30, 2019 11:11 am
by 7224jobe
BelluX wrote:Hi,

i'm installing the new zimbra server where i will import the old one with Zextras.

i'm stuck when zimbra request to put the MX record, can i install Zimbra without it?
Yes, install dnsmasq on the server to bypass the MX record check, follow this Zimbra blog post: https://blog.zimbra.com/2018/01/install ... 16-04-lts/

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Tue Apr 30, 2019 2:07 pm
by DualBoot
Hi

Installing DNSmasq is not mandatory to bypass MX check.
Just answer the installer question or leave blank.

Regards,

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Thu May 02, 2019 1:29 pm
by BelluX
DualBoot wrote: Just answer the installer question or leave blank.
I can't leave it blank:

Code: Select all

Re-Enter domain name? [Yes]
Create domain: [mail.anthosviaggi.it]


DNS ERROR resolving MX for mail.anthosviaggi.it
It is suggested that the domain name have an MX record configured in DNS
Re-Enter domain name? [Yes]

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Thu May 02, 2019 2:31 pm
by phoenix
BelluX wrote:
DualBoot wrote: Just answer the installer question or leave blank.
I can't leave it blank:

Code: Select all

Re-Enter domain name? [Yes]
Create domain: [mail.anthosviaggi.it]


DNS ERROR resolving MX for mail.anthosviaggi.it
It is suggested that the domain name have an MX record configured in DNS
Re-Enter domain name? [Yes]
You haven't entered the domain name, you have put the FQDN of the server. You should enter the domain name only i'e':

Code: Select all

anthosviaggi.it

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Thu May 02, 2019 4:22 pm
by BelluX
During the installation i have encountered this problem:

Code: Select all

** Copying '/opt/zimbra/ssl/zimbra/server/server.crt' to '/opt/zimbra/conf/smtpd.crt'
** Copying '/opt/zimbra/ssl/zimbra/server/server.key' to '/opt/zimbra/conf/smtpd.key'
** Installing proxy certificate '/opt/zimbra/conf/nginx.crt' and key '/opt/zimbra/conf/nginx.key'
** Copying '/opt/zimbra/ssl/zimbra/server/server.crt' to '/opt/zimbra/conf/nginx.crt'
** Copying '/opt/zimbra/ssl/zimbra/server/server.key' to '/opt/zimbra/conf/nginx.key'
** NOTE: restart services to use the new certificates.
** Cleaning up 3 files from '/opt/zimbra/conf/ca'
** Removing /opt/zimbra/conf/ca/ca.key
** Removing /opt/zimbra/conf/ca/ca.pem
** Removing /opt/zimbra/conf/ca/c73debd5.0
** Copying CA to /opt/zimbra/conf/ca
** Copying '/opt/zimbra/ssl/zimbra/ca/ca.key' to '/opt/zimbra/conf/ca/ca.key'
** Copying '/opt/zimbra/ssl/zimbra/ca/ca.pem' to '/opt/zimbra/conf/ca/ca.pem'
** Creating CA hash symlink 'c73debd5.0' -> 'ca.pem'
Thu May  2 18:13:53 2019 done.
Thu May  2 18:13:53 2019 checking isEnabled zimbra-ldap
Thu May  2 18:13:53 2019 zimbra-ldap is enabled
Thu May  2 18:13:53 2019 Initializing ldap...
Thu May  2 18:13:53 2019 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
Connection timed out at /opt/zimbra/libexec/zmldapinit line 138.
Thu May  2 18:16:53 2019 failed. (28160)
Thu May  2 18:16:53 2019

ERROR

Thu May  2 18:16:53 2019

Configuration failed

Thu May  2 18:16:53 2019 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
Thu May  2 18:16:53 2019 complete the configuration.
Thu May  2 18:16:53 2019
Errors have been logged to /tmp/zmsetup.20190502-175519.log
How i can resolve this?

Re: Zimbra collaboration edition 8.6.0 upgrade

Posted: Thu May 02, 2019 5:37 pm
by DualBoot
Hello,

problem with network ? or slapd not running ? at line 138 the zmldapinit is calling ldap master url.

Regards,