Help Please, So I am feeling a bit dumb right now. I have set-up another local Galaxy test server and have enabled all of the user authentication stuff in the galaxy.ini. I am using nginx for proxy however am not using the external authentication or remote. Every time a user clicks on the User->Register - there is the following error: Internal Server Error Galaxy was unable to successfully complete your request URL: http://10.115.0.65:8080/user/create Module galaxy.web.framework.middleware.error:149 in __call__
<http://10.115.0.65:8080/user/create> app_iter = self.application(environ, sr_checker) Module paste.recursive:84 in __call__ <http://10.115.0.65:8080/user/create> return self.application(environ, start_response) Module paste.httpexceptions:633 in __call__ <http://10.115.0.65:8080/user/create> return self.application(environ, start_response) Module galaxy.web.framework.base:133 in __call__ <http://10.115.0.65:8080/user/create> return self.handle_request( environ, start_response ) Module galaxy.web.framework.base:191 in handle_request <http://10.115.0.65:8080/user/create> body = method( trans, **kwargs ) Module galaxy.webapps.galaxy.controllers.user:746 in create <http://10.115.0.65:8080/user/create> status=status ) Module galaxy.web.framework.webapp:810 in fill_template <http://10.115.0.65:8080/user/create> return self.fill_template_mako( filename, **kwargs ) Module galaxy.web.framework.webapp:818 in fill_template_mako <http://10.115.0.65:8080/user/create> template = template_lookup.get_template( filename ) Module mako.lookup:218 in get_template <http://10.115.0.65:8080/user/create> return self._load(srcfile, uri) Module mako.lookup:283 in _load <http://10.115.0.65:8080/user/create> **self.template_args) Module mako.template:218 in __init__ <http://10.115.0.65:8080/user/create> module = self._compile_from_file(path, filename) Module mako.template:245 in _compile_from_file <http://10.115.0.65:8080/user/create> module = imp.load_source(self.module_id, path, open(path, 'rb')) IOError: [Errno 13] Permission denied: '/home/galaxy/galaxy_dist/database/compiled_templates/user/register.mako.py' extra data<http://10.115.0.65:8080/user/create#extra_data>
full traceback<http://10.115.0.65:8080/user/create#full_traceback> text version<http://10.115.0.65:8080/user/create#text_version> This may be an intermittent problem due to load or other unpredictable factors, reloading the page may address the problem. Any help would be very much appreciated. Sincerely Dallas Thomas
Do you think you may have run Galaxy previously as root (using sudo?). This could potentially create these compiled template files under a different user, preventing a non-root user from overwriting them. In any event, it's safe to `rm -r database/compiled_templates`, and allow them to be regenerated. On Tue, Jan 16, 2018 at 4:00 PM, Thomas, Dallas <Dallas.Thomas@agr.gc.ca> wrote:
Help Please,
So I am feeling a bit dumb right now. I have set-up another local Galaxy test server and have enabled all of the user authentication stuff in the galaxy.ini. I am using nginx for proxy however am not using the external authentication or remote. Every time a user clicks on the User->Register – there is the following error:
Internal Server Error Galaxy was unable to successfully complete your request
URL: http://10.115.0.65:8080/user/create Module galaxy.web.framework.middleware.error:*149* in __call__
<http://10.115.0.65:8080/user/create>app_iter *=* self*.*application *(*environ*,* sr_checker*)* Module paste.recursive:*84* in __call__ <http://10.115.0.65:8080/user/create>*return* self*.*application*(* environ*,* start_response*)* Module paste.httpexceptions:*633* in __call__ <http://10.115.0.65:8080/user/create>*return* self*.*application*(* environ*,* start_response*)* Module galaxy.web.framework.base:*133* in __call__ <http://10.115.0.65:8080/user/create>*return* self*.*handle_request*(* environ*,* start_response *)* Module galaxy.web.framework.base:*191* in handle_request <http://10.115.0.65:8080/user/create>body *=* method*(* trans*,* **** kwargs *)* Module galaxy.webapps.galaxy.controllers.user:*746* in create <http://10.115.0.65:8080/user/create>status*=*status *)* Module galaxy.web.framework.webapp:*810* in fill_template <http://10.115.0.65:8080/user/create>*return* self*.* fill_template_mako*(* filename*,* ****kwargs *)* Module galaxy.web.framework.webapp:*818* in fill_template_mako <http://10.115.0.65:8080/user/create>template *=* template_lookup*.* get_template*(* filename *)* Module mako.lookup:*218* in get_template <http://10.115.0.65:8080/user/create>*return* self*.*_load*(*srcfile *,* uri*)* Module mako.lookup:*283* in _load <http://10.115.0.65:8080/user/create>****self*.*template_args*)* Module mako.template:*218* in __init__ <http://10.115.0.65:8080/user/create>module *=* self*.* _compile_from_file*(*path*,* filename*)* Module mako.template:*245* in _compile_from_file <http://10.115.0.65:8080/user/create>module *=* imp*.*load_source*(* self*.*module_id*,* path*,* open*(*path*,* 'rb'*))* *IOError: [Errno 13] Permission denied: '/home/galaxy/galaxy_dist/database/compiled_templates/user/register.mako.py <http://register.mako.py>'* extra data <http://10.115.0.65:8080/user/create#extra_data>
full traceback <http://10.115.0.65:8080/user/create#full_traceback>
text version <http://10.115.0.65:8080/user/create#text_version>
This may be an intermittent problem due to load or other unpredictable factors, reloading the page may address the problem.
Any help would be very much appreciated.
Sincerely
Dallas Thomas
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/
Hi Dallas, this really does look like a permissions issue, could you please double check who owns that file? Alternatively you can just remove all the *.pyc in Galaxy's folders, it will be recreated with proper permissions during the first run. Thanks for using Galaxy, M. On Tue, Jan 16, 2018 at 4:00 PM Thomas, Dallas <Dallas.Thomas@agr.gc.ca> wrote:
Help Please,
So I am feeling a bit dumb right now. I have set-up another local Galaxy test server and have enabled all of the user authentication stuff in the galaxy.ini. I am using nginx for proxy however am not using the external authentication or remote. Every time a user clicks on the User->Register – there is the following error:
Internal Server Error Galaxy was unable to successfully complete your request
URL: http://10.115.0.65:8080/user/create Module galaxy.web.framework.middleware.error:*149* in __call__
<http://10.115.0.65:8080/user/create>app_iter *=* self*.*application *(*environ*,* sr_checker*)* Module paste.recursive:*84* in __call__ <http://10.115.0.65:8080/user/create>*return* self*.*application*(* environ*,* start_response*)* Module paste.httpexceptions:*633* in __call__ <http://10.115.0.65:8080/user/create>*return* self*.*application*(* environ*,* start_response*)* Module galaxy.web.framework.base:*133* in __call__ <http://10.115.0.65:8080/user/create>*return* self*.*handle_request*(* environ*,* start_response *)* Module galaxy.web.framework.base:*191* in handle_request <http://10.115.0.65:8080/user/create>body *=* method*(* trans*,* **** kwargs *)* Module galaxy.webapps.galaxy.controllers.user:*746* in create <http://10.115.0.65:8080/user/create>status*=*status *)* Module galaxy.web.framework.webapp:*810* in fill_template <http://10.115.0.65:8080/user/create>*return* self*.* fill_template_mako*(* filename*,* ****kwargs *)* Module galaxy.web.framework.webapp:*818* in fill_template_mako <http://10.115.0.65:8080/user/create>template *=* template_lookup*.* get_template*(* filename *)* Module mako.lookup:*218* in get_template <http://10.115.0.65:8080/user/create>*return* self*.*_load*(*srcfile *,* uri*)* Module mako.lookup:*283* in _load <http://10.115.0.65:8080/user/create>****self*.*template_args*)* Module mako.template:*218* in __init__ <http://10.115.0.65:8080/user/create>module *=* self*.* _compile_from_file*(*path*,* filename*)* Module mako.template:*245* in _compile_from_file <http://10.115.0.65:8080/user/create>module *=* imp*.*load_source*(* self*.*module_id*,* path*,* open*(*path*,* 'rb'*))* *IOError: [Errno 13] Permission denied: '/home/galaxy/galaxy_dist/database/compiled_templates/user/register.mako.py <http://register.mako.py>'* extra data <http://10.115.0.65:8080/user/create#extra_data>
full traceback <http://10.115.0.65:8080/user/create#full_traceback>
text version <http://10.115.0.65:8080/user/create#text_version>
This may be an intermittent problem due to load or other unpredictable factors, reloading the page may address the problem.
Any help would be very much appreciated.
Sincerely
Dallas Thomas ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/
participants (3)
-
Dannon Baker
-
Martin Čech
-
Thomas, Dallas