Server - Z Upgrade

This update procedure covers simple package updates or a concerted micro update, which is also known as a maintenance update (MU). During a MU the user stops services, updates packages, runs the script to update the database, and restarts services.


This means first you ensure that you have the latest version of all installed packages installed. Then you can upgrade the database schema.

Procedure: Updating Packages on the Uyuni Server

By default, several update channels are configured and enabled for the Uyuni Server. New and updated packages will become available automatically.

  1. On the Uyuni Server, at the command prompt, as root, stop the spacewalk services:

    spacewalk-service stop
  2. List available patches:

    zypper list-patches
  3. Apply all available patches:

    zypper patch
  4. Restart the spacewalk services:

    spacewalk-service start

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

Services affected by a package update are not automatically restarted after an update. You need to restart these services manually to avoid potential failures. Use zypper ps to check for applications that are using old code and require restarting.

Reboot the server if a patch update recommends rebooting.