The zimbra version originally setup was zcs-8.8.12_GA_3794.UBUNTU16_64.20190329045002 and it is currently updated to patch 6.
The system is running as a single mailserver with its own dnsmasq so zimbra-dnscache is not installed.
Other packages installed are: zimbra-ldap, zimbra-logger, zimbra-mta, zimbra-snmp, zimbra-store, zimbra-apache, zimbra-spell, zimbra-memcached, zimbra-proxy, zimbra-drive, zimbra-chat.
I did several release upgrades in the past, so I have some familiarity with the process, but looking at https://wiki.zimbra.com/wiki/Ubuntu_Upgrades it looks like things may have changed a bit during the last few years.
Here is what I came up so far with:
- Update to zcs-8.8.15_GA_3869.UBUNTU16_64.20190918004220:
install.sh will take care of everything as usual apart from installing zimbra-ldap-patch package (see also: viewtopic.php?f=13&t=70845&start=20#p305689).
Code: Select all
sudo ./install.sh
Code: Select all
sudo apt-get install zimbra-ldap-patch
sudo su - zimbra
zmcontrol restart
Code: Select all
zmcontrol stop
As stated by the wiki article localconfig.xml will get deleted during the zimbra package removal that will run at the end of the ubuntu release upgrade process.
I'm not sure if localconfig.xml removal is expected behaviour and if there are other configs that need to be backed up.
- Delete /etc/apt/sources.list.d/zimbra.list then run the release upgrade process:
Code: Select all
sudo apt-get update && sudo do-release-upgrade
- Prevent systemd-resolved from listening on port 53 since I'm using dnsmasq:
Code: Select all
sudo sed -i 's/#DNSStubListener=yes/DNSStubListener=no/' /etc/systemd/resolved.conf && sudo systemctl restart systemd-resolved.service && sudo systemctl restart dnsmasq.service
Note that a normal install will not detect the previous installation, forcing you to start fresh:
Code: Select all
sudo apt-get update
sudo ./install.sh -s
do not install zimbra-dnscache when asked
- Once the installation is completed, restore localconfig.xml from backup:
Code: Select all
sudo cp -p /opt/zimbra_backup/localconfig.xml /opt/zimbra/conf/localconfig.xml
Code: Select all
sudo apt-get update && sudo apt-get install zimbra-ldap-patch
Code: Select all
sudo su - zimbra
zmcontrol start
Am I missing anything important here?
I've seen suggestions of doing a last install.sh (without the -s) as a final step, but I'm not finding any info on why this would be required.
Thanks