We're Hiring!

Nginx Gunicorn - error arg type invalid choice nginx-wsgi

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Nginx Gunicorn - error arg type invalid choice nginx-wsgi

Postby rhamedy » Mon Nov 16, 2015 1:18 pm

Hi All,

As a part of upgrade from OMERO 5.1.4 to 5.2.0 we installed Gunicorn 19.3.0 as well as upgraded Django to 1.8 (LTS) from 1.6. I am following instructions in https://www.openmicroscopy.org/site/support/omero5.1/sysadmins/unix/install-web/install-wsgi.html to create Gunicorn Nginx Configuration but, I get error when executing the following command:
Code: Select all
$ bin/omero web config nginx-wsgi

I get the following error
Gunicorn.PNG
Argument type Invalid choice nginx-wsgi
Gunicorn.PNG (8.04 KiB) Viewed 1729 times

What am I missing? OMERO web config does not recognize "nginx-wsgi" param and expects me to use either apache, nginx, nginx-development as arg.

Raf.
rhamedy
 
Posts: 17
Joined: Mon Nov 02, 2015 10:27 am

Re: Nginx Gunicorn - error arg type invalid choice nginx-wsg

Postby jmoore » Mon Nov 16, 2015 1:29 pm

Hi Raf,

you'll need to look at the 5.2 documentation:


which points to just using "web config nginx".

Cheers,
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Nginx Gunicorn - error arg type invalid choice nginx-wsg

Postby rhamedy » Mon Nov 16, 2015 2:17 pm

Thank you Josh.

I was looking in the wrong place. I had to update the omero-web.config in nginx with bin/omer web config content and I can now see the web interface.

Raf.
rhamedy
 
Posts: 17
Joined: Mon Nov 02, 2015 10:27 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest