To move your license from one Shiny Server Pro installation to another, take the following steps:
Online license
- Install Shiny Server Pro on the new machine, and verify that it is functioning properly.
- /etc/shiny-server/shiny-server.conf
- /etc/init/shiny-server.conf (if you made any changes to this file)
- Any PAM session file you may have created on the old server
- If this machine has never had Shiny Server Pro 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 Shiny Server Pro, 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/shiny-server/bin/license-manager deactivate
- Activate the license on the new server:
$ sudo /opt/shiny-server/bin/license-manager activate <product-key>
$ sudo restart shiny-server # or "sudo /sbin/service shiny-server restart" or "sudo systemctl restart shiny-server", depending on your system - Verify the status of the license on the new server:
$ sudo /opt/shiny-server/bin/license-manager status
Offline license
- Install Shiny Server Pro on the new machine, and verify that it is functioning properly.
- If this machine has never had Shiny Server Pro 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 Shiny Server Pro, you will want to implement the same configuration on the new server that you have on the old.
- Use this application to deactivate the license on the old server:https://rs-support.shinyapps.io/offline-activation/. 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.
- Use that same application (https://rs-support.shinyapps.io/offline-activation/) to generate an offline activation file for the new server.
- Run the
license-manager activate-offline
command supplied by the application on the new server, then restart it:$ sudo reload shiny-server
- Verify the status of the license on the new server:
$ sudo /opt/shiny-server/bin/license-manager status-offline
For more information on license management, see this section of the Shiny Server administrator's guide.
Comments