User Registration Error

classic Classic list List threaded Threaded
3 messages Options
| Threaded
Open this post in threaded view
|

User Registration Error

ThomasD

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__
>>  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:133 in __call__
>>  return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:191 in handle_request
>>  body = method( trans, **kwargs )
Module galaxy.webapps.galaxy.controllers.user:746 in create
>>  status=status )
Module galaxy.web.framework.webapp:810 in fill_template
>>  return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:818 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: '/home/galaxy/galaxy_dist/database/compiled_templates/user/register.mako.py'
extra data


full traceback

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/
| Threaded
Open this post in threaded view
|

Re: User Registration Error

Dannon Baker-2
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 <[hidden email]> 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__
>>  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:133 in __call__
>>  return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:191 in handle_request
>>  body = method( trans, **kwargs )
Module galaxy.webapps.galaxy.controllers.user:746 in create
>>  status=status )
Module galaxy.web.framework.webapp:810 in fill_template
>>  return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:818 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: '/home/galaxy/galaxy_dist/database/compiled_templates/user/register.mako.py'
extra data


full traceback

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/


___________________________________________________________
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/
| Threaded
Open this post in threaded view
|

Re: User Registration Error

Martin Čech
In reply to this post by ThomasD
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 <[hidden email]> 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__
>>  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:133 in __call__
>>  return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:191 in handle_request
>>  body = method( trans, **kwargs )
Module galaxy.webapps.galaxy.controllers.user:746 in create
>>  status=status )
Module galaxy.web.framework.webapp:810 in fill_template
>>  return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:818 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: '/home/galaxy/galaxy_dist/database/compiled_templates/user/register.mako.py'
extra data


full traceback

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/

___________________________________________________________
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/