Upgrade Uyuni 4.0.1 to 4.0.2 - uyuni-project/uyuni GitHub Wiki

Since Uyuni 4.0.1 is based on Leap 42.3 and Uyuni 4.0.2 is based on Leap 15.1, an upgrade involves the complete replacement of the underlying operating system. This is a very critical operation and it is impossible to handle any potential failure in a graceful way. For example an error during upgrade of the base OS might lead to a completely broken system which cannot be recovered.

So it is highly advisable to create a backup of the server before running the migration. If the Uyuni server is running in a virtual machine, it is recommended to take a snapshot of the machine before running the migration.

The actual migration is performed by just running the script:

/usr/lib/susemanager/bin/server-migrator.sh

This script will stop the services, subscribe the new software repositories and finally perform the actual update to the new version. After successful migration, services will not be started automatically. The system needs to be rebooted and this will also re-start all the services. There is nothing additional the admin needs to do.