How do I migrate my Posit Connect license from one machine to another?

Follow

To move your license from one Posit Connect  installation to another, execute the following steps:

Online license

  1. Install Posit Connect on the new machine, and verify that it is functioning properly.
    1. If this machine has never had Posit Connect on it before, you will have the standard 45-day trial period before a license is required.
    2. 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.
    3. If you are using an authentication method with Posit Connect, you will want to implement the same configuration on the new server that you have on the old.
  2. Deactivate the license on the old server:
    $ sudo /opt/rstudio-connect/bin/license-manager deactivate
  3. 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
  4. Verify the status of the license on the new server:
    $ sudo /opt/rstudio-connect/bin/license-manager status

Offline license

  1. Install RStudioPosit Connect on the new machine, and verify that it is functioning properly.
    1. If this machine has never had Posit Connect on it before, you will have the standard 45-day trial period before a license is required.
    2. 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.
    3. If you are using an authentication method with Posit Connect, you will want to implement the same configuration on the new server that you have on the old.
  2. 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
  3. Use this application to generate an offline activation request:https://rs-support.shinyapps.io/offline-activation/
  4. Follow the instructions in the app to activate the license on the server.
  5. 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 Posit Connect administrator's guide.

Comments