I have not tested these instructions but I'm pretty sure they should work. Feedback is welcome.
I recycle and update them from:
Bug 107436 -- do-release-upgrade breaks zimbra installation for the Ubuntu 16.04 to Ubuntu 18.04 upgrade.
Upgrade from ZCS-8.8.15-16.04 to ZCS-8.8.15-18.04
0.A) If needed make sure proxy and memcached are enabled:
https://wiki.zimbra.com/wiki/Enabling_Z ... _memcached
Note: You can skip the proxy and memcached check on ZCS 8.8.X and newer Zimbra versions.
0.B) Make sure to have ZCS-8.8.15 on 16.04 prior to upgrade. Trying to upgrade from ZCS-8.7.X-16.04 to ZCS-8.8.15-18.04 will probably fail to some missing packages.
1) Make sure to run on the last version of Ubuntu packages
Code: Select all
sudo apt-get update
sudo apt-get dist-upgrade
# Reboot your system
2) Allow Third party package repos
Create:
Code: Select all
/etc/update-manager/release-upgrades.d/allow-thirdparty.cfg
file with the following content:
3) Upgrade from Ubuntu 16.04 to Ubuntu 18.04
Code: Select all
sudo apt-get update
sudo do-release-upgrade
# This will finally reboot your system
4) Optional packages version check
After booting into your upgraded system Zimbra seems to work as expected but not everything is ok.
Unfortunately due to Zimbra not handling their own meta packages dependencies properly (I should perhaps open a bug, I'm not sure) now you still get 16.04 packages:
Code: Select all
sudo dpkg -l | grep zimbra | grep -E '16.04|16.64' | awk '{print $1 " " $2 " " $3 " " $4 " " $5 " " $6 " " $7 " " $8 " " $9}'
Code: Select all
ii zimbra-apache 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
ii zimbra-core 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
ii zimbra-ldap 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
ii zimbra-logger 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
ii zimbra-mta 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
ii zimbra-proxy 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
ii zimbra-snmp 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
ii zimbra-spell 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
ii zimbra-store 8.8.15.GA.1854.UBUNTU16.64 amd64 Best email money can buy
5) Upgrade from ZCS-8.8.15-18.04 to ZCS-8.8.15-18.04
# That's right, you are upgrading to the same installed version
# Make sure to tell the installation you want to upgrade and not to install
6) Now we should have the same packages as a pristine ZCS-8.8.15-18.04 installation and a working Zimbra installation.