Problems running reporting app with reports.yml using --daemon

classic Classic list List threaded Threaded
1 message Options
| Threaded
Open this post in threaded view
|

Problems running reporting app with reports.yml using --daemon

Peter Briggs
Dear devs

I'm trying to update my ansible playbooks for deploying Galaxy and I'm having problems when trying to run the reporting app in release_17.09 using a 'reports.yml' file (rather than 'reports.ini'), when specifying the --daemon option.

Running without any arguments, the application appears to start okay - but if I do

sh ./run_reports.sh --daemon

then it exits with the error:

/XXXXX/galaxy/.venv/bin/python: unrecognized option '--safe-pidfile'
getopt_long() error

This seems to be coming from the invocation of uwsgi within the run_reports.sh script, and looks like an issue with Galaxy's version of uWSGI: version 2.0.15 (as specified in the requirements.txt file) doesn't support the '--safe-pidfile' option (that needs uWSGI 2.0.16). Editing requirements.txt to use 2.0.16 seems to address this issue (as in, --daemon no longer fails on startup).

Has anyone else encountered this issue? My ultimate goal is to be able to serve the uwsgi-based reports app via an nginx proxy (which used to work with the old i.e. non-uwsgi reports.ini-configured version).

Thanks for your help,

Peter

--
Peter Briggs [hidden email]
Bioinformatics Core Facility University of Manchester
B.1083 Michael Smith Bldg Tel: (0161) 2751482

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