Upgrade Linux OS and Posit Team — Alternative Path, Upgrade OS In-Place
Applicability
An in-place upgrade of the Linux OS isn’t recommended, but consider if:
You are upgrading from a supported Posit product version to another supported product version. Refer to the list of Supported Pro product versions to determine applicability.
You have a staging server available to perform all work in an isolated environment. Without a staging environment, troubleshooting issues is challenging because the old environment isn’t available for reference.
If your OS vendor provides satisfactory support during the in-place OS upgrade.
You recognize that upgrading the OS in place presents the opportunity for OS system library incompatibility issues to arise, which are often intermittent, difficult to troubleshoot, and could arise months after the upgrade.
If the Posit product(s) are out of support, use the recommended 2-phased approach instead to update your OS and product(s).
Overview
Don’t attempt this approach if the Posit product version / versions in production are no longer supported. Refer to the list of Supported Pro product versions to determine applicability.
For the new OS, upgrading in-place requires you to reinstall any software installed outside of the Linux package manager.
This includes, but isn’t limited to:
- Reinstallation of the Posit product / products.
- Reinstallation of all Python versions.
- Reinstallation of all R versions.
- Reinstallation of all Quarto versions.
Perform all work in a staging environment when conducting an OS upgrade in-place to minimize downtime and operational risk.
Capture a backup, and duplicate the production environment in staging.
Upgrade the OS in staging, then reinstall the Posit product / products at the same version as in production.
Reinstall all versions of Python, all versions of R, and all versions of Quarto at the same version as production.
Reinstall any other software installed outside of the Linux package manager (drivers, for example).
Clear the existing Python and R package libraries on Workbench and content runtime caches on Connect because they’re incompatible with the new Linux OS. Remove the package libraries on Workbench and content runtime caches on Connect and rebuild as appropriate.
Upgrade the Posit product / products per the applicable product documentation: