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
Bowtie2 precompiled dependency not executable after toolshed install #42
Comments
My first guess is that this is .zip not preserving permissions (.tar does). We'll repackage and it should fix things right up, thanks for pointing this out. We'll update this issue once the new package is available. |
to correctly set permissions see #42
Excellent, thanks @martenson, I'll test again once the toolshed has been updated. |
I see that the toolshed repo |
@lparsons packages don't have versions anymore. If you depend on a package you always get the latest version. This shouldn't be a problem, imho. |
@bgruening I believe the problem is revision and not version. In my test instance of Galaxy (at latest_2014.10.06) the installed |
@lparsons What I do is uninstall and install again on bowtie2 wrapper. |
This shouldn’t be needed, you can reinstall the dependency on package_bowtie. This should fix it hopefully. |
@bgruening that did not work for me on Test |
I'm not sure if this is an issue just for my test instance (which has lots of clutter due to this type of issue) or if it would affect instances that do not have previous revisions of That being said, I uninstalled both revisions of After a restart and actually running Bowtie2, I get a "command not found" error. Looking at the logs, Galaxy has used the path: All in all, quite the mess. It there any recommended way of truly removing installed toolshed repositories from a Galaxy instance (purging, so to speak). There are quite a few duplicate entries like this in my test instance now. |
@lparsons have you also tried installing the uninstalled package_bowtie_2_2_4? |
@InitHello The uninstalled |
I believe the underlying issue is that Galaxy can get into a state where there are multiple records for the same toolshed repository version. I don't think this should happen, but I know of no simple way of cleaning it up from this state since the records are not removed from the database. |
I would try clean uninstall and clean install. I suspect that the 'install updates' caused some issues I encountered on Test Galaxy yesterday. |
@martenson I'm not quite sure what you mean by 'clean uninstall' and 'clean install'. What sort of a process can I use to do that? |
@lparsons Galaxy gives you an option to deactivate or uninstall any repository. I meant the uninstall. |
@martenson Oh, I see, I've done that, but that simply deletes files on disk (sometimes). There is no way to remove what I think are "duplicate" entries in whatever table(s) Galaxy is using to track what repositories are installed. Thus, there is no real way to do a "clean install" since it's always viewed by Galaxy as "reinstalling" (except when it isn't and a duplicate records gets created, I've no idea how that happens). |
@lparsons MySQL or postgres? |
@jmchilton Postgres 8.4.20, CentOS release 5.10 (Final) |
:( I would think the purpose of the database in to enforce integrity that would be hard to do with the file system alone. Erg... |
@lparsons have you tried the 'repair repository' function? |
I agree @jmchilton. @bgruening, yes, I have tried that but it really only seems to automate the uninstall reinstall loop. I believe we have two main tasks at this point:
Since the installed repository duplication bug is a long standing issue for (that has plagued me since the start of the toolshed), I would very much like to help define the problem more clearly so we can get a resolution. That being said, I'm not quite sure of the best way to do that. I think at a minimum we need a Galaxy team member to be able to duplicate the issue. |
So, after quite a bit of wrangling, I was able to "purge" one of the "package" repositories and then things started to work much better. However, there is still a major issue that I believe @jmchilton is working on: http://gmod.827538.n3.nabble.com/Error-when-opening-bowtie2-tool-page-tp4047540.html. Is there a Trello card or GitHub issue on this? Also, I ran into another instance of a duplicated toolshed repositories during this (now I have two instances of the same bowtie2 toolshed repo on my test instance). Should I create a Trello card for that, or would someone else prefer to do it (who maybe has a better handle on the issue and how to word things)? |
After installing the latest bowtie2 wrapper from the toolshed, I get a "permission denied" error when trying to run the tool. I believe this is due to the fact that the bowtie2 executable does not have the executable bit set:
The text was updated successfully, but these errors were encountered: