Correctly activate RStudio Server Pro license when creating Google Cloud Dataproc image.

Good afternoon,

I am trying to create a custom image through Google Cloud Dataproc that includes a licensed version of RStudio Server. I have followed the steps recommended in the license management section of the docs (, but continue to get an error when I open RStudio Server Pro through the image. The commands I use for the image build are

sudo rstudio-server license-manager activate product-key
sudo rstudio-server restart
sudo rstudio-server license-manager status

The error says "RStudio Server License Expired". If I re-enter the exact same commands listed above on the machine that uses my custom image, the error goes away. Any ideas as to why this is? I should mention that I install various packes after attempting to activate the license.

Thanks for your help

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.