To move your license from one RStudio Connect installation to another, execute the following steps:
Online license
- Install RStudio Connect on the new machine, and verify that it is functioning properly.
- If this machine has never had RStudio Connect on it before, you will have the standard 45-day trial period before a license is required.
- If you would like the new machine to have the same configuration as the old machine, you can copy the configuration files in the
/etc/rstudio
directory from the old server to the new. - If you are using an authentication method with RStudio Connect, you will want to implement the same configuration on the new server that you have on the old.
- Deactivate the license on the old server:
$ sudo /opt/rstudio-connect/bin/license-manager deactivate
- Activate the license on the new server:
$ sudo /opt/rstudio-connect/bin/license-manager activate <product-key>
$ sudo stop rstudio-connect
$ sudo start rstudio-connect - Verify the status of the license on the new server:
$ sudo /opt/rstudio-connect/bin/license-manager status
Offline license
- Install RStudio Connect on the new machine, and verify that it is functioning properly.
- If this machine has never had RStudio Connect on it before, you will have the standard 45-day trial period before a license is required.
- If you would like the new machine to have the same configuration as the old machine, you can copy the configuration files in the
/etc/rstudio
directory from the old server to the new. - If you are using an authentication method with RStudio Connect, you will want to implement the same configuration on the new server that you have on the old.
- Deactivate the license on the old server. Note that this will make the old server unlicensed, so you will need to apply a new license if you wish to keep using it:
$ sudo /opt/rstudio-connect/bin/license-manager deactivate-offline
- Use this application to generate an offline activation request:https://rs-support.shinyapps.io/offline-activation/
- Follow the instructions in the app to activate the license on the server.
- Verify the status of the license on the new server:
$ sudo /opt/rstudio-connect/bin/license-manager status-offline
For more information on license management, see this section of the RStudio Connect administrator's guide.
Comments