<div dir="ltr">Hi Jean-Marie,<div><br></div><div><div>On another note, perhaps it might be worth mentioning in the docs that on Debian you should install Gunicorn as a Debian package. This page</div><div><br></div><div>* <a href="https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/unix/install-web/web-deployment.html">https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/unix/install-web/web-deployment.html</a><br></div><div><br></div><div>mentions Omero.Web can be deployed with Nginx and Gunicorn, but then the Debian 9 installation walkthrough page</div><div><br></div><div>* <a href="https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/unix/install-web/walkthrough/omeroweb-install-with-server-debian-ice3.6.html">https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/unix/install-web/walkthrough/omeroweb-install-with-server-debian-ice3.6.html</a></div></div><div><br></div><div>only says to install Nginx. If we may suggest a small improvement, that would be to change these two lines</div><div><br></div><div><p style="text-align:justify;line-height:23.4px;color:rgb(55,71,79);font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px">Install NGINX:</p><div class="gmail-highlight-python" style="color:rgb(55,71,79);font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px"><div class="gmail-highlight" style="background:rgb(238,255,204)"><pre style="overflow-x:auto;overflow-y:hidden;padding:5px;background-color:rgb(236,239,241);color:rgb(69,90,100);line-height:18px;border-top:1px solid rgb(170,204,153);border-bottom:1px solid rgb(170,204,153);border-left:none;border-right:none">apt-get -y install nginx</pre></div></div></div><div><br></div><div>into:</div><div><br></div><div><div><p style="text-align:justify;line-height:23.4px;color:rgb(55,71,79);font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px">Install NGINX and Gunicorn:</p><div class="gmail-highlight-python" style="color:rgb(55,71,79);font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px"><div class="gmail-highlight" style="background:rgb(238,255,204)"><pre style="overflow-x:auto;overflow-y:hidden;padding:5px;background-color:rgb(236,239,241);color:rgb(69,90,100);line-height:18px;border-top:1px solid rgb(170,204,153);border-bottom:1px solid rgb(170,204,153);border-left:none;border-right:none">apt-get -y install nginx gunicorn</pre></div></div></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards</div><div class="gmail_extra"><br></div><div class="gmail_extra">/a</div><div class="gmail_extra"><br><div class="gmail_quote">On 7 November 2017 at 12:00, Olivier Miquel <span dir="ltr"><<a href="mailto:olivier.miquel@mri.cnrs.fr" target="_blank">olivier.miquel@mri.cnrs.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="m_-1867853357430644472moz-cite-prefix">Hi Jean-Marie,<br>
<br>
We just managed to find the cause.<br>
The gunicorn command was not found for the omero system user.<br>
<br>
We just installed it via the debian packaging system for the whole
system and now OMERO.web starts and seems to runs fine.<br>
<br>
Basically :<br>
aptitude install gunicorn <br>
<br>
Thanks for the reply.<br>
<br>
O.<div><div class="h5"><br>
<br>
<br>
On 07/11/2017 11:33, Jean-Marie Burel (Staff) wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div>Hi Olivier</div>
<div><br>
</div>
<div>Sorry to hear that OMERO.web does not start</div>
<div><br>
</div>
<div>Will it be possible to paste us your configuration for
OMERO.server/web and nginx?</div>
<div>See <a href="https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/cli/config.html" target="_blank">https://docs.<wbr>openmicroscopy.org/omero/5.4.<wbr>0/sysadmins/cli/config.html</a> </div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Jmarie</div>
<div><br>
</div>
<span id="m_-1867853357430644472OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;font-size:11pt;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" target="_blank">ome-users-bounces@lists.<wbr>openmicroscopy.org.uk</a>>
on behalf of Olivier Miquel <<a href="mailto:olivier.miquel@mri.cnrs.fr" target="_blank">olivier.miquel@mri.cnrs.fr</a>><br>
<span style="font-weight:bold">Reply-To: </span>OME User
Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.<wbr>openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Date: </span>Monday, 6
November 2017 at 16:00<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.<wbr>openmicroscopy.org.uk</a>"
<<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.<wbr>openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Subject: </span>[ome-users]
Omero web update problem<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">Hi,<br>
<br>
We are trying to migrate our omero 5.2.2 server in the newer
5.4.0 version.<br>
<br>
The upgrade of the OMERO.server part went fine so far ( from
5.2.2 to 5.3.5 then 5.3.5 to 5.4.0).
<br>
It starts and i can connect using the newer Insight client.<br>
<br>
However OMERO.web won't start, even after i disabled all the
web apps. <br>
<br>
I want to follow this procedure ( server + omero web on same
machine ) : <a class="m_-1867853357430644472moz-txt-link-freetext" href="https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/unix/install-web/walkthrough/omeroweb-install-with-server-debian-ice3.6.html" target="_blank">https://docs.openmicroscopy.<wbr>org/omero/5.4.0/sysadmins/<wbr>unix/install-web/walkthrough/<wbr>omeroweb-install-with-server-<wbr>debian-ice3.6.html</a><br>
<br>
If someone could give me a clue where to search, it would be
nice. <br>
<br>
When i try to start OMERO.web it i got this error:<br>
<pre># sudo -u omero OMERO.server/bin/omero web start
Post-processed 'omeroweb.viewer.min.css' as 'omeroweb.viewer.min.css'
Post-processed 'omeroweb.viewer.min.js' as 'omeroweb.viewer.min.js'
0 static files copied to '/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omeroweb/<wbr>static', 606 unmodified, 2 post-processed.
Clearing expired sessions. This may take some time... [OK]
Starting OMERO.web... Traceback (most recent call last):
File "OMERO.server/bin/omero", line 125, in <module>
rv = omero.cli.argv()
File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1613, in argv
cli.invoke(args[1:])
File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1088, in invoke
stop = self.onecmd(line, previous_args)
File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1165, in onecmd
self.execute(line, previous_args)
File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1247, in execute
args.func(args)
File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/<wbr>install/windows_warning.py", line 26, in wrapper
return func(self, *args, **kwargs)
File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/<wbr>plugins/web.py", line 81, in wrapper
return func(self, *args, **kwargs)
File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/<wbr>plugins/web.py", line 601, in start
rv = self.ctx.popen(args=runserver, cwd=location) # popen
File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1338, in popen
stdout=stdout, stderr=stderr)
File "/usr/lib/python2.7/<wbr>subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib/python2.7/<wbr>subprocess.py", line 1024, in _execute_child
raise child_exception
<b>OSError: [Errno 2] No such file or directory</b>
------------
OUTPUT of omero diagnostics :
==============================<wbr>==============================<wbr>====================
OMERO Diagnostics (admin) 5.4.0-ice36-b74
==============================<wbr>==============================<wbr>====================
Commands: java -version 1.8.0 (/usr/bin/java)
Commands: python -V 2.7.13 (/usr/bin/python)
Commands: icegridnode --version 3.6.3 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.6.3 (/usr/bin/icegridadmin)
Commands: psql --version 9.6.4 (/usr/bin/psql)
Server: icegridnode running
Server: Blitz-0 active (pid = 19312, enabled)
Server: DropBox active (pid = 21514, enabled)
Server: FileServer active (pid = 21518, enabled)
Server: Indexer-0 active (pid = 19339, enabled)
Server: MonitorServer active (pid = 21517, enabled)
Server: OMERO.Glacier2 active (pid = 19343, enabled)
Server: OMERO.IceStorm active (pid = 19345, enabled)
Server: PixelData-0 active (pid = 19347, enabled)
Server: Processor-0 active (pid = 21521, enabled)
Server: Tables-0 active (pid = 21515, enabled)
Server: TestDropBox inactive (enabled)
Log dir: /home/omero/apps/OMERO/OMERO.<wbr>server-5.4.0-ice36-b74/var/log exists
Log files: Blitz-0.log 2.0 MB errors=18 warnings=5
Log files: DropBox.log 7.0 KB errors=0 warnings=2
Log files: FileServer.log 0.0 KB
Log files: Indexer-0.log 9.0 KB
Log files: MonitorServer.log 4.0 KB
Log files: OMEROweb.lock 0.0 KB
Log files: OMEROweb.log 1.0 KB errors=0 warnings=6
Log files: PixelData-0.log 10.0 KB
Log files: Processor-0.log 141.0 KB errors=0 warnings=17
Log files: Tables-0.log 5.0 KB errors=0 warnings=1
Log files: TestDropBox.log n/a
Log files: master.err 4.0 KB errors=2 warnings=2
Log files: master.out 0.0 KB
Log files: Total size 2.42 MB
Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(<wbr>unset)
Environment:OMERO_USERDIR=(<wbr>unset)
Environment:OMERO_TMPDIR=(<wbr>unset)
Environment:PATH=/usr/local/<wbr>sbin:/usr/local/bin:/usr/sbin:<wbr>/usr/bin:/sbin:/bin
Environment:PYTHONPATH=(unset)
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(<wbr>unset)
Environment:DYLD_LIBRARY_PATH=<wbr>(unset)
OMERO SSL port:4064
OMERO TCP port:4063
OMERO data dir:'/home/omero/apps/OMERO/<wbr>OMERO.data' Exists? True Is writable? True
OMERO temp dir:'/home/omero/omero/tmp' Exists? True Is writable? True (Size: 0)
JVM settings: Blitz-${index} -Xmx13516m -XX:MaxPermSize=1g -XX:+<wbr>IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index} -Xmx3686m -XX:MaxPermSize=1g -XX:+<wbr>IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index} -Xmx3686m -XX:MaxPermSize=1g -XX:+<wbr>IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index} -Xmx3686m -XX:MaxPermSize=1g -XX:+<wbr>IgnoreUnrecognizedVMOptions
</pre>
<br>
<br>
<br>
<br>
<br>
</div>
</div>
</span><br>
<span style="font-size:10pt">The University of Dundee is a
registered Scottish Charity, No: SC015096</span>
<br>
<fieldset class="m_-1867853357430644472mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
ome-users mailing list
<a class="m_-1867853357430644472moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.<wbr>openmicroscopy.org.uk</a>
<a class="m_-1867853357430644472moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.<wbr>org.uk/mailman/listinfo/ome-<wbr>users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<p><br>
</p>
<pre class="m_-1867853357430644472moz-signature" cols="72">--
Olivier Miquel
Administrateur Système et Réseau
Plate-forme technologique MRI
Tel : 06.50.19.27.43
<a class="m_-1867853357430644472moz-txt-link-abbreviated" href="mailto:Mail:olivier.miquel@mri.cnrs.fr" target="_blank">Mail:olivier.miquel@mri.cnrs.<wbr>fr</a></pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.<wbr>openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.<wbr>org.uk/mailman/listinfo/ome-<wbr>users</a><br>
<br></blockquote></div><br></div></div>