Galaxy CloudMan instance - share history broken
Dear All, For information, here is how I solved the error I was getting when selecting from the history menu ‘Share and Publish’ on a Galaxy CloudMan instance: Internal Server Error Galaxy was unable to successfully complete your request URL: http://ec2-52-0-174-227.compute-1.amazonaws.com/history/sharing Module galaxy.web.framework.middleware.error:149 in __call__
app_iter = self.application(environ, sr_checker) Module paste.recursive:84 in __call__ return self.application(environ, start_response) Module paste.httpexceptions:633 in __call__ return self.application(environ, start_response) Module galaxy.web.framework.base:132 in __call__ return self.handle_request( environ, start_response ) Module galaxy.web.framework.base:190 in handle_request body = method( trans, **kwargs ) Module galaxy.web.framework.decorators:64 in decorator return func( self, trans, *args, **kwargs ) Module galaxy.webapps.galaxy.controllers.history:735 in sharing return trans.fill_template( "/sharing_base.mako", item=history ) Module galaxy.web.framework.webapp:774 in fill_template return self.fill_template_mako( filename, **kwargs ) Module galaxy.web.framework.webapp:782 in fill_template_mako template = template_lookup.get_template( filename ) Module mako.lookup:218 in get_template return self._load(srcfile, uri) Module mako.lookup:283 in _load **self.template_args) Module mako.template:218 in __init__ module = self._compile_from_file(path, filename) Module mako.template:245 in _compile_from_file module = imp.load_source(self.module_id, path, open(path, 'rb')) IOError: [Errno 13] Permission denied: '/mnt/galaxy/galaxy-app/database/compiled_templates/sharing_base.mako.py’
ssh into the instance and then
sudo chgrp -R galaxy /mnt/galaxy/galaxy-app/database/ sudo chown -R galaxy /mnt/galaxy/galaxy-app/database/
Hope it could be useful to someone else. Please do let me know if there is a better place for reporting these CloudMan issues. Many thanks. Anne. -- Dr Anne Pajon - Bioinformatics Core Cancer Research UK - Cambridge Institute Li Ka Shing Centre, Robinson Way, Cambridge CB2 0RE anne.pajon@cruk.cam.ac.uk | +44 (0)1223 769 631
participants (1)
-
Anne Pajon