CentOS 8.x Zimbra upgrade

From Notes_Wiki
Revision as of 08:15, 15 June 2023 by Saurabh (talk | contribs)

Home > CentOS > CentOS 8.x > CentOS 8.x email servers > CentOS 8.x Zimbra > CentOS 8.x Zimbra upgrade

Patch upgrade

For minor version upgrade or patch upgrades we can use:

  1. We can check existing version including patch version via:
    zmcontrol -v
    Then check if a updated version or updated patch is available for the same Zimbra major/minor release.
  2. Take backup of VM through snapshot etc. if possible. Other option is to take backup of entire /opt/zimbra folder.
  3. Take copy of /opt/zimbra/conf at another location for quick reference after upgrade
  4. Stop Zimbra as zimbra user
    zmcontrol stop
  5. Update packages as root user
    yum -y update
  6. Compare old copy of /opt/zimbra/conf with new copy for any manual changes that might have got overwritten during upgrade.
  7. Start zimbra again
    zmcontrol start


Major upgrade

For major version upgrade:

  1. Download the updated version of zimbra in .tgz (Zip) format
    We must keep both old and new zimbra setups with us for future recovery / restore operations
  2. Extract the files of updated version
  3. Take copy of /opt/zimbra/conf at another location for quick reference after upgrade
  4. Go through installation of zimbra using "./install.sh" with required platform override, if required
    The installer will automatically detect existing version and go through the update process.
  5. Compare old copy of /opt/zimbra/conf with new copy for any manual changes that might have got overwritten during upgrade.



Caveats from update

Following things have been noticed to get affected due to upgrade, which must be fixed promptly:

Spamassasin configuration and scores might get overwritten
CentOS 8.x Zimbra Configure spamassasin email score based on client RBL
CBpolicyd security configuration via http might get overwritten
CentOS 7.x Configure cbpolicyd for Zimbra 8.7
Postfix configuration for copying of incoming/outgoing emails get overwritten
CentOS 8.x Zimbra forward a copy of all incoming and outgoing emails to audit email ID


Refer:



Home > CentOS > CentOS 8.x > CentOS 8.x email servers > CentOS 8.x Zimbra > CentOS 8.x Zimbra upgrade