Zimbra collaboration edition 8.6.0 upgrade

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

Zimbra collaboration edition 8.6.0 upgrade

Postby charneval » Sat Apr 27, 2019 7:00 am

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
Advanced member
Advanced member
Posts: 135
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.6.0_GA_1153.RHEL6_64 Patch 14

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby 7224jobe » Sat Apr 27, 2019 9:42 am

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: 8
Joined: Sun Jan 15, 2017 7:16 am

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby charneval » Sun Apr 28, 2019 3:46 pm

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

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby BelluX » Tue Apr 30, 2019 10:00 am

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
Advanced member
Advanced member
Posts: 135
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.6.0_GA_1153.RHEL6_64 Patch 14

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby 7224jobe » Tue Apr 30, 2019 11:11 am

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: 1000
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby DualBoot » Tue Apr 30, 2019 2:07 pm

Hi

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

Regards,
BelluX
Posts: 4
Joined: Fri Feb 22, 2019 6:16 pm

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby BelluX » Thu May 02, 2019 1:29 pm

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: 25980
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby phoenix » Thu May 02, 2019 2:31 pm

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

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
BelluX
Posts: 4
Joined: Fri Feb 22, 2019 6:16 pm

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby BelluX » Thu May 02, 2019 4:22 pm

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: 1000
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: Zimbra collaboration edition 8.6.0 upgrade

Postby DualBoot » Thu May 02, 2019 5:37 pm

Hello,

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

Regards,

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 1 guest