Upgrading to RHEL 8/9 when using Posit Teams

Follow

Your organization may require you to upgrade your existing OS to RHEL 8 or greater. This type of question falls under Linux System administration which is formally outside of our support. It's best to consult your  IT team for further advice in order to adhere to your organization's IT policies and procedures. That said, there are a few pointers we can provide to get you started.
 
From a Posit standpoint, we do not foresee any issues with upgrading your OS to RHEL 7 to RHEL 8+ as both of those versions fall within our supported platforms here: https://rstudio.com/about/platform-support/.

It's important to upgrade your Posit Connect server to use the correct binary specified for RHEL 8 here:
https://docs.rstudio.com/rsc/upgrade/
https://docs.rstudio.com/rsc/manual-install/#step-1-download-and-install 

If using Posit Workbench, these binaries can be found here:

https://docs.posit.co/ide/server-pro/getting_started/installation/installation.html#download-and-install

The Posit Package Manager binaries can be found here:

https://docs.posit.co/rspm/admin/getting-started/installation/installing-ppm/#download-and-install

If the upgrade includes an update to the java version installed, you may need to execute sudo R CMD javareconf for each version of R installed to update the R configuration files to point to the new Java version. When upgrading, it's also important to note how R was installed. If it was installed via yum, then users may need to reinstall packages. In this case, it is always best to install R from source to avoid this.
 
RHEL 8 enables SELinux by default, so I would recommend setting it to permissive by either running sudo setenforce 0, then restarting the product service. Alternatively, you can set SELINUX=disabled in /etc/selinux/config and reboot the server.

Lastly, back up your current server in case you happen to run into any issues or inadvertently lose any data during the upgrade process.


We'd always recommend creating a new RHEL 8+ server in parallel to your current RHEL 7 environment, and from there you can migrate all the content across to the new environment which minimises the chance of losing critical data.

Best of luck with your upgrade!

Comments