Closed monprin closed 5 years ago
Hi @monprin,
Thanks for the detailed bug report. It looks like we can just remove the VOLUME declaration since it isn't used in the jupyter container either. I've pushed a change for this, it should work whenever the container is re-built and re-pulled hopefully.
Hey,
Thanks @erasche for the quick reply to this, but it does look like the Quay build may have failed, per the status icon on the repo info page.
Thanks!
@monprin looks like it succeeded this time, can you give it a test?
@erasche Updated the image in Galaxy and looks good.
Thank you very much for the help with this, I'm closing the issue!
Glad we could get it sorted out so easily!
Dear @erasche I am a bit puzzled when reading this closed issue: I am currently testing the release_19.05 for ie and I am still observing the same error as described by @monprin, which is fixed if I chmod 777 the /import from within the running container.
So the bug was not eventually fixed ?
Hi @drosofff, a chmod is run and a volume is no longer specified, but volume permissions are changed when things are mounted in? So this is supposed to be fixed, but if it isn't, that's too bad.
If it is not, unfortunately I do not have time to support this branch, due to the changes going on for GIEs in 19.09+ galaxy.
Hi Elena,
a chmod is run and a volume is no longer specified
Yes I saw this in the Dockerfile... but for obscure reason, yes the permissions are changed in the mounted /import
. There is also a problem with the gx_get()
function targeting this dir whereas the import file directory for rstudio is actually /home/rstudio/
(also with insufficient write permissions).
I do not have time to support this branch, due to the changes going on for GIEs in 19.09+ galaxy
OK, no problem, we can live with that. If I find something, I'll make a PR
Best
Hello,
I upgraded to 19.05 today and have been testing the Rstudio GIE running. It actually works flawlessly out of the box with one exception: whenever I try to use
gx_get()
, I get a permission error like this:When looking at the permissions in the
/import
, it's easy to see why, everything is owned byroot
, despite the working user being rstudio, and world write is not allowed.gx_put()
does work if I make a file and try to send it to galaxy.I have Galaxy setup to use an external machine as a container runner and thus have the
use_volumes
option in the.ini
set to false. Jupyter does work well here and is able to do both get and put.It seems to stem from the Dockerfile defining the
/import
directory as a volume and those, by default, seem to be owned by root if another pre-made volume is not defined (which I would rather not do for easier maintenance).I was wondering if you know any workaround to get this to work so we can just use the default configuration and image?
Thanks you!