Search code examples
google-cloud-platformrstudiogoogle-cloud-dataproc

Problem installing RStudio onto a GCP cluster


I'm trying to follow this tutorial but keep getting an error when I try to install RStudio on the main cluster. (see section Installing RStudio Server..., item 3).

When I run the line

$ sudo gdebi rstudio-server-1.2.1335-amd64.deb

The installation starts but then fails with

Jun 03 03:10:16 cluster-c141-m systemd[1]: Starting RStudio Server...
Jun 03 03:10:16 cluster-c141-m rserver[20313]: /usr/lib/rstudio-server/bin/rserver: error while loading shar…ectory
Jun 03 03:10:16 cluster-c141-m systemd[1]: rstudio-server.service: Control process exited, code=exited status=127
Jun 03 03:10:16 cluster-c141-m systemd[1]: Failed to start RStudio Server.
Jun 03 03:10:16 cluster-c141-m systemd[1]: rstudio-server.service: Unit entered failed state.
Jun 03 03:10:16 cluster-c141-m systemd[1]: rstudio-server.service: Failed with result 'exit-code'.

Thanks for any suggestions.


Solution

  • You are installing the rstudio-server for Debian 8. Install the Debian 9 version.