Server - Y Upgrade with YaST

To perform the upgrade with YaST, use the Online Migration tool.

If YaST does not have the Online Migration tool available, install the yast2-migration package and all the required packages. After installing, restart YaST to ensure the tool is available within YaST.

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 YaST
  1. From the command prompt, as root, launch the YaST online migration tool:

    yast2 migration

    If there are older updates available, YaST will notify you and ask to install them first. You must install all package updates before performing the migration. For more information, see Server - Z Upgrade.

    YaST 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.

During the upgrade, YaST will install all recommended packages. This can significantly increase the installation size of the system. To only install required packages, open the /etc/zypp/zypp.conf configuration file and set these variables:

solver.onlyRequires = true
installRecommends = false

This changes the behavior of all future package operations.