Operating System Upgrade

Operating System Upgrade#

In case you need to upgrade the OS along with Carbonio, you must update Carbonio and all repositories in a specific order to ensure compatibility and avoid package dependency errors.

Warning

In release 25.12.0 it is not possible to upgrade directly from RHEL 8 to RHEL 9.

Ubuntu 22.04 to 24.04#

The following procedure allows to upgrade both the OS and Carbonio, resulting in Carbonio release installed on Ubuntu 24.04

  1. Upgrade Carbonio to the latest available version for your current OS release

  2. Upgrade the operating system and update its repositories

  3. Perform the OS upgrade (for example, from Ubuntu 22.04 to 24.04 or from RHEL 8 to 9), then update all system packages to the latest versions

  4. Update the PostgreSQL and Carbonio repositories to match the new OS version. This step ensures the repositories point to the correct package sources after the OS upgrade.

  5. Upgrade the Carbonio packages again using the new repositories. This final upgrade aligns all Carbonio components with the updated OS environment.

RHEL 8 to RHEL 9#

The in-place upgrade of RHEL OS with an existing Carbonio Node is not supported. Attempting to upgrade the underlying OS directly will result in an unsupported and potentially unstable environment.

Currently, the only supported procedure to upgrade RHEL 8 to RHEL 9 is the following.

  1. Deploy a new Node running RHEL 9

  2. Migrate data and services from the existing RHEL 8 Node to the new RHEL 9 Node

  3. Once all services and data have been successfully moved, decommission the old RHEL 8 Node, i.e., remove it from the infrastructure