OpenOnDemand RStudio on OOD 3.x
Jump to navigation
Jump to search
I'm putting this here so that it's clear that as of Rocky 8.9 this version of RStudio server is also broken and more recent releases break the UI integration with authentication problems.
Rather that rewrite the rstudio-server ood integration the "fix" is to install the most recent version of rstudio desktop on the nodes and then us the remote desktop plugin
on the OOD node do this:
cd /var/www/ood/apps/ mkdir ../broken mv rstudio/ ../broken/
then
cd /home/ mkdir -p shared cd shared wget https://download1.rstudio.org/electron/rhel8/x86_64/rstudio-2024.04.2-764-x86_64.rpm pdsh -w small-[001-004] dnf install -y R /home/shared/rstudio-2024.04.2-764-x86_64.rpm
and the run from the remote desktop app
This was on Rocky 8.8
mkdir /var/www/ood/apps/sys/ cd /var/www/ood/apps/sys git clone https://github.com/OSC/bc_example_rstudio.git mv bc_example_rstudio rstudio cd rstudio # form.yaml - Add the cluster name - you can get from the file below. - apps/bc_desktop/slurm.yml:cluster: slurm - OR cat /etc/ood/config/clusters.d/slurm.yml (in this case the cluster name is 'slurm' # verify the settings in /var/www/ood/apps/sys/rstudio/template/script.sh.erb (defaults fine based on below) # over to the compute node(s) dnf -y install epel-release yum config-manager --set-enabled powertools dnf install R # rstudio curl -L https://download2.rstudio.org/rstudio-server-rhel-1.1.463-x86_64.rpm -o rstudio-server-rhel-1.1.463-x86_64.rpm dnf localinstall ./rstudio-server-rhel-1.1.463-x86_64.rpm yum install compat-openssl10 # doesn't work curl -LO https://download2.rstudio.org/server/rhel8/x86_64/rstudio-server-rhel-2023.09.1-494-x86_64.rpm # doesn't work dnf localinstall ./rstudio-server-rhel-2023.09.1-494-x86_64.rpm systemctl stop rstudio-server systemctl disable rstudio-server mkdir -p /apps cd /apps singularity pull --name rserver-launcher-centos7.simg shub://OSC/centos7-launcher # reload web service and it should appear in the interactive apps pull down...