Server - Minor Version 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 |
-
From the command prompt, as root, ensure the spacewalk services are not running:
spacewalk-service stop
-
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 - Patch Level Upgrade (Z Upgrade).
YaST will show the possible migration targets with detailed summaries.
-
Select the appropriate target, and follow the prompts to complete the migration.
-
Reboot the server.
-
When rebooted the SUSE Manager spacewalk services are not running until you have migrated the PostgreSQL database to version 14.
-
Log in on the text console as root. If you are upgrading from 4.1 or 4.2 to 4.3, run the database migration script:
/usr/lib/susemanager/bin/pg-migrate-13-to-14.sh
-
Upgrade the PostgreSQL server to version 14, in case it is not done automatically, with command:
zypper in postgresql14 postgresql14-contrib postgresql14-server
-
Remove PostgreSQL old version 13 with command:
zypper rm postgresql13 postgresql13-contrib postgresql13-server
-
Ensure the spacewalk services are running:
spacewalk-service start
spacewalk-schema-upgradeis not needed anymore. It will be run duringspacewalk-service startautomatically.
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.