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