Thanks so much. I was able to correctly update to Ubuntu 18.04 without issues.adrian.gibanel.btactic wrote:I guess the new systemd-resolved was a problem because of an split DNS setup that needed to be kept in place. Then, yes, either learn how to use systemd-resolved or just stop and disable the systemd-resolved daemon as you did.StefanPalm wrote:Adrian's instructions (post #4) worked well for me, just a small addition.
After the upgrade Ubuntu 16->18 I had to disable "systemd-resolved" (systemctl stop systemd-resolved && systemctl disable systemd-resolved) and recreate a usable "resolv.conf" before running "install.sh".
[Solved] Ubuntu 18.04 upgrade sequence?
Re: Ubuntu 18.04 upgrade sequence?
- wentum
- Advanced member
- Posts: 53
- Joined: Fri Apr 04, 2014 10:49 am
- Location: Pforzheim (Germany)
- ZCS/ZD Version: Release 9.0.0.GA.3924 _P30
- Contact:
Re: Ubuntu 18.04 upgrade sequence?
Congrats adrian.gibanel.btactic!adrian.gibanel.btactic wrote: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# Reboot your systemCode: Select all
sudo apt-get update sudo apt-get dist-upgrade
2) Allow Third party package repos
Create:
file with the following content:Code: Select all
/etc/update-manager/release-upgrades.d/allow-thirdparty.cfg
3) Upgrade from Ubuntu 16.04 to Ubuntu 18.04Code: Select all
[Sources] AllowThirdParty=yes
# This will finally reboot your systemCode: Select all
sudo apt-get update sudo do-release-upgrade
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}'
5) Upgrade from ZCS-8.8.15-18.04 to ZCS-8.8.15-18.04Code: 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
# That's right, you are upgrading to the same installed version# Make sure to tell the installation you want to upgrade and not to installCode: Select all
cd zcs-* ./install.sh
6) Now we should have the same packages as a pristine ZCS-8.8.15-18.04 installation and a working Zimbra installation.
This one is really cool and working like a charm!
I just updated from 14.04 LTS to 16.04 LTS (Zimbra 9.00) and can confirm this is working for these OSs, too.
And you are damned right those dependencies will only be ok after an update installation using the target zimbra packets!
Regards
Joerg
Re: [Solved] Ubuntu 18.04 upgrade sequence?
I'm sorry for posting into solved topic, but steps above are the same for upgrade to Ubuntu Focal 20.04 from Ubuntu Bionic 18.04.
(I'm sorry for my english too)
(I'm sorry for my english too)
Re: [Solved] Ubuntu 18.04 upgrade sequence?
Is that a question? Or you are saying: yes, same steps do work when upgrading from 18.04 to 20.4nuffon wrote:I'm sorry for posting into solved topic, but steps above are the same for upgrade to Ubuntu Focal 20.04 from Ubuntu Bionic 18.04.
(I'm sorry for my english too)