Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1020

Administrators • Zimbra 10 FOSS Updates

$
0
0
Well, after searching available documentations and zimbra git repositores for answers about correct way to update Zimbra 10 FOSS, I didn't find anything. Reading the forum also did not give me conformation.
So, only way to find it yourself (I'm using Rocky Linux 8, so all of the information is related only to it).
First step was installation:
  1. I've compiled Zimbra 10.0.5 FOSS from zm-build git
  2. You cannot install Zimbra 10 FOSS (or NETWORK either) without using Zimbra Repository. RPM packages have dependencies on packages that not included in the compiled .tar.gz archives.
    You can confirm this by running this command against RPMs included in .tar.gz archive

    Code:

    rpm -qp package.rpm --requires
  3. When you installing Zimbra using Zimbra Repositories, installation script will add 2 or 3 repos to the system:
    • zimbra - repo with packages shared between all of the versions of Zimbra (8, 9, 10, etc)
    • zimbra-1000-oss - repo with packages shared between all of the editions of Zimbra 10 (FOSS, NETWORK)
    • zimbra-1000-network - repo with packages only for Zimbra 10 NETWORK
  4. After installing Zimbra 10.0.5 FOSS you will get: 26 packages installed from local RPMs, 130 packages installed from zimbra repo and 65 packages installed from zimbra-1000-oss repo
Now time for updates:
  1. If you go to download page, you will find that you can download only Zimbra 10.0.0 NETWORK. So you don't have updated main installation archive
  2. Next you go to the Patch Installation page in the Wiki. And find out what packages must be installed/updated to get latest version of Zimbra 10 NETWORK. Here the list (I've check what repos contain packages and group it):
    • zimbra-1000-oss:

      Code:

      zimbra-snmp-componentszimbra-dnscache-componentszimbra-apache-componentszimbra-spell-componentszimbra-rabbitmq-server
    • zimbra-1000-network:

      Code:

      zimbra-ldap-patchzimbra-proxy-patchzimbra-mta-patchzimbra-patchzimbra-zimlet-*
  3. We have list of updated dependencies from oss repo and patches to the main packages themself (zimbra-*patch). But patches is no longer available for FOSS version (it was in 8.8.15).
  4. This is mean that we have to compile new version that will have all changes introduced in patch packages. OK, compiling Zimbra 10.0.6 FOSS from zm-build.
  5. Let's try in-place upgrade - download new .tar.gz, unpack it and run install.sh.
  6. After update we can check installation log (/tmp/install.log) and see that during update all of the zimbra packages was removed from the system and installed from the scratch.
  7. Now we can decide what is the correct way to update Zimbra 10 FOSS.
Update procedure:
  1. Update compilation environment to the latest versions
  2. Compile latest version of installation package
  3. Make backup/snapshot of the system
  4. Move installation archive to the system and run in-place upgrade
  5. Update the system with dnf update
Do not run dnf update if you do not have entensions to update Zimbra server! (Or at least disable Zimbra Repositories before running)
Please, share to thoughts about all of this.
It will be great if we will have conformation from Zimbra team.

Statistics: Posted by voronov.vi — Thu Feb 01, 2024 10:26 am



Viewing all articles
Browse latest Browse all 1020

Trending Articles