<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body 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="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><b>
</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>
  </body>
</html>