[ome-users] OMERO.web login problem

Jens Eriksson jenseri at gmail.com
Tue Oct 30 10:45:24 GMT 2018


Hello,

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.

I have also installed OMERO.web separately from OMERO.server in a
virtualenv, as described here
<https://docs.openmicroscopy.org/omero/5.4.9/sysadmins/unix/install-web/walkthrough/omeroweb-install-ubuntu-ice3.6.html>.
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: "Error: Connection not available, please check your
user name and password."

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.

OMERO.server/bin/omero admin diagnostics:

================================================================================
OMERO Diagnostics (admin) 5.4.9-ice36-b101
================================================================================

Commands:   java -version                  1.8.0     (/usr/bin/java)
Commands:   python -V                      2.7.12    (/usr/bin/python)
Commands:   icegridnode --version          3.6.4     (/usr/bin/icegridnode)
Commands:   icegridadmin --version         3.6.4     (/usr/bin/icegridadmin)
Commands:   psql --version                 9.6.10    (/usr/bin/psql)

Server:     icegridnode                    not started

Log dir:    /home/omero/OMERO.server/var/log exists
Log files:  Blitz-0.log                    217.0 MB      errors=39
 warnings=3111
Log files:  DropBox.log                    25.0 KB       errors=0
warnings=10
Log files:  FileServer.log                 3.0 KB
Log files:  Indexer-0.log                  365.0 KB
Log files:  MonitorServer.log              13.0 KB
Log files:  OMEROweb.lock                  0.0 KB
Log files:  OMEROweb.log                   0.0 KB        errors=0
warnings=1
Log files:  PixelData-0.log                301.0 KB      errors=42
 warnings=4
Log files:  Processor-0.log                1.0 MB        errors=0
warnings=5
Log files:  Tables-0.log                   17.0 KB       errors=0
warnings=6
Log files:  TestDropBox.log                n/a
Log files:  master.err                     13.0 KB       errors=7
warnings=11
Log files:  master.out                     0.0 KB
Log files:  Total size                     218.93 MB


Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_USERDIR=(unset)
Environment:OMERO_TMPDIR=(unset)
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
Environment:PYTHONPATH=(unset)
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)

Cannot list deployed applications.
OMERO data dir:'/tank/OMERO'                  Exists? True      Is
writable? True
OMERO temp dir:'/home/omero/omero/tmp'        Exists? True      Is
writable? True   (Size: 0)

JVM settings: Blitz-${index}                -Xmx7200m -XX:MaxPermSize=1g
-XX:+IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index}              -Xmx4800m -XX:MaxPermSize=1g
-XX:+IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index}            -Xmx7200m -XX:MaxPermSize=1g
-XX:+IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index}           -Xmx4800m -XX:MaxPermSize=1g
-XX:+IgnoreUnrecognizedVMOptions

OMERO.py/bin/omero config get:

omero.web.application_server=wsgi-tcp
omero.web.application_server.max_requests=500
omero.web.apps=["omero_figure", "omero_iviewer"]
omero.web.debug=False
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"}]
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"}]]
omero.web.prefix=/omero
omero.web.session_engine=django.contrib.sessions.backends.cache
omero.web.static_url=/omero/static/
omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via
Projects, Tags etc"}], ["History", "history", {"title": "History"}],
["Help", "https://help.openmicroscopy.org/", {"target": "new", "title":
"Open OMERO user guide in a new tab"}], ["Figure", "figure_index",
{"target": "_blank", "title": "Open Figure in new tab"}]]
omero.web.viewer.view=omero_iviewer.views.index


Thank you and have a nice day!

Jens Eriksson
Sellin Imaging Plattform
Uppsala University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20181030/dedd2f7f/attachment.html>


More information about the ome-users mailing list