Zimbra collaboration edition 8.6.0 upgrade

Forum to discuss, report issues, or provide feedback about Zimbra Suite Plus Installation or Upgrade
charneval
Posts: 11
Joined: Sun Jan 15, 2017 7:16 am

Zimbra collaboration edition 8.6.0 upgrade

Post 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
7224jobe
Outstanding Member
Outstanding Member
Posts: 283
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.8.15_FOSS Patch38

Re: Zimbra collaboration edition 8.6.0 upgrade

Post 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
charneval
Posts: 11
Joined: Sun Jan 15, 2017 7:16 am

Re: Zimbra collaboration edition 8.6.0 upgrade

Post 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.
User avatar
BelluX
Posts: 12
Joined: Fri Feb 22, 2019 6:16 pm

Re: Zimbra collaboration edition 8.6.0 upgrade

Post 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]
7224jobe
Outstanding Member
Outstanding Member
Posts: 283
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.8.15_FOSS Patch38

Re: Zimbra collaboration edition 8.6.0 upgrade

Post 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/
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Zimbra collaboration edition 8.6.0 upgrade

Post by DualBoot »

Hi

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

Regards,
User avatar
BelluX
Posts: 12
Joined: Fri Feb 22, 2019 6:16 pm

Re: Zimbra collaboration edition 8.6.0 upgrade

Post 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]
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra collaboration edition 8.6.0 upgrade

Post 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
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
BelluX
Posts: 12
Joined: Fri Feb 22, 2019 6:16 pm

Re: Zimbra collaboration edition 8.6.0 upgrade

Post 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?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Zimbra collaboration edition 8.6.0 upgrade

Post by DualBoot »

Hello,

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

Regards,
Post Reply