<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Thanks for the reply ola </div>
<div>I did have 1.4 cos I installed using >=1.9.3 (as in docs) </div>
<div><br>
</div>
<div>Corrected that and now have </div>
<div>
<div>pip freeze | grep gunicorn</div>
<div>gunicorn==19.3.0</div>
</div>
<div><br>
</div>
<div>But now get this </div>
<div><br>
</div>
<div>
<div>(venv)[omero@lslapome01 ~]$ OMERO.server/bin/omero --debug=debug web start</div>
<div>Executing: ['/home/omero/venv/bin/python', 'manage.py', 'collectstatic', '--noinput']</div>
<div>Post-processed 'omeroweb.viewer.min.css' as 'omeroweb.viewer.min.css'</div>
<div>Post-processed 'omeroweb.viewer.min.js' as 'omeroweb.viewer.min.js'</div>
<div><br>
</div>
<div>0 static files copied to '/home/omero/OMERO.server/lib/python/omeroweb/static', 618 unmodified, 2 post-processed.</div>
<div>Clearing expired sessions. This may take some time... Executing: ['/home/omero/venv/bin/python', 'manage.py', 'clearsessions']</div>
<div>[OK]</div>
<div>Starting OMERO.web... Returning popen: [u'gunicorn', u'-D', u'-p', u'/home/omero/OMERO.server/var/django.pid', u'--bind', u'127.0.0.1:4080', u'--workers', u'5', u'--threads', u'1', u'--timeout', u'60', u'--max-requests', u'0', u'omeroweb.wsgi:application']</div>
<div>[OK]</div>
<div>(venv)[omero@lslapome01 ~]$ OMERO.server/bin/omero --debug=debug web status</div>
<div>OMERO.web status... [ERROR] OMERO.web workers (PID 10571) - no such process. Use `ps aux | grep /home/omero/OMERO.server/var/django.pid` and kill stale processes by hand.</div>
<div>[NOT STARTED]</div>
</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Cannot find any processes – like status so I assume it starts and dies immediately??</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Shaun</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>ome-users <<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk">ome-users-bounces@lists.openmicroscopy.org.uk</a>> on behalf of "Aleksandra Tarkowska (Staff)" <<a href="mailto:A.Tarkowska@dundee.ac.uk">A.Tarkowska@dundee.ac.uk</a>><br>
<span style="font-weight:bold">Reply-To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, 28 April 2016 at 15:14<br>
<span style="font-weight:bold">To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [ome-users] Helping debugging web access<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Shaun<br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">Which gunicorn version you have installed?</div>
<div class=""><br class="">
</div>
<div class="">It has to be 19.3+</div>
<div class=""><br class="">
</div>
<div class="">you can check by `pip freeze | grep gunicorn`</div>
<div class="">
<div apple-content-edited="true" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="Apple-interchange-newline">
Ola</div>
<div apple-content-edited="true" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Software Engineer</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Open Microscopy Environment</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
University of Dundee</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 28 Apr 2016, at 09:14, Shaun Hare <<a href="mailto:Shaun.Hare@nottingham.ac.uk" class="">Shaun.Hare@nottingham.ac.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">With the great support of this list and the documentation we have our install of omero up and runnign and can connect with clients not a problem</div>
<div class=""><br class="">
</div>
<div class="">However the web side does not seem to want to start (see below)</div>
<div class=""><br class="">
</div>
<div class="">Could anyone suggest where to look to do further debugging – the log at var/log/OMEROweb.log </div>
<div class="">Just yields a django deprecation warning</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">OMERO.server/bin/omero --debug=debug web start</div>
<div class="">Executing: ['/home/omero/venv/bin/python', 'manage.py', 'collectstatic', '--noinput']</div>
<div class="">Post-processed 'omeroweb.viewer.min.css' as 'omeroweb.viewer.min.css'</div>
<div class="">Post-processed 'omeroweb.viewer.min.js' as 'omeroweb.viewer.min.js'</div>
<div class=""><br class="">
</div>
<div class="">0 static files copied to '/home/omero/OMERO.server/lib/python/omeroweb/static', 618 unmodified, 2 post-processed.</div>
<div class="">Clearing expired sessions. This may take some time... Executing: ['/home/omero/venv/bin/python', 'manage.py', 'clearsessions']</div>
<div class="">[OK]</div>
<div class="">Starting OMERO.web... Returning popen: [u'gunicorn', u'-D', u'-p', u'/home/omero/OMERO.server/var/django.pid', u'--bind', u'127.0.0.1:4080', u'--workers', u'5', u'--threads', u'1', u'--timeout', u'60', u'--max-requests', u'0', u'omeroweb.wsgi:application']</div>
<div class="">[OK]</div>
<div class="">(venv)[omero@lslapome01 ~]$ OMERO.server/bin/omero --debug=debug web status</div>
<div class="">OMERO.web status... [NOT STARTED]</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">We are using nginx – it is running OK – but of course complains about upstream server not being available. </div>
<div class=""><br class="">
</div>
<div class="">I have turned off (temporarily SELinux and Firewall) </div>
<div class=""><br class="">
</div>
<div class="">Appreciate any further advice anyone can offer</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Shaun</div>
<div class="">
<div id="" class=""></div>
</div>
<pre class="">This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
</pre>
</div>
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span></div>
</div>
</span>
<PRE>


This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
</PRE></body>
</html>