grst / rstudio-server-conda

Run Rstudio Server in a conda environment
MIT License
229 stars 47 forks source link

ERROR after rstudio-server update #16

Closed Mt-cn closed 2 years ago

Mt-cn commented 2 years ago

Thank you for the tool, it helped me a lot. However,after I upgrade the rstudio-server, it seems there are some errors.

[rserver] ERROR Attempt to run server as user 'rstudio-server' (uid 999) from account 'aaa' (uid 1006) without privilege, which is required to run as a different uid; LOGGED FROM: virtual rstudio::core::ProgramStatus rstudio::server::Options::read(int, char const, std::ostream&) src/cpp/server/ServerOptions.cpp:322

Looking forward to your reply.

grst commented 2 years ago

which of the three approaches (local, singularity, podman) are you using? and what's the version of rstudio server you are running now?

On Tue, 28 Sept 2021 at 17:54, Mt-cn @.***> wrote:

Thank you for the tool, it helped me a lot. However,after I upgrade the rstudio-server, it seems there are some errors.

[rserver] ERROR Attempt to run server as user 'rstudio-server' (uid 999) from account 'aaa' (uid 1006) without privilege, which is required to run as a different uid; LOGGED FROM: virtual rstudio::core::ProgramStatus rstudio::server::Options::read(int, char const, std::ostream&) src/cpp/server/ServerOptions.cpp:322

Looking forward to your reply.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grst/rstudio-server-conda/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVZRVZBVVG4NUWCUIGURL3UEHQMRANCNFSM5E5YMENQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Mt-cn commented 2 years ago

Thanks for your reply !

I am using the local with ./start_rstudio_server.sh 5656

the rstudio-server version is

2021.09.0+351 (Ghost Orchid) for Ubuntu Bionic

mrartanis commented 2 years ago

Looks like this: https://github.com/grst/rstudio-server-conda/pull/18 should help

grst commented 2 years ago

Hi @Mt-cn, could you please check if @mrartanis' solution fixes the problem for you? It is now merged into the master branch.