<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hi Jens</div>
<div><br>
</div>
<div>Do you see anything relevant in your OMERO.web log (var/log/OMEROweb.log) and nginx logs (access.log, error.log) whilst logging in? If there's nothing could you temporarily enable debug logs (<span style="font-family:monospace,monospace">omero config set
 omero.web.debug True</span>) and see if there's any more information in OMEROweb.log. If that doesn't help could you activate your web virtualenv in a terminal and attempt to connect to your server using bin/omero login?</div>
<div><br>
</div>
<div>Simon<br>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, 30 Oct 2018 at 10:45, Jens Eriksson <<a href="mailto:jenseri@gmail.com">jenseri@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello, 
<div><br>
</div>
<div>I have recently installed OMERO.server 5.4.9 on an Ubuntu 16.04 system. The server works as intended with the default ports open. OMERO-insight can be used to connect to and administer the server as normal.</div>
<div><br>
</div>
<div>I have also installed OMERO.web separately from OMERO.server in a virtualenv, as described
<a href="https://docs.openmicroscopy.org/omero/5.4.9/sysadmins/unix/install-web/walkthrough/omeroweb-install-ubuntu-ice3.6.html" target="_blank">
here</a>. I can connect to the OMERO.web login page (my.serverip/omero), but entering a correct username and pass simply reloads the page. If the server is down, then the OMERO.web login page displays the "cannot connect to server"-message. Also, if I enter
 the wrong password and/or user then the login page displays: "<span style="background-color:rgb(244,245,245);color:rgb(227,100,111);font-family:Helvetica,Arial,sans-serif;font-size:11px;text-align:center">Error: Connection not available, please check your
 user name and password."</span></div>
<div><br>
</div>
It seems like OMERO.web is in communication with the OMERO.server, but that something is not configured correctly when going from the login in to the rest of OMERO.web.
<div><br>
</div>
<div>OMERO.server/bin/omero admin diagnostics:</div>
<div><br>
</div>
<div>
<div>================================================================================</div>
<div>OMERO Diagnostics (admin) 5.4.9-ice36-b101</div>
<div>================================================================================</div>
<div><br>
</div>
<div>Commands:   java -version                  1.8.0     (/usr/bin/java)</div>
<div>Commands:   python -V                      2.7.12    (/usr/bin/python)</div>
<div>Commands:   icegridnode --version          3.6.4     (/usr/bin/icegridnode)</div>
<div>Commands:   icegridadmin --version         3.6.4     (/usr/bin/icegridadmin)</div>
<div>Commands:   psql --version                 9.6.10    (/usr/bin/psql)</div>
<div><br>
</div>
<div>Server:     icegridnode                    not started</div>
<div><br>
</div>
<div>Log dir:    /home/omero/OMERO.server/var/log exists</div>
<div>Log files:  Blitz-0.log                    217.0 MB      errors=39   warnings=3111</div>
<div>Log files:  DropBox.log                    25.0 KB       errors=0    warnings=10</div>
<div>Log files:  FileServer.log                 3.0 KB</div>
<div>Log files:  Indexer-0.log                  365.0 KB</div>
<div>Log files:  MonitorServer.log              13.0 KB</div>
<div>Log files:  OMEROweb.lock                  0.0 KB</div>
<div>Log files:  OMEROweb.log                   0.0 KB        errors=0    warnings=1</div>
<div>Log files:  PixelData-0.log                301.0 KB      errors=42   warnings=4</div>
<div>Log files:  Processor-0.log                1.0 MB        errors=0    warnings=5</div>
<div>Log files:  Tables-0.log                   17.0 KB       errors=0    warnings=6</div>
<div>Log files:  TestDropBox.log                n/a</div>
<div>Log files:  master.err                     13.0 KB       errors=7    warnings=11</div>
<div>Log files:  master.out                     0.0 KB</div>
<div>Log files:  Total size                     218.93 MB</div>
<div><br>
</div>
<div><br>
</div>
<div>Environment:OMERO_HOME=(unset)</div>
<div>Environment:OMERO_NODE=(unset)</div>
<div>Environment:OMERO_MASTER=(unset)</div>
<div>Environment:OMERO_USERDIR=(unset)</div>
<div>Environment:OMERO_TMPDIR=(unset)</div>
<div>Environment:PATH=/home/omero/bin:/home/omero/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin</div>
<div>Environment:PYTHONPATH=(unset)</div>
<div>Environment:ICE_HOME=(unset)</div>
<div>Environment:LD_LIBRARY_PATH=(unset)</div>
<div>Environment:DYLD_LIBRARY_PATH=(unset)</div>
<div><br>
</div>
<div>Cannot list deployed applications.</div>
<div>OMERO data dir:'/tank/OMERO'                  Exists? True      Is writable? True</div>
<div>OMERO temp dir:'/home/omero/omero/tmp'        Exists? True      Is writable? True   (Size: 0)</div>
<div><br>
</div>
<div>JVM settings: Blitz-${index}                -Xmx7200m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions</div>
<div>JVM settings: Indexer-${index}              -Xmx4800m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions</div>
<div>JVM settings: PixelData-${index}            -Xmx7200m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions</div>
<div>JVM settings: Repository-${index}           -Xmx4800m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions</div>
<div><br>
</div>
<div>OMERO.py/bin/omero config get:</div>
<div><br>
</div>
<div>
<div>omero.web.application_server=wsgi-tcp</div>
<div>omero.web.application_server.max_requests=500</div>
<div>omero.web.apps=["omero_figure", "omero_iviewer"]</div>
<div>omero.web.debug=False</div>
<div>omero.web.middleware=[{"index": 1, "class": "django.middleware.common.BrokenLinkEmailsMiddleware"}, {"index": 2, "class": "django.middleware.common.CommonMiddleware"}, {"index": 3, "class": "django.contrib.sessions.middleware.SessionMiddleware"}, {"index":
 4, "class": "django.middleware.csrf.CsrfViewMiddleware"}, {"index": 5, "class": "django.contrib.messages.middleware.MessageMiddleware"}, {"index": 0, "class": "whitenoise.middleware.WhiteNoiseMiddleware"}]</div>
<div>omero.web.open_with=[["Image viewer", "webgateway", {"supported_objects": ["image"], "script_url": "webclient/javascript/ome.openwith_viewer.js"}], ["omero_figure", "new_figure", {"supported_objects": ["images"], "target": "_blank", "label": "OMERO.figure"}]]</div>
<div>omero.web.prefix=/omero</div>
<div>omero.web.session_engine=django.contrib.sessions.backends.cache</div>
<div>omero.web.static_url=/omero/static/</div>
<div>omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}], ["History", "history", {"title": "History"}], ["Help", "<a href="https://help.openmicroscopy.org/" target="_blank">https://help.openmicroscopy.org/</a>", {"target":
 "new", "title": "Open OMERO user guide in a new tab"}], ["Figure", "figure_index", {"target": "_blank", "title": "Open Figure in new tab"}]]</div>
<div>omero.web.viewer.view=omero_iviewer.views.index</div>
</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>Thank you and have a nice day!</div>
<div><br>
</div>
<div>Jens Eriksson</div>
<div>Sellin Imaging Plattform</div>
<div>Uppsala University</div>
<div><br>
</div>
</div>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</blockquote>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>