Support

Downgrading RStudio Workbench

Follow

You may wish to rollback to a previous version of RStudio Workbench from a more recent version. The instructions for how to do so can be found below:

 

NOTE: This has been tested and will work when downgrading from calendar-based versions of RStudio Workbench, to version 1.4.1717-3 (Juliet Rose). The steps outlined below will not work for versions prior & for unsupported versions.

  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
  3. Put the old version of the server into offline mode: 
    • sudo rstudio-server offline
  4. Uninstall RStudio Server:
    • Ubuntu/Debian
      • sudo apt-get remove rstudio-server
    • RHEL/CentOS
      • sudo yum remove rstudio-server
  5. Download your preferred version of RStudio Workbench from our Older Versions page:
    • curl -O <RStudio Workbench URL here>
      • For example:
        • curl -O https://download2.rstudio.org/server/xenial/amd64/rstudio-server-1.4.1717-3-amd64.deb
  6. Download and install the upgraded version using your package manager:
  7. Ubuntu/Debian
  8.  

    sudo gdebi <rstudio-server-package.deb>
    
    RHEL/CentOS
    sudo yum install --nogpgcheck <rstudio-server-package.rpm>
    

     

    • For example:
      • sudo gdebi rstudio-server-1.4.1717-3-amd64.deb
      • sudo yum install --nogpgcheck rstudio-server-1.4.1717-3-amd64.deb

 

You have now installed a previous version of RStudio Workbench. Restart the server and put it into online mode for the changes to take effect:

 

Restart the server:

    • sudo rstudio-server restart

Put the new version online

    • sudo rstudio-server online

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

Comments