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 peter.briggs(a)manchester.ac.uk
Bioinformatics Core Facility University of Manchester
B.1083 Michael Smith Bldg Tel: (0161) 2751482
Show replies by date