Skip to main content

With the upcoming release of Centreon 24.10, support for Debian 11 will officially come to an end. If you're running Centreon on Debian 11 and want to upgrade to version 24.10, you need to migrate to Debian 12 first. This guide will walk you through the steps to ensure a smooth in-place upgrade of your operating system from Debian 11 (Bullseye) to Debian 12 (Bookworm). You can also refer to Debian’s official documentation.

Pre-Migration Checklist

Before you begin, make sure to take the following precautions:

  • Back up essential data: Ensure you have recent backups of all critical data and configurations.
  • Check for system requirements: Verify that your hardware and software meet the compatibility requirements for Debian 12.
  • Read the release notes: Review the official Debian release notes for Debian 12 to understand any new features, deprecated functionalities, and important considerations.
  • Inform stakeholders: Notify any impacted users or stakeholders about the planned upgrade and any expected downtime during the process.

Step-by-Step Migration Guide

Step 1: Update Current System

Ensure your current Debian 11 system is updated to the latest package versions:

apt update
apt dist-upgrade

Reboot your system to ensure all updates are applied:

sudo reboot

Step 2: Update APT Sources

In the source list, replace any occurrences of bullseye with bookworm:

sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/centreon*

Step 3: Perform the Upgrade

Update the APT package lists to the new Debian 12 sources:

sudo apt update

Upgrade the existing package without installing new ones:

apt upgrade --without-new-pkgs

Perform the full upgrade to Debian 12:

sudo apt full-upgrade

This process will take some time, so please be patient as all packages are upgraded to their Debian 12 versions. Follow any on-screen prompts to accept changes or confirm the installation of new packages.

Step 4: Clean Up

After the upgrade is complete, clean up any unnecessary packages and dependencies:

sudo apt autoremove
sudo apt autoclean

Reboot your system to finalize the upgrade process:

sudo reboot

Step 5: Verify the Upgrade

Once your system reboots, verify that the upgrade was successful by checking the Debian version:

lsb_release -a

The output should indicate that your system is now running Debian 12 (Bookworm).

Post-Migration Considerations

After upgrading to Debian 12, here are a few additional steps to ensure everything is functioning correctly:

  • Verify that all services and applications are working as expected.
  • Check for any package-specific migration instructions or additional configuration steps in the release notes.
  • Monitor system logs for any errors or warnings that may need attention.

Thank you for using Centreon and for your continued dedication to maintaining a robust and secure monitoring environment!

Be the first to reply!

Reply