<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</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>Hi Andrea and Olivier</div>
<div>Thanks for the detailed information and the suggestion for the documentation</div>
<div>We will clarify the documentation</div>
<div><br>
</div>
<div>I am glad that you have everything working</div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Jmarie</div>
<div><br>
</div>
<span id="OLK_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">ome-users-bounces@lists.openmicroscopy.org.uk</a>> on behalf of Andrea Falconi <<a href="mailto:andrea.falconi@gmail.com">andrea.falconi@gmail.com</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>Tuesday, 7 November 2017 at 12:32<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] Omero web update problem<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi Jean-Marie,
<div><br>
</div>
<div>Yes, Gunicorn does get installed through `pip` but then it isn't available in the user's path as Olivier pointed out earlier. The problem is that `lib/python/.../web.py` expects `gunicorn` to be in the path. In our case, this line gets hit:</div>
<div><br>
</div>
<div><a href="https://github.com/openmicroscopy/openmicroscopy/blob/develop/components/tools/OmeroPy/src/omero/plugins/web.py#L601">https://github.com/openmicroscopy/openmicroscopy/blob/develop/components/tools/OmeroPy/src/omero/plugins/web.py#L601</a></div>
<div><br>
</div>
<div>which builds this command:</div>
<div><br>
</div>
<div><span style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont;font-size:15px">gunicorn -D -p '/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/var/django.pid' --bind
<a href="http://127.0.0.1:4080">127.0.0.1:4080</a> --workers 11 --threads 1 --timeout 60 --max-requests 500 omeroweb.wsgi:application</span></div>
<div><br>
</div>
<div>Hope this helps.</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>/a </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 7 November 2017 at 12:03, Jean-Marie Burel (Staff) <span dir="ltr">
<<a href="mailto:j.burel@dundee.ac.uk" target="_blank">j.burel@dundee.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi oliver</div>
<div><br>
</div>
<div>Glad that you managed to sort it out</div>
<div><br>
</div>
<div>Gunicorn should have been installed during the following step</div>
<div> <span style="color:rgb(69,90,100);background-color:rgb(236,239,241)">pip install -r OMERO.server/share/web/<wbr>requirements-py27.txt</span></div>
<div>Was it not the case?</div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Jmarie</div>
<div><br>
</div>
<div><br>
</div>
<span id="m_-3167524376518263495OLK_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 class=""><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><span style="font-weight:bold">Date: </span>Tuesday, 7 November 2017 at 12: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>Re: [ome-users] Omero web update problem<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div class="h5">
<div class="m_-3167524376518263495moz-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.<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_-3167524376518263495OLK_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_-3167524376518263495moz-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_-3167524376518263495mimeAttachmentHeader"></fieldset> <br>
</div>
</div>
<pre>______________________________<wbr>_________________
ome-users mailing list
<a class="m_-3167524376518263495moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.<wbr>openmicroscopy.org.uk</a><a class="m_-3167524376518263495moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://<wbr>lists.openmicroscopy.org.uk/<wbr>mailman/listinfo/ome-users</a></pre>
</blockquote>
<span class=""><br>
<p><br>
</p>
<pre class="m_-3167524376518263495moz-signature" cols="72">--
Olivier Miquel
Administrateur Système et Réseau
Plate-forme technologique MRI
Tel : 06.50.19.27.43
<a class="m_-3167524376518263495moz-txt-link-abbreviated" href="mailto:Mail:olivier.miquel@mri.cnrs.fr" target="_blank">Mail:olivier.miquel@mri.cnrs.<wbr>fr</a></pre>
</span></div>
</div>
</span><br>
<span class=""><span style="font-size:10pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span></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>
</div>
</span><br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>