Skip to content

Commit 707a541

Browse files
authored
Merge pull request #5 from diedpigs/fix-deploy-issue
Fix deploy issue
2 parents 746f917 + 36220c3 commit 707a541

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RStudio Server app for Open OnDemand
44
Based on https://github.com/OSC/bc_osc_rstudio_server.
55

66
# Description
7-
This guide is a help to install the OOD RStudio Server app without requiring PRoot and/or Singularity. Prior to RStudio Server 1.3###, some hard-coded file paths caused a conflict when running multiple RStudio Server instances on the same server, as is the case when more than one OOD job launches to the same compute node. PRoot/Singularity fixed this issue by creating a unique TMP_DIR which was mounted into the container at /tmp. This fix successfully separated multiple instances running on the same server. To my knowledge, this was the primary benefit of using PRoot/Singularity.
7+
This guide is a help to install the OOD RStudio Server app without requiring PRoot and/or Singularity. Prior to RStudio Server 1.3###, some hard-coded file paths caused a conflict when running multiple RStudio Server instances on the same server, as is the case when more than one OOD job launches to the same compute node. PRoot/Singularity fixed this issue by creating a unique TMP_DIR which was mounted into the container at /tmp. This fix successfully separated multiple instances running on the same server. To my knowledge, this was the primary benefit of using PRoot/Singularity.
88

99
Starting in RStudio Server 1.3###, the developers added environment variables to control the location of those hard-coded files. This means that (in our case at least) PRoot/Singularity is no longer required for the OOD RStudio Server App.
1010

@@ -38,7 +38,7 @@ Optionally add a modulefile to load env.
3838
## RStudio Server OOD App
3939
To install the app:
4040
```
41-
cd /var/www/ood/apps/sys
41+
cd /var/www/ood/apps/sys
4242
git clone https://github.com/mcw-rcc/bc_rcc_rstudio_server.git
4343
cd bc_rcc_rstudio_server
4444
```
@@ -50,7 +50,7 @@ rserver \
5050
--auth-pam-helper-path "${RSTUDIO_AUTH}" \
5151
--auth-encrypt-password 0 \
5252
--rsession-path "${RSESSION_WRAPPER_FILE}" \
53-
--server-data-dir "${TMPDIR}" \
53+
--server-data-dir "${TMPDIR}" \
5454
--secure-cookie-key-file "${TMPDIR}/rstudio-server/secure-cookie-key"
5555
--database-config-file "${DBCONF}"
5656
--server-user $(whoami)

0 commit comments

Comments
 (0)