You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm having some issues after updating to rocker/rstudio:latest recently. In order to pin the error down i was checking configs etc. in a new container. I think there might be something wrong with the configurations or the code itself. When i run a fresh container using:
docker run -e PASSWORD=somePassword -p 8787:8787 -P rocker/rstudio:latest
then "go inside" using
docker exec -it container_name bash
and run
rstudio-server verify-installation
i only get "Terminated" as an output. I thought this was a good thing (no error shown = no error) but this also could mean it terminated while trying to check - > so i looked up the system output of the container, and every time i run the verification it says:
rsession: no process found
and sometimes additionally:
s6-supervise rstudio: warning: finish script lifetime reached maximum value - sending it a SIGKILL
If this was not enough, when i log in as "rstudio" to the rstudio it works, but i get this error inside the editor:
I would provide more logs, but i cannot find those...all the information regarding the location of the log files seem to be invalid for running rstudio inside docker.
Also: I don't know if this is somehow related (i supposed it might be), but every time i restart the container, the same PATH variable gets inserted into the /usr/local/lib/R/etc/Renviron file:
Regarding the error message you see when you log in, /home/ubuntu/rstudio/src/cpp/r/RExec.cpp: etc, are you linking volumes to the local host? Are you seeing that with a fresh pull, or only when restoring / restarting the container? I ask because as you'll note, that path is not related to the Rocker image directly (there is no /home/ubuntu) but I suspect you're seeing this error due to RStudio's file-locking protocol instead. Like the above behavior, this message is completely harmless but also annoying. We switched the default locking behavior so you should see this less in recent images. I also don't think you should see this if you aren't linking to the host or another container where RStudio cannot manage the file permission locks?
It sounds like you have correctly entered the container and run rstudio-server verify-installation, and verified that you see no error messages. I agree the message Terminated is a little opaque way to say RStudio has installed correctly with no errors, but as you already gathered, that is exactly the expected behavior and no cause for concern. I couldn't quite follow what you did after that, I haven't come across s6-supervise rstudio: warning: finish script lifetime reached maximum value before, but it sounds like your RStudio instance is working just fine other than the annoying-but-harmless error message regarding the permission locks.
Hope this helps, sorry some of these things are more confusing than they need to be.
Hi!
I'm having some issues after updating to rocker/rstudio:latest recently. In order to pin the error down i was checking configs etc. in a new container. I think there might be something wrong with the configurations or the code itself. When i run a fresh container using:
docker run -e PASSWORD=somePassword -p 8787:8787 -P rocker/rstudio:latest
then "go inside" using
docker exec -it container_name bash
and run
rstudio-server verify-installation
i only get "Terminated" as an output. I thought this was a good thing (no error shown = no error) but this also could mean it terminated while trying to check - > so i looked up the system output of the container, and every time i run the verification it says:
and sometimes additionally:
If this was not enough, when i log in as "rstudio" to the rstudio it works, but i get this error inside the editor:
I would provide more logs, but i cannot find those...all the information regarding the location of the log files seem to be invalid for running rstudio inside docker.
Also: I don't know if this is somehow related (i supposed it might be), but every time i restart the container, the same PATH variable gets inserted into the /usr/local/lib/R/etc/Renviron file:
and this over and over again. After 4 restarts i got
sitting there.
The text was updated successfully, but these errors were encountered: