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 (https://docs.rstudio.com/ide/server-pro/license-management.html), 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