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.
- Notify users ahead of time of the upgrade. You can use the admin notification feature.
- 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
-
- If there are active sessions, then suspend all active user sessions:
-
- Put the old version of the server into offline mode:
-
sudo rstudio-server offline
-
- Uninstall RStudio Server:
- Ubuntu/Debian
-
sudo apt-get remove rstudio-server
-
- RHEL/CentOS
-
sudo yum remove rstudio-server
-
- Ubuntu/Debian
- 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
-
- For example:
-
- Download and install the upgraded version using your package manager:
- Ubuntu/Debian
-
sudo gdebi <rstudio-server-package.deb>
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
-
- For example:
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