How do I renew my Shiny Server Pro license on the server?

Follow

Renewing your Shiny Server Pro 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/shiny-server/bin/license-manager deactivate
  2. $ sudo /opt/shiny-server/bin/license-manager activate <product-key>
  3. $ sudo restart shiny-server # or "sudo /sbin/service shiny-server restart" or "sudo systemctl restart shiny-server"

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

$ sudo /opt/shiny-server/bin/license-manager 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/shiny-server/bin/license-manager deactivate-offline <product-key>
  2. $ sudo /opt/shiny-server/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/shiny-server/bin/license-manager activate-offline <activation-file>
  5. $ sudo restart shiny-server # or "sudo /sbin/service shiny-server restart" or "sudo systemctl restart shiny-server"

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

$ sudo /opt/shiny-server/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