FAQ: Fixing RStudio loading a blank screen after an upgrade

christopher.wellingtonchristopher.wellington Member, Administrator, Domino Posts: 17 admin
edited November 2019 in Q&A

If you've used a custom compute environment to upgrade RStudio >= 1.0.136, you may encounter a blank screen when loading a new session. Fortunately, this is easy to resolve.

​RStudio version 1.0.136 introduced default behavior that prevents RStudio from running inside of an iframe (which is used by Domino to provide the sync menu). You can use the www-frame-origin parameter to get back up and running. To set this, add the following lines to your environment:

echo "www-frame-origin=app.dominodatalab.com" >> /etc/rstudio/rserver.conf
chown ubuntu:ubuntu /etc/rstudio/rserver.conf

Remember to replace `app.dominodatalab.com` with the domain you use to access Domino. If you're still unsuccessful replace the domain with the word 'any'.

Here's an example of a complete Dockerfile:

USER root
 cd /tmp && \
 wget http://www.rstudio.org/download/latest/stable/server/ubuntu64/rstudio-server-latest-amd64.deb && \
 dpkg -i rstudio-server-latest-amd64.deb && \
 rm rstudio-server-latest-amd64.deb
 echo "www-frame-origin=app.dominodatalab.com" >> /etc/rstudio/rserver.conf && \
 chown ubuntu:ubuntu /etc/rstudio/rserver.conf

Sign In or Register to comment.