Closed innovate-invent closed 3 days ago
Mh, can you please try the quay.io/bgruening/galaxy
and let me know if you see the same behavior?
quay.io/bgruening/galaxy:latest or quay.io/bgruening/galaxy:19.01?
Should be both the same hopefully. Let me know if both work ;)
quay.io/bgruening/galaxy:19.01 still has this problem. Should I actually try :latest?
Then I think I don't understand the problem. After installation of tools I do see this.
(base) root@b53ae30ff741:/galaxy-central# ls -l /export/shed_tools/toolshed.g2.bx.psu.edu/
total 4
drwxr-xr-x 3 galaxy galaxy 4096 Mar 1 17:42 repos
That is what is expected, isn't it?
That is what is expected. What storage driver are you using?
This has nothing to do with storage driver. How do you start the container. Try without /export or use a fresh /export.
Using a fresh export every time.
docker run -d --rm \
-p 9080:80 \
-p 9021:21 \
-p 9022:22 \
--name Galaxy \
--privileged=true \
-v `pwd`/galaxy-export:/export/ \
-v `pwd`/galaxy-tools:/local_tools \
-e "GALAXY_RELEASE=release_19.01" \
-e "GALAXY_CONFIG_ADMIN_USERS=nolan_w@sfu.ca" \
-e "GALAXY_CONFIG_MASTER_API_KEY=83D5jaba7330aDAAkakjGa247" \
-e "GALAXY_CONFIG_BRAND='Galaxy Dev Test'" \
-e "GALAXY_CONFIG_TOOL_CONFIG_FILE=config/tool_conf.xml.sample,config/shed_tool_conf.xml.sample,/local_tools/tool_conf.xml" \
-e "GALAXY_CONFIG_WATCH_TOOLS=true" \
-e "GALAXY_CONFIG_CONDA_AUTO_INSTALL=true" \
-e "ENABLE_TTS_INSTALL=True" \
quay.io/bgruening/galaxy:19.01
I'm not sure what's going on here. A few things that might help to debug this.
Running a Galaxy flavor with 19.01 (docker run -i -t --rm quay.io/bgruening/galaxy-ngs-preprocessing:19.01 bash) yields the following which looks correct to me.
Without running startup
:
(base) root@45062ebf34f1:/galaxy-central# ls -l /shed_tools/toolshed.g2.bx.psu.edu/repos/iuc/
total 8
drwxrwxrwx 3 root root 4096 Feb 28 21:20 bedtools
drwxrwxrwx 3 root root 4096 Feb 28 21:10 multiqc
After running startup
:
(base) root@a736a14dc47b:/galaxy-central# ls -l /export/shed_tools/
total 4
drwxr-xr-x 3 galaxy galaxy 4096 Feb 28 21:09 toolshed.g2.bx.psu.edu
The location where this path is configured is stored in a file called shed_tool_conf.xml
and it should look like that:
(base) root@a736a14dc47b:/galaxy-central# head config/shed_tool_conf.xml
<?xml version="1.0" ?>
<toolbox tool_path="../shed_tools">
Can you make sure you have the same tool_path
in there?
docker rmi quay.io/bgruening/galaxy:19.01
docker run -d --rm -p 9080:80 -v /tmp/galaxytmp:/export/ quay.io/bgruening/galaxy:19.01
Deleting the image and re-downloading seems to have resolved this issue.
Scratch that, something after starting the container seems to break the link. I started quay.io/bgruening/galaxy:dev, installed some tools via the beta "Install tools" menu. Now bashing into the container has /export/shed_tools empty. /shed_tools links to /export/shed_tools. /export/galaxy-central/database/shed_tools/ has the installed tools.
The dev containers is for good reason called dev :)
Its really WIP and has a lot of breaking changes this release: https://github.com/bgruening/docker-galaxy-stable/pull/486
I do not recommend using it atm.
Yea, I need https://github.com/galaxyproject/galaxy/pull/7435 though. It is the same issue between dev and 19.01, I don't think dev is causing it.
Is 19.01 working for you? I tried to explain what is causing it in https://github.com/bgruening/docker-galaxy-stable/issues/485#issuecomment-469019957 ... 19.01 Docker has a configuration switch to make it work. The 'dev' version of Docker is really different in a lot of aspect and I need to check if this configuration change is still working. You can also check it and change it following https://github.com/bgruening/docker-galaxy-stable/issues/485#issuecomment-469019957 (config/shed_tool_conf.xml)
Sorry, I should have noted that everything you mentioned above was working as expected when I closed the issue. I will switch back to 19.01 and see what happens.
I just started a new instance of 19.01 and /galaxy-central/database/shed_tools is missing until I install a tool.
Thanks to @jyotipm29 we are back on track :smile: The new 24.1 image contains a lot of changes and reflects the latest developments in Galaxy. I would like to close this PR, but please feel free to reopen and rebase against the latest version.
Please give it a try:
docker run -p 8080:80 -p 8021:21 -p 4002:4002 --privileged=true -e "GALAXY_DESTINATIONS_DEFAULT=slurm_cluster_docker" -v /tmp/galaxy-data/:/export/ quay.io/bgruening/galaxy:24.1
... or any other combination. The readme has been updated. Please add any useful tip to it.
For a list of changes, see the Changelog.
It appears shed_tools has moved from the /export/shed_tools to /export/galaxy-central/database/shed_tools. This has left an empty and misleading shed_tools folder in /export.