Server - Y Upgrade with Zypper

To perform the upgrade with Zypper, use the Zypper migration tool.

Before upgrading from Uyuni 4.0 to 4.1, ensure you do not have any unpublished packages. Check for unpublished packages by navigating to Patches  Manage Patches  Unpublished. You must publish or delete them before you upgrade.

Procedure: Upgrading with Zypper
  1. From the command prompt, as root, launch the Zypper migration tool:

    zypper migration

    Zypper will show the possible migration targets with detailed summaries.

  2. Select the appropriate target, and follow the prompts to complete the migration.

  3. Reboot the server.

  4. When rebooted the spacewalk services are not running until you have migrated the PostgreSQL database to version 12.

  5. Log in on the text console as root, and run the database migration script:

    /usr/lib/susemanager/bin/pg-migrate-10-to-12.sh
  6. Ensure the spacewalk services are running:

    spacewalk-service start

    spacewalk-schema-upgrade is not needed anymore. It will be run during spacewalk-service start automatically.

If the process fails, check these issues first:

  • If Zypper does not have the migration tool available, install the zypper-migration-plugin package.

  • If there are older updates available, Zypper will notify you and ask to install them first. You must install all updates before performing the upgrade.