These instructions describe the configuration requirements and how to upgrade Posit Workbench.

If you are running RStudio Server Pro versions prior to 1.4, then additional steps are required before continuing; the procedures below will not work for your environment.

Please copy the text below into an email to support@posit.co. We will route your email appropriately once it has been received.

This message is copy/pasted from the Posit Workbench Upgrade guide: docs.posit.co/ide/server-pro/upgrade/upgrade.html 

I am a customer attempting to upgrade Posit Workbench from a version below 1.4.

Please forward this message to Solutions Engineering to schedule an architecture call to discuss my migration.


Your environment must be running RStudio Server Pro or Posit Workbench version 1.4, or greater.

Before you begin

These upgrade procedures are not incremental, however, you must review each section to verify that you are not using any deprecated configurations.


  • We recommend that you upgrade to the latest version of Workbench. Please review the Release Notes prior to performing an upgrade.
  • If you want to upgrade from Open Source to Workbench:

Upgrade Behavior

If you upgrade Workbench and an existing version of the server is currently running, then the upgrade process also ensures that active sessions are immediately migrated to the new version.

This includes the following behavior:

  • Running R sessions are suspended so that future interactions with the server automatically launch the updated R session binary.
  • Connected browser clients are notified that a new version is available and automatically refreshes themselves.
  • The core server binary restarts.

When load balancing is configured upgrading multiple nodes may cause brief glitches if you upgrade each Workbench node one at a time. This is due to the possibility of two Workbench nodes with different versions trying to coordinate. If some downtime is acceptable, we recommend taking all nodes offline before upgrading.

Upgrading to Version 2022.02.4

If you would like to upgrade to Workbench version 2022.02.4, there may be additional configuration updates required for your upgrade:

  • Some systems with project sharing enabled may have Posit Workbench configured to manage shared files in the session rather than in RStudio Server or Posit Workbench.
    • This configuration is no longer supported and related options have been removed. Project Sharing is now coordinated by Posit Workbench rather than sessions.
  • If your system is configured in this manner, the following changes must be made to your system’s configuration files to prior to updating to a new version of Workbench:

Administrative requiremnts

Server Configuration

In rserver.conf:

  • Remove rsession-collab-server

Session Configuration

In rsession.conf:

  • Remove rsession-collab-server
  • Remove filebase-path

Once you have made any required updates, please continue to the next section.

Upgrading to Version 2022.07.2

There are no additional requirements to upgrade to version 2022.07.2. Continue to the Upgrade Procedures section below.

Upgrading to Version 2022.12.0

VS Code

Starting with Posit Workbench version 2022.12.0:

  • The components needed for VS Code sessions are installed automatically.
  • By default, VS Code session support is enabled for new installations.

When upgrading an existing installation where /etc/rstudio/vscode.conf already exists:

  • Priorly configured VS Code settings are still applied, including the use of the previously installed versions of code-server.
  • Posit strongly recommends switching to the newer VS Code components bundled with Posit Workbench.

To switch to the newer VS Code components:

  1. Complete the Upgrade Procedures section below.

  2. For reference, make a backup copy of the existing /etc/rstudio/vscode.conf file.

  3. Then, run:

    rstudio-server configure-vs-code

This provides the option to regenerate /etc/rstudio/vscode.conf to use the bundled VS Code components. If necessary, reapply any customizations from the backup copy of vscode.conf using a text editor.

See the VS Code Installation page of the Admin Guide for more information and examples.

Upgrading to Version 2023.03.2

There are no additional requirements to upgrade to version 2023.03.2. Continue to the Upgrade Procedures section below.

Upgrading to Version 2023.06.2

There are no additional requirements to upgrade to version 2023.06.2. Continue to the Upgrade Procedures section below.

Upgrading to Version 2023.09.1

Breaking Changes

Breaking Change

Workbench 2023.09 temporarily removed support for using an encrypted password in database.conf for PostgreSQL. 2023.09.1 added support SSL certificate authentication for database connections. In 2023.12 database password encryption has been restored. Both mechanisms are now supported.

Upgrading to Version 2023.12.1+

There are no additional requirements to upgrade to version 2023.12.1+. Continue to the Upgrade Procedures section below.

Upgrade Procedures


Review the applicable Upgrade - Administrative Requirements sections (above) for the desired version that you wish to upgrade to prior to continuing with this section.

There are additional configuration requirements that must be satisfied for a successful upgrade. Failure to do so may result in an unsuccessful upgrade with configuration issues.

  1. Notify users ahead of time of the upgrade. You can use the admin notification feature.

  2. Check if there are any active sessions running:

    sudo rstudio-server active-sessions
  • If there are active sessions, then suspend all active user sessions:

    sudo rstudio-server suspend-all
  1. Put the old version of the server into offline mode:

    sudo rstudio-server offline
  2. Download and upgrade Workbench:

$ curl -O https://download2.rstudio.org/server/rhel9/x86_64/rstudio-workbench-rhel-2023.12.1-x86_64.rpm
$ sudo yum install rstudio-workbench-rhel-2023.12.1-x86_64.rpm
$ curl -O https://download2.rstudio.org/server/rhel8/x86_64/rstudio-workbench-rhel-2023.12.1-x86_64.rpm
$ sudo yum install rstudio-workbench-rhel-2023.12.1-x86_64.rpm
$ curl -O https://download2.rstudio.org/server/centos7/x86_64/rstudio-workbench-rhel-2023.12.1-x86_64.rpm
$ sudo yum install rstudio-workbench-rhel-2023.12.1-x86_64.rpm
$ curl -O https://download2.rstudio.org/server/focal/amd64/rstudio-workbench-2023.12.1-amd64.deb
$ sudo apt-get install ./rstudio-workbench-2023.12.1-amd64.deb
$ curl -O https://download2.rstudio.org/server/jammy/amd64/rstudio-workbench-2023.12.1-amd64.deb
$ sudo apt-get install ./rstudio-workbench-2023.12.1-amd64.deb
$ curl -O https://download2.rstudio.org/server/opensuse15/x86_64/rstudio-workbench-2023.12.1-x86_64.rpm
$ sudo zypper install rstudio-workbench-2023.12.1-x86_64.rpm

For older versions of RStudio/Workbench, please review the Previous Versions page.

  1. Restart the server:

    sudo rstudio-server restart
  2. Put the new version online:

    sudo rstudio-server online

The service will never be truly down (in the sense that users see a failure to connect). The offline mode keeps users from trying to start new sessions while you’re doing the upgrade.

Your configuration and settings remain unchanged from the previous version, and if you are running Workbench, your license status remains untouched as well.