Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a sym link of rserver executable #541

Merged
merged 3 commits into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

- RStudio Server user settings are written to `~/.config/rstudio/rstudio-prefs.json`, not `~/.rstudio/monitored/user-settings/user-settings`.
([#63](https://github.com/rocker-org/rocker-versioned2/issues/63))
- In `rocker/rstudio` etc., `/usr/local/bin/rstudio-server` is no longer added to the PATH environment variable.
`rstudio-server` and `rserver` can still be called by the executable file name,
since simlinks are now created, but the other files must be called by their full path,
e.g. `/usr/lib/rstudio-server/bin/rsession`.
([#535](https://github.com/rocker-org/rocker-versioned2/pull/535),
[#538](https://github.com/rocker-org/rocker-versioned2/issues/538),
[#541](https://github.com/rocker-org/rocker-versioned2/pull/541))

## 2022-07

Expand Down
3 changes: 2 additions & 1 deletion scripts/install_rstudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ dpkg -i "$DOWNLOAD_FILE"
rm "$DOWNLOAD_FILE"

ln -fs /usr/lib/rstudio-server/bin/rstudio-server /usr/local/bin
ln -fs /usr/lib/rstudio-server/bin/rserver /usr/local/bin

# https://github.com/rocker-org/rocker-versioned2/issues/137
rm -f /var/lib/rstudio-server/secure-cookie-key
Expand Down Expand Up @@ -128,7 +129,7 @@ cp /rocker_scripts/pam-helper.sh /usr/lib/rstudio-server/bin/pam-helper
# Clean up
rm -rf /var/lib/apt/lists/*

# Check the RStudio Server version
# Check the RStudio Server
echo -e "Check the RStudio Server version...\n"

rstudio-server version
Expand Down