I have asked other users to assist and write their success stories, like in the olden/golden Zimbra days, but no-one have come forward. I am now in the process of upgrading and these are the steps I have had to go through. I will update the topic as I go along.
Preparation - Part one:
- My server's license expired, so I had to upgrade this to get my system to 8.7.1 So, my first step was to get my license up to date.
- I had an error in my configuration of my Virtual Machine Name for one of my domains and had to get the Virtual Server Name fixed to continue.
NOTE: I got this by running "zmproxyconfgen"
- I had to install "Zimbra Proxy" and "Zimbra Memcache".
- To do this I downloaded "zcs-NETWORK-8.0.7_GA_6021.RHEL6_64.20140408123937.tgz" file, extracted it.
- As "root" I ran from the extracted directory "./install.sh", just to get an error that the Zimbra Licencing Server could not be reached.
- I then ran "./install.sh --skip-activation-check", which allowed me to continue.
NOTE: The funny thing here is that the installation script reported the server was already licensed when it was bringing the server up.
NOTE TO ZIMBRA: Why can you not do this at the start of the installation? Seems like someone forgot to do a check for the license on installation?
I am now on Zimbra 8.0.7 with Zimbra Proxy enabled. I will let the server run for 10 days prior to upgrading to 8.7.1 and will continue the writing then.
Code: Select all
Host mail.<HOSTNAME>
antispam Running
antivirus Running
archiving Running
convertd Running
ldap Running
logger Running
mailbox Running
mta Running
opendkim Running
proxy Running
snmp Running
spell Running
stats Running
zmconfigd Running
19:30
Started upgrade. Once again had to run "./install.sh --skip-activation-check" to get past the license check problem, but this happened later.
- I got a lot of errors, the first one that memcache was not running. To fix this I had to do:
Code: Select all
zmprov ms `zmhostname` +zimbraServiceEnabled memcached zmcontrol restart
- I then got a lot of errors regarding the proxy server and ngix (The services did not want to come up). I then did the following:
This fixed the errors I got with proxy and restarting "zmcontrol restart" showed everything was up and running.
Code: Select all
zmprov ms `zmhostname` zimbraReverseProxyMailEnabled TRUE zimbraReverseProxyHttpEnabled TRUE /opt/zimbra/libexec/zmproxyconfig -e -w -H `zmhostname` /opt/zimbra/libexec/zmproxyconfig -e -m -H `zmhostname` ./libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x https -H `zmhostname` ./libexec/zmproxyconfig -e -m -o -i 7143:143:7993:993 -p 7110:110:7995:995 -H `zmhostname`
- I restarted the installation and then ran into some other problems:
Now I KNOW for a fact my SSL CERTS are 100% correct as I renewed them late last year. This is now starting to piss me off! I read that Jorge wrote something about the internal and external FQHN not being the same. Now this is bullshit! I followed a strict setup with this server and BILL (phoenix) still assisted me WAY BACK WHEN../install.sh --skip-activation-check
Operations logged to /tmp/install.log.OfsNN1tN
Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-8.0.7_GA_6021
zimbra-logger...FOUND zimbra-logger-8.0.7_GA_6021
zimbra-mta...FOUND zimbra-mta-8.0.7_GA_6021
zimbra-dnscache...NOT FOUND
zimbra-snmp...FOUND zimbra-snmp-8.0.7_GA_6021
zimbra-store...FOUND zimbra-store-8.0.7_GA_6021
zimbra-apache...FOUND zimbra-apache-8.0.7_GA_6021
zimbra-spell...FOUND zimbra-spell-8.0.7_GA_6021
zimbra-convertd...FOUND zimbra-convertd-8.0.7_GA_6021
zimbra-memcached...FOUND zimbra-memcached-8.0.7_GA_6021
zimbra-proxy...FOUND zimbra-proxy-8.0.7_GA_6021
zimbra-archiving...FOUND zimbra-archiving-8.0.7_GA_6021
zimbra-core...FOUND zimbra-core-8.0.7_GA_6021
ZCS upgrade from 8.0.7 to 8.7.1 will be performed.
Checking for existing proxy service in your environment
Checking for existing memcached service in your environment
Validating ldap configuration
Error: Unable to create a successful TLS connection to the ldap masters.
Fix cert configuration prior to upgrading.
Read somewhere that I could disable the local ldap tls support and did that with:Code: Select all
zmlocalconfig -e ldap_starttls_supported=0 zmlocalconfig -e ldap_starttls_required=false zmcontrol restart
Started the installation again. This time I got to the point where I have to check my database.
22:12
Completed the DB check!
22:17
Failed with a PGP KEY check. Realized that I did not open my firewall. Did so and installation continued. As a matter of fact, the installation continued without having to skip the activation check...
23:34
Install script bombed with:
I am slowly but surely starting to get to the point to toss this server for a Microsoft server. The fault here is the Zimbra database is corrupt, although the script (Right at the start of this writing) checked the database and did not find any errors.ERROR 1050 (42S01) at line 1: Table 'mboxgroup20/#sql-ib7060-2677863574' already exists
Fri Jan 27 23:35:26 2017: Error while running '/opt/zimbra/bin/mysql --user=zimbra --password=<EDIT> --database=zimbra --batch --skip-column-names'.
Script failed with code 256: - exiting
UPGRADE FAILED - exiting.
NOTE: WTF ZIMBRA??? It is your script that is causing all these errors. You should do better testing. This kind of cr@p will cause your company to loose a lot of customers!!!
I then Followed:
viewtopic.php?t=60289
and commented:
Code: Select all
# Migrate::myquit(1, "Error while running '$command'.")
# if ($? != 0);
restarted and hopefully this will complete.
02:22
Lots of java errors. Mailbox does not want to start!
02:40
Started rolling the system back. Total disaster!
In Conclusion:
- Make sure you have an open view to the internet on installation. Do not filter any firewall traffic while installing.
- Do not (like me) leave your installation for too late. I had the opportunity to upgrade through the entire 8.1/2/3/4/5/6/7 releases, but chose to stay on 8.0.7. The release was stable and I did not want to spend money on licenses.
- Take your time and read. If you get stuck with an error, read other people's posts regarding and related to your error. Someone would have posted something somewhere about your problem.
- Use the forum. I can not stress this more. The forums is a great source of knowledge.