Skip to content
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

Tool installation via webinterface fails with permission errors #73

Closed
maikknebel opened this issue May 27, 2019 · 3 comments
Closed

Tool installation via webinterface fails with permission errors #73

maikknebel opened this issue May 27, 2019 · 3 comments

Comments

@maikknebel
Copy link

When i try to install tools from toolshed via the webinterface, i get permission denied errors for ../server/database, ../server/tools and ../server/tool-data. If i change the permissions of the directorys by hand, it will crash a bit later anyways.

I used the recommended settings to install my instance with galaxy_separate_privileges: true and have the privileged user gxpriv and the normal user galaxy. My instance is started via supervisorctl and by the user gxpriv.
Folder <galaxy_install_folder>/server/database has 0755 and gxpriv:galaxy
Folder <galaxy_install_folder>/server/tools has 0755 and gxpriv:galaxy
Folder <galaxy_install_folder>/server/tool-data has 0755 and gxpriv:galaxy

Error cloning repository: Command '['hg', 'clone', '-r', u'11', u'https://toolshed.g2.bx.psu.edu/repos/devteam/blast_datatypes', u'/srv/galaxy/server/database/shed_tools/toolshed.g2.bx.psu.edu/repos/devteam/blast_datatypes/01b38f20197e/blast_datatypes']' returned non-zero exit status 255 Output was: abort: Permission denied: '/srv/galaxy/server/database/shed_tools' 

Any idea how to fix this or what the root of the problem could be?

@AliNemat
Copy link

@maikknebel I encountered the same issue. May I ask did you find an answer for your question.

@maikknebel
Copy link
Author

@AliNemat After a lot of testing and lost time i decided to just drop the privileg separation completly. Recently we droped the baremetal installation completly and are now using the docker images.

@AliNemat
Copy link

AliNemat commented Jan 3, 2020

@maikknebel Thank you for your response.

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