Support

How do I renew my RStudio Connect license on the server?

Follow

Renewing your RStudio Connect license is quite easy.  After you have purchased a license renewal, you will receive an email with the license key. At that point, you can activate it following the steps below, depending on whether your license is online or offline:

Online license

For online licenses, you can run the following steps on the server.

  1. $ sudo /opt/rstudio-connect/bin/license-manager deactivate
  2. $ sudo /opt/rstudio-connect/bin/license-manager activate <product-key>
  3. $ sudo systemctl stop rstudio-connect
  4. $ sudo systemctl start rstudio-connect

Then, to check the status of the license, run this command:

$ sudo /opt/rstudio-connect/bin/license-manager status

 

For floating licenses, you will need to run the following steps to renew on the floating license server, including stopping and restarting:

  1. $ sudo connect-license-server stop
  2. $ sudo connect-license-server deactivate
  3. $ sudo connect-license-server activate <product-key>
  4. $ sudo connect-license-server start

Then, to check the floating license activation, run this command: 

$ sudo connect-license-server activation-status

 

Offline license

For offline licenses, you must deactivate and reactivate your server to ensure that it picks up the new expiration date. You can do this by following the steps below:

  1. $ sudo /opt/rstudio-connect/bin/license-manager deactivate-offline <product-key>
  2. $ sudo /opt/rstudio-connect/bin/license-manager activate-offline-request <product-key>
  3. Enter the output of steps 1 and 2 on the app located here.  The app will respond with some activation XML, which you can use in the next step.
  4. Paste that code into an activation file on your server, then run:
    $ sudo /opt/rstudio-connect/bin/license-manager activate-offline </full/path/to/activation-file>
  5. $ sudo systemctl stop rstudio-connect
  6. $ sudo systemctl start rstudio-connect

Then, to check the status of the license, run this command:

$ sudo /opt/rstudio-connect/bin/license-manager status-offline

If the app is not working for any reason, please email us at support@rstudio.com and let us know and we can walk you through the renewal manually.

The commands for offline activation and deactivation of a floating license server are found in our offline activation app.

For additional information, please see this section of the admin guide.

 

Comments