<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-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>
    <blockquote cite="mid:D6273A42.6D6F1%25j.burel@dundee.ac.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <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 moz-do-not-send="true"
href="https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/cli/config.html">https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/cli/config.html</a> </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
            moz-do-not-send="true"
            href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk">ome-users-bounces@lists.openmicroscopy.org.uk</a>>
          on behalf of Olivier Miquel <<a moz-do-not-send="true"
            href="mailto:olivier.miquel@mri.cnrs.fr">olivier.miquel@mri.cnrs.fr</a>><br>
          <span style="font-weight:bold">Reply-To: </span>OME User
          Support List <<a moz-do-not-send="true"
            href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.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
            moz-do-not-send="true"
            href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>"
          <<a moz-do-not-send="true"
            href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.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 moz-do-not-send="true"
              class="moz-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">https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/unix/install-web/walkthrough/omeroweb-install-with-server-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.server/lib/python/omeroweb/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.server/lib/python/omero/cli.py", line 1613, in argv
    cli.invoke(args[1:])
  File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/cli.py", line 1088, in invoke
    stop = self.onecmd(line, previous_args)
  File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/cli.py", line 1165, in onecmd
    self.execute(line, previous_args)
  File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/cli.py", line 1247, in execute
    args.func(args)
  File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/install/windows_warning.py", line 26, in wrapper
    return func(self, *args, **kwargs)
  File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/plugins/web.py", line 81, in wrapper
    return func(self, *args, **kwargs)
  File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/plugins/web.py", line 601, in start
    rv = self.ctx.popen(args=runserver, cwd=location)  # popen
  File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/cli.py", line 1338, in popen
    stdout=stdout, stderr=stderr)
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
<b>OSError: [Errno 2] No such file or directory</b>

------------

OUTPUT of omero diagnostics :
================================================================================
OMERO Diagnostics (admin) 5.4.0-ice36-b74
================================================================================
        
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.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=(unset)           
Environment:OMERO_USERDIR=(unset)          
Environment:OMERO_TMPDIR=(unset)           
Environment:PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
Environment:PYTHONPATH=(unset)             
Environment:ICE_HOME=(unset)               
Environment:LD_LIBRARY_PATH=(unset)        
Environment:DYLD_LIBRARY_PATH=(unset)      

OMERO SSL port:4064                           
OMERO TCP port:4063                           
OMERO data dir:'/home/omero/apps/OMERO/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:+IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index}              -Xmx3686m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index}            -Xmx3686m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index}           -Xmx3686m -XX:MaxPermSize=1g -XX:+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="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ome-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a>
</pre>
    </blockquote>
    <br>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Olivier Miquel
Administrateur Système et Réseau
Plate-forme technologique MRI
Tel : 06.50.19.27.43
<a class="moz-txt-link-abbreviated" href="mailto:Mail:olivier.miquel@mri.cnrs.fr">Mail:olivier.miquel@mri.cnrs.fr</a></pre>
  </body>
</html>