Skip to content

cannot use -e USERID or -e GROUPID with 4.2.2 #3

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

Open
dtm2117 opened this issue Feb 23, 2023 · 3 comments
Open

cannot use -e USERID or -e GROUPID with 4.2.2 #3

dtm2117 opened this issue Feb 23, 2023 · 3 comments

Comments

@dtm2117
Copy link

dtm2117 commented Feb 23, 2023

Hi, @davetang

Amazing work. I've used your tutorial to make a dockerized Rstudio with 4.1.2 for a while now.

When trying to create a new version with R 4.2.2, but if i use a userid and groupid argument in the run script i get this error:
Screenshot 2023-02-23 at 2 39 46 PM

it works perfectly fine with my 4.1.2 build.

Any Ideas??

Thanks!!

@davetang
Copy link
Owner

Hi @dtm2117,

I got several messages recently about issues with RStudio Server and I just wrote a blog post about it.

I think you can now exclude the following parameters with the latest Rocker Docker image:

           -e USERID=$(id -u) \
           -e GROUPID=$(id -g) \

Let me know if that fixes your problem.

Cheers,
Dave

@dtm2117
Copy link
Author

dtm2117 commented Feb 24, 2023

so unfortunately our server runs on 14.04 so Docker version 18.06.3-ce, build d7080c1

I can run the rocker rstudio image and get to the rstudio-server but cannot save any files:

image

this is the script i use to start the server

        docker run  \
        -p 8788:8787 \
        -d  \
        --rm  \
        --name rstudio_server_4_2 \
        -v /data1/users/dmelnekoff/rstudio_docker_4_2_2/r_packages/:/packages \
        -v /data1/:/data1/ \
         -v /data2/:/data2/ \
        -e PASSWORD=password \
        melnecure/rstudio:4.2.2_fixed ``` 

and i used the docker file onthe github to build my container

@davetang
Copy link
Owner

You'll need to update your Ubuntu version to update Docker to use R-4.2.2. I believe that you can use up to version R-4.2.0 with your current environment and setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants