generated from sig_core/wiki-template
1.7 KiB
1.7 KiB
title |
---|
SOP: openQA - System Upgrades |
This SOP details the necessary steps for performing a system upgrade on an openQA host.
{% include "contacts_top.md" %}
Fedora
-
Verify current installation is fully upgraded
dnf upgrade --refresh
-
Install system upgrade plugin
dnf install dnf-plugin-system-upgrade
-
Download the upgrade packages for next version
dnf system-upgrade download --releasever=[newversion]
-
Reboot into offline upgrade mode
dnf system-upgrade reboot
-
Post-reboot cleanup
dnf system-upgrade clean dnf clean packages
Post-Upgrade Tasks
These steps may also be necessary in some (but not all) cases.
Upgrade the PostgreSQL database
-
Install postgresql-upgrade package
dnf install postgresql-upgrade
-
Upgrade your postgres database
sudo -iu postgres postgresql-setup --upgrade
Re-apply Rocky branding
-
Obtain the Ansible openQA deployment repository{target=_blank}
-
Run the branding related tasks
ansible-playbook init-openqa-rocky-developer-host.yml -t branding
References
- Upgrading Fedora using the DNF system upgrade{target=_blank}
- How to Easily Upgrade to Fedora Workstation 36{target=_blank}
{% include "content_bottom.md" %}