Omero web issue

Hi,
After update (again) and restart the server I can’t connect to omero server with web application. The omero insight application is working. I got the correct web login page, however when I click on login button the client start something but go back to the login page ???
The OMEROweb.log file seems correct :
2021-02-26 11:35:10,424 INFO [ omeroweb.webclient.views] (proc.03200) ():134 INIT ‘3200’
2021-02-26 11:35:10,433 INFO [ root] (proc.03200) process_custom_settings():1207 Process
ing custom settings for module omeroweb.api.api_settings
2021-02-26 11:35:22,810 INFO [ omeroweb.webclient.views] (proc.03252) ():134 INIT ‘3252’
2021-02-26 11:35:22,819 INFO [ root] (proc.03252) process_custom_settings():1207 Process
ing custom settings for module omeroweb.api.api_settings
2021-02-26 11:35:22,921 INFO [ omero.gateway] (proc.03252) connect():2274 created connection (uui
d=e6954ee9-a044-492e-820c-da3df99cd97d)
2021-02-26 11:35:22,927 INFO [ omeroweb.connector] (proc.03252) check_version():248 Client version: ‘[
‘5’, ‘8’, ‘1’]’; Server version: ‘[‘5’, ‘6’, ‘1’]’
2021-02-26 11:35:22,934 INFO [ omero.gateway] (proc.03252) close():1987 closed connection (uuid=e
6954ee9-a044-492e-820c-da3df99cd97d)
2021-02-26 11:35:23,015 INFO [ omero.gateway] (proc.03252) connect():2274 created connection (uui
d=8e1591b2-f883-4af9-ac29-0f671f9bb408)
2021-02-26 11:35:23,247 INFO [ omero.util.UpgradeCheck] (proc.03252) run():143 no update needed
2021-02-26 11:35:23,250 INFO [ omero.gateway] (proc.03252) close():1987 closed connection (uuid=8
e1591b2-f883-4af9-ac29-0f671f9bb408)

Thanks
Philippe

Hi @pmailly,

can you walk us through the steps you too to update & restart? The most likely cause is that a process was left hanging and will need manual clean up. I’d suggest shutting the OMERO.web processes back off and then we’ll take a look at the output of ps auxw -H and see if we can find the stray worker.

~Josh

Hi Josh,
Thanks for the suggestions.

(venv3) [omero@omero venv3]$ omero web stop
Stopping OMERO.web... [OK]
OMERO.web WSGI workers (PID 3193) killed.
Removed stale /home/omero/OMERO.server/var/django.pid
(venv3) [omero@omero venv3]$ ps auxw -H 
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S    12:32   0:00 [kthreadd]
root         4  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/0]
root         7  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/0]
root         8  0.0  0.0      0     0 ?        S    12:32   0:00   [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    12:32   0:08   [rcu_sched]
root        10  0.0  0.0      0     0 ?        S<   12:32   0:00   [lru-add-drain]
root        11  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/0]
root        12  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/1]
root        13  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/1]
root        14  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/1]
root        15  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/1:0]
root        16  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/1:0H]
root        17  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/2]
root        18  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/2]
root        19  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/2]
root        20  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/2:0]
root        21  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/2:0H]
root        22  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/3]
root        23  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/3]
root        24  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/3]
root        26  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/3:0H]
root        27  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/4]
root        28  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/4]
root        29  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/4]
root        30  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/4:0]
root        31  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/4:0H]
root        32  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/5]
root        33  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/5]
root        34  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/5]
root        35  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/5:0]
root        36  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/5:0H]
root        37  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/6]
root        38  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/6]
root        39  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/6]
root        40  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/6:0]
root        41  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/6:0H]
root        42  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/7]
root        43  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/7]
root        44  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/7]
root        45  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/7:0]
root        46  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/7:0H]
root        47  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/8]
root        48  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/8]
root        49  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/8]
root        51  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/8:0H]
root        52  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/9]
root        53  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/9]
root        54  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/9]
root        55  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/9:0]
root        56  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/9:0H]
root        57  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/10]
root        58  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/10]
root        59  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/10]
root        60  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/10:0]
root        61  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/10:0H]
root        62  0.0  0.0      0     0 ?        S    12:32   0:00   [watchdog/11]
root        63  0.0  0.0      0     0 ?        S    12:32   0:00   [migration/11]
root        64  0.0  0.0      0     0 ?        S    12:32   0:00   [ksoftirqd/11]
root        66  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/11:0H]
root        68  0.0  0.0      0     0 ?        S    12:32   0:00   [kdevtmpfs]
root        69  0.0  0.0      0     0 ?        S<   12:32   0:00   [netns]
root        70  0.0  0.0      0     0 ?        S    12:32   0:00   [khungtaskd]
root        71  0.0  0.0      0     0 ?        S<   12:32   0:00   [writeback]
root        72  0.0  0.0      0     0 ?        S<   12:32   0:00   [kintegrityd]
root        73  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root        74  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root        75  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root        76  0.0  0.0      0     0 ?        S<   12:32   0:00   [kblockd]
root        77  0.0  0.0      0     0 ?        S<   12:32   0:00   [md]
root        78  0.0  0.0      0     0 ?        S<   12:32   0:00   [edac-poller]
root        79  0.0  0.0      0     0 ?        S<   12:32   0:00   [watchdogd]
root        80  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/0:1]
root        81  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/6:1]
root        86  0.0  0.0      0     0 ?        S    12:32   0:00   [kswapd0]
root        87  0.0  0.0      0     0 ?        SN   12:32   0:00   [ksmd]
root        88  0.0  0.0      0     0 ?        SN   12:32   0:00   [khugepaged]
root        89  0.0  0.0      0     0 ?        S<   12:32   0:00   [crypto]
root        97  0.0  0.0      0     0 ?        S<   12:32   0:00   [kthrotld]
root        99  0.0  0.0      0     0 ?        S<   12:32   0:00   [kmpath_rdacd]
root       100  0.0  0.0      0     0 ?        S<   12:32   0:00   [kaluad]
root       101  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/0:2]
root       102  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/1:1]
root       103  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/5:1]
root       105  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/9:1]
root       106  0.0  0.0      0     0 ?        S<   12:32   0:00   [kpsmoused]
root       107  0.0  0.0      0     0 ?        S<   12:32   0:00   [ipv6_addrconf]
root       120  0.0  0.0      0     0 ?        S<   12:32   0:00   [deferwq]
root       156  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/10:2]
root       158  0.0  0.0      0     0 ?        S    12:32   0:00   [kauditd]
root       163  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/11:1]
root       346  0.0  0.0      0     0 ?        S    12:32   0:00   [scsi_eh_0]
root       347  0.0  0.0      0     0 ?        S<   12:32   0:00   [scsi_tmf_0]
root       368  0.0  0.0      0     0 ?        S<   12:32   0:00   [ttm_swap]
root       369  0.0  0.0      0     0 ?        S<   12:32   0:00   [poll_megasas0_s]
root       431  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/4:1]
root       432  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/7:1]
root       434  0.0  0.0      0     0 ?        S    12:32   0:00   [scsi_eh_1]
root       435  0.0  0.0      0     0 ?        S<   12:32   0:00   [scsi_tmf_1]
root       436  0.0  0.0      0     0 ?        S    12:32   0:00   [usb-storage]
root       480  0.0  0.0      0     0 ?        S<   12:32   0:00   [kdmflush]
root       481  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root       491  0.0  0.0      0     0 ?        S<   12:32   0:00   [kdmflush]
root       492  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root       509  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root       510  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfsalloc]
root       511  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs_mru_cache]
root       512  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-buf/dm-0]
root       513  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-data/dm-0]
root       514  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-conv/dm-0]
root       515  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-cil/dm-0]
root       516  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-reclaim/dm-]
root       517  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-log/dm-0]
root       518  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-eofblocks/d]
root       519  0.0  0.0      0     0 ?        S    12:32   0:03   [xfsaild/dm-0]
root       520  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/0:1H]
root       722  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/6:1H]
root       723  0.0  0.0      0     0 ?        S<   12:32   0:00   [kvm-irqfd-clean]
root       763  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/2:2]
root       772  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/2:1H]
root       781  0.0  0.0      0     0 ?        S    12:32   0:00   [jbd2/sda1-8]
root       782  0.0  0.0      0     0 ?        S<   12:32   0:00   [ext4-rsv-conver]
root       786  0.0  0.0      0     0 ?        S    12:32   0:00   [kworker/11:2]
root       787  0.0  0.0      0     0 ?        S<   12:32   0:00   [kdmflush]
root       788  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root       799  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-buf/dm-2]
root       800  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-data/dm-2]
root       801  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-conv/dm-2]
root       802  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-cil/dm-2]
root       803  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-reclaim/dm-]
root       804  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-log/dm-2]
root       805  0.0  0.0      0     0 ?        S<   12:32   0:00   [xfs-eofblocks/d]
root       806  0.0  0.0      0     0 ?        S    12:32   0:00   [xfsaild/dm-2]
root       807  0.0  0.0      0     0 ?        S<   12:32   0:00   [kdmflush]
root       808  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root       810  0.0  0.0      0     0 ?        S<   12:32   0:00   [kdmflush]
root       811  0.0  0.0      0     0 ?        S<   12:32   0:00   [bioset]
root       829  0.0  0.0      0     0 ?        S    12:32   0:00   [jbd2/dm-3-8]
root       830  0.0  0.0      0     0 ?        S<   12:32   0:00   [ext4-rsv-conver]
root       835  0.0  0.0      0     0 ?        S    12:32   0:00   [jbd2/dm-4-8]
root       836  0.0  0.0      0     0 ?        S<   12:32   0:00   [ext4-rsv-conver]
root       863  0.0  0.0      0     0 ?        S<   12:32   0:00   [rpciod]
root       864  0.0  0.0      0     0 ?        S<   12:32   0:00   [xprtiod]
root      1028  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/4:1H]
root      1077  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/1:1H]
root      1141  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/3:1H]
root      1395  0.0  0.0      0     0 ?        S<   12:32   0:00   [nfsiod]
root      1416  0.0  0.0      0     0 ?        S    12:32   0:00   [nfsv4.1-svc]
root      2156  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/7:1H]
root      2176  0.0  0.0      0     0 ?        S<   12:32   0:00   [kworker/8:1H]
root      2691  0.0  0.0      0     0 ?        S<   12:33   0:00   [kworker/5:1H]
root      2692  0.0  0.0      0     0 ?        S<   12:33   0:00   [kworker/10:1H]
root      2742  0.0  0.0      0     0 ?        S<   12:33   0:00   [kworker/11:1H]
root      3437  0.0  0.0      0     0 ?        S<   12:38   0:00   [kworker/9:1H]
root      3945  0.0  0.0      0     0 ?        S    13:40   0:00   [kworker/3:0]
root      4155  0.0  0.0      0     0 ?        S    14:19   0:00   [kworker/u96:2]
root      4242  0.0  0.0      0     0 ?        S    14:39   0:00   [kworker/u96:1]
root      4287  0.0  0.0      0     0 ?        S    14:49   0:00   [kworker/3:2]
root      4290  0.0  0.0      0     0 ?        S    14:50   0:00   [kworker/8:1]
root      4313  0.0  0.0      0     0 ?        S    14:56   0:00   [kworker/8:2]
root      4367  0.0  0.0      0     0 ?        S    15:04   0:00   [kworker/3:1]
root      4441  0.0  0.0      0     0 ?        S    15:06   0:00   [kworker/8:0]
root         1  0.0  0.0 191112  4080 ?        Ss   12:32   0:01 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
root       602  0.0  0.0  39056  8304 ?        Ss   12:32   0:01   /usr/lib/systemd/systemd-journald
root       631  0.0  0.0 272304  1424 ?        Ss   12:32   0:00   /usr/sbin/lvmetad -f
root       638  0.0  0.0  45456  1936 ?        Ss   12:32   0:00   /usr/lib/systemd/systemd-udevd
root       859  0.0  0.0  55532   848 ?        S<sl 12:32   0:00   /sbin/auditd
root       886  0.0  0.0  53300  3264 ?        Ss   12:32   0:00   /usr/sbin/smartd -n -q never
root       889  0.0  0.0  26384  1748 ?        Ss   12:32   0:00   /usr/lib/systemd/systemd-logind
rpc        903  0.0  0.0  69256  1004 ?        Ss   12:32   0:00   /sbin/rpcbind -w
dbus       916  0.0  0.0  58216  2500 ?        Ss   12:32   0:00   /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopid
root       925  0.0  0.0  21708  1372 ?        Ss   12:32   0:01   /usr/sbin/irqbalance --foreground
polkitd    926  0.0  0.0 613004 11972 ?        Ssl  12:32   0:00   /usr/lib/polkit-1/polkitd --no-debug
root       927  0.0  0.0 195208  1240 ?        Ssl  12:32   0:00   /usr/sbin/gssproxy -D
chrony     929  0.0  0.0 120588  2032 ?        S    12:32   0:00   /usr/sbin/chronyd
root       943  0.0  0.0 359148 29844 ?        Ssl  12:32   0:00   /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
root       951  0.0  0.0 477440  9224 ?        Ssl  12:32   0:02   /usr/sbin/NetworkManager --no-daemon
root      1347  0.0  0.0 574284 21644 ?        Ssl  12:32   0:01   /usr/bin/python2 -Es /usr/sbin/tuned -l -P
telegraf  1351  1.0  0.1 5866868 59568 ?       Ssl  12:32   1:40   /usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-dir
root      1353  0.0  0.0 112936  4372 ?        Ss   12:32   0:00   /usr/sbin/sshd -D
root      4426  0.0  0.0 161724  6208 ?        Ss   15:06   0:00     sshd: omero [priv]
omero     4442  0.0  0.0 161724  2356 ?        S    15:06   0:00       sshd: omero@pts/0
omero     4443  0.0  0.0 115816  2252 pts/0    Ss   15:06   0:00         -bash
omero     4472  0.0  0.0 155752  2204 pts/0    R+   15:08   0:00           ps auxw -H
root      1354  0.0  0.1 190836 39028 ?        Ss   12:32   0:02   fusioninventory-agent: waiting
root      1355  0.0  0.0 229064 11820 ?        Ss   12:32   0:08   /usr/sbin/snmpd -LS0-6d -f
root      1358  0.0  0.0 216400  7152 ?        Ssl  12:32   0:01   /usr/sbin/rsyslogd -n
redis     1360  0.0  0.0 143060  5784 ?        Ssl  12:32   0:08   /usr/bin/redis-server 127.0.0.1:6379
postgres  1382  0.0  0.0 397604 17236 ?        Ss   12:32   0:00   /usr/pgsql-11/bin/postmaster -D /var/lib/pgsql/11/data/
postgres  1842  0.0  0.0 252516  1948 ?        Ss   12:32   0:00     postgres: logger   
postgres  1875  0.0  0.0 397732  7480 ?        Ss   12:32   0:00     postgres: checkpointer   
postgres  1876  0.0  0.0 397736  3352 ?        Ss   12:32   0:00     postgres: background writer   
postgres  1877  0.0  0.0 397604  6248 ?        Ss   12:32   0:00     postgres: walwriter   
postgres  1878  0.0  0.0 398156  3188 ?        Ss   12:32   0:00     postgres: autovacuum launcher   
postgres  1879  0.0  0.0 253188  2500 ?        Ss   12:32   0:01     postgres: stats collector   
postgres  1880  0.0  0.0 398020  2800 ?        Ss   12:32   0:00     postgres: logical replication launcher   
postgres  2596  0.0  0.0 404972 14844 ?        Ss   12:32   0:06     postgres: db_omero omero_database 127.0.0.1(49082) idle
postgres  2598  0.2  0.0 403596 15420 ?        Ss   12:32   0:18     postgres: db_omero omero_database 127.0.0.1(49084) idle
postgres  2713  0.0  0.1 411612 50720 ?        Ss   12:33   0:03     postgres: db_omero omero_database 127.0.0.1(49104) idle
root      1480  0.0  0.0 126392  1596 ?        Ss   12:32   0:00   /usr/sbin/crond -n
root      1607  0.0  0.0 110208   864 tty1     Ss+  12:32   0:00   /sbin/agetty --noclear tty1 linux
root      1685  0.0  0.0  46628  1076 ?        Ss   12:32   0:00   nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx     1686  0.0  0.0  47200  3708 ?        S    12:32   0:00     nginx: worker process
root      1730  0.0  0.0  89744  2072 ?        Ss   12:32   0:00   /usr/libexec/postfix/master -w
postfix   1733  0.0  0.0  89916  4016 ?        S    12:32   0:00     qmgr -l -t unix -u
postfix   4104  0.0  0.0  89848  4000 ?        S    14:12   0:00     pickup -l -t unix -u
root      1738  0.0  0.0 101608 23324 ?        Ss   12:32   0:00   /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniser
omero     2338  0.0  0.0 2166412 15092 ?       Sl   12:32   0:00   icegridnode --daemon --pidfile /home/omero/OMERO.server/var/maste
omero     2372  1.5  3.6 11569208 1203196 ?    Sl   12:32   2:24     java -Xmx5026m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOpti
omero     2402  1.2  2.3 8490292 761760 ?      Sl   12:32   1:57     java -Xmx3351m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOpti
omero     2405  1.2  3.2 10544032 1067320 ?    Sl   12:32   1:56     java -Xmx5026m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOpti
omero     2406  0.0  0.0 394460 12100 ?        Sl   12:32   0:00     glacier2router --Ice.Config=/home/omero/OMERO.server-5.6.1-ice3
omero     2410  0.0  0.0 549868  8464 ?        Sl   12:32   0:00     icebox --Ice.Config=/home/omero/OMERO.server-5.6.1-ice36-b225/v
omero     2414  0.1  0.2 1910680 76696 ?       Sl   12:32   0:13     python -m runProcessor --Ice.Config=/home/omero/OMERO.server-5.
omero     2419  0.1  0.2 1056112 74604 ?       Sl   12:32   0:12     python -m runTables --Ice.Config=/home/omero/OMERO.server-5.6.1

@pmaily,

I don’t see any gunicorn or python ... web processes. (I don’t think it’s involved, but you might want to restart or at least reload nginx as well)

Can you restart omero web and share the output with us? Also what does omero admin diagnostics show for the web server?

~Josh

Hi Josh,
For the upgrade process I did what is noticed in the doc :

> pip install --upgrade 'omero-web>=5.8.1'
pip install --upgrade 'omero-py>=5.8.1'
omero config get --show-password > properties.backup
(venv3) [omero@omero venv3]$ omero config load properties.backup

(venv3) [omero@omero venv3]$ omero web restart
Stopping OMERO.web... [OK]
OMERO.web WSGI workers (PID 29013) killed.
Removed stale /home/omero/OMERO.server/var/django.pid
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/OMERO.server/var/static', 660 unmodified, 2 post-processed.
Clearing expired sessions. This may take some time... [OK]
Starting OMERO.web... [OK]
> (venv3) [omero@omero venv3]$ omero admin diagnostics

================================================================================
OMERO Diagnostics (admin) 5.9.0
================================================================================
        
Commands:   java -version                  11.0.10   (/usr/bin/java)
Commands:   python -V                      3.6.8     (/home/omero/venv3/bin/python -- 2 others)
Commands:   icegridnode --version          3.6.5     (/usr/bin/icegridnode)
Commands:   icegridadmin --version         3.6.5     (/usr/bin/icegridadmin)
Commands:   psql --version                 11.11     (/usr/bin/psql)
Commands:   openssl version                1.0.2     (/usr/bin/openssl)

Server:     icegridnode                    running
Server:     Blitz-0                        active (pid = 2372, enabled)
Server:     DropBox                        inactive (disabled)
Server:     FileServer                     inactive (disabled)
Server:     Indexer-0                      active (pid = 2402, enabled)
Server:     MonitorServer                  inactive (disabled)
Server:     OMERO.Glacier2                 active (pid = 2406, enabled)
Server:     OMERO.IceStorm                 active (pid = 2410, enabled)
Server:     PixelData-0                    active (pid = 2405, enabled)
Server:     Processor-0                    active (pid = 2414, enabled)
Server:     Tables-0                       active (pid = 2419, enabled)
Server:     TestDropBox                    inactive (enabled)

Log dir:    /home/omero/OMERO.server/var/log exists
Log files:  Blitz-0.log                    234.4 MB      errors=1    warnings=2129
Log files:  DropBox.log                    n/a
Log files:  FileServer.log                 n/a
Log files:  Indexer-0.log                  7.9 MB        errors=0    warnings=16  
Log files:  MonitorServer.log              n/a
Log files:  OMEROweb.lock                  empty
Log files:  OMEROweb.log                   34.2 KB      
Log files:  PixelData-0.log                4.6 MB        errors=416  warnings=23  
Log files:  Processor-0.log                804.8 KB      errors=0    warnings=6   
Log files:  Tables-0.log                   15.8 KB       errors=0    warnings=19  
Log files:  TestDropBox.log                n/a
Log files:  master.err                     280.3 KB      errors=0    warnings=5   
Log files:  master.out                     empty
Log files:  Total size                     248.08 MB


Environment:OMERO_HOME=(unset)             
Environment:OMERODIR=/home/omero/OMERO.server 
Environment:OMERO_NODE=(unset)             
Environment:OMERO_MASTER=(unset)           
Environment:OMERO_USERDIR=(unset)          
Environment:OMERO_TMPDIR=(unset)           
Environment:PATH=/home/omero/venv3/bin:/home/omero/venv3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/omero/.local/bin:/home/omero/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:'/OMERO'                       Exists? True	Is writable? True
OMERO temp dir:'/home/omero/omero/tmp'        Exists? True	Is writable? True   (Size: 0)

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

Jar:        lib/server/formats-api.jar     Bio-Formats API	6.3.1	13 December 2019	e355a853c5768721711cb9b29c3a27561539c4e4
Jar:        lib/server/formats-bsd.jar     BSD Bio-Formats readers and writers	6.3.1	13 December 2019	e355a853c5768721711cb9b29c3a27561539c4e4
Jar:        lib/server/formats-gpl.jar     Bio-Formats library	6.3.1	13 December 2019	e355a853c5768721711cb9b29c3a27561539c4e4
Jar:        lib/server/ome-codecs.jar      OME Codecs	0.2.5	13 August 2019	1a8b147d5673b975e14f33d78a2be886fbaf0e20
Jar:        lib/server/ome-common.jar      OME Common Java	6.0.4	21 October 2019	650939cfa026e33d2f38c1f56c74715dfb44b974
Jar:        lib/server/ome-jai.jar         OME JAI	0.1.0	28 June 2017	96ed34bf59f5ba3b51e3d60e342f30962a46c292
Jar:        lib/server/ome-mdbtools.jar    MDB Tools (Java port)	5.3.2	7 August 2018	68ffca2a95750cbb96f0d11785851aa4a554c0a4
Jar:        lib/server/ome-poi.jar         OME POI	5.3.3	6 August 2018	3887f4b2b21e195fa76ec4378858f6278aed5dcd
Jar:        lib/server/ome-xml.jar         OME XML library	6.0.1	9 May 2019	4d5b2e68d178de967d53100a1726b447726282cd
Jar:        lib/server/omero-blitz.jar     jar	5.5.6		
Jar:        lib/server/omero-common.jar    jar	5.5.5		
Jar:        lib/server/omero-gateway.jar   jar	5.6.3		
Jar:        lib/server/omero-model.jar     jar	5.5.5		
Jar:        lib/server/omero-renderer.jar  jar	5.5.5		
Jar:        lib/server/omero-romio.jar     jar	5.5.5		
Jar:        lib/server/omero-server.jar    jar	5.5.6	

I hope it can help
Philippe

In debug mode I found theses errors :

2021-03-01 11:25:08,069 INFO [ omeroweb.webclient.views] (proc.31128) ():134 INIT ‘31128’
2021-03-01 11:25:08,077 INFO [ root] (proc.31128) process_custom_settings():1207 Processing custom settings for module
omeroweb.api.api_settings
2021-03-01 11:25:08,293 DEBUG [ django.template] (proc.31128) _resolve_lookup():925 Exception while resolving variable ‘public_ena
bled’ in template ‘webclient/login.html’.
Traceback (most recent call last):
File “/home/omero/venv3/lib64/python3.6/site-packages/django/template/base.py”, line 882, in _resolve_lookup
current = current[bit]
File “/home/omero/venv3/lib64/python3.6/site-packages/django/template/context.py”, line 87, in getitem
raise KeyError(key)
KeyError: ‘public_enabled’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/omero/venv3/lib64/python3.6/site-packages/django/template/base.py”, line 888, in _resolve_lookup
if isinstance(current, BaseContext) and getattr(type(current), bit):
AttributeError: type object ‘RequestContext’ has no attribute ‘public_enabled’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/omero/venv3/lib64/python3.6/site-packages/django/template/base.py”, line 896, in _resolve_lookup
current = current[int(bit)]
ValueError: invalid literal for int() with base 10: ‘public_enabled’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/omero/venv3/lib64/python3.6/site-packages/django/template/base.py”, line 903, in _resolve_lookup
(bit, current)) # missing attribute
django.template.base.VariableDoesNotExist: Failed lookup for key [public_enabled] in '[{‘True’: True, ‘False’: False, ‘None’: None}, {‘csrf_token’
: <SimpleLazyObject: ‘Me7F3YujDypPly0iLXTNbf13ND6xX5cgEQ3wohpsSnZ5l0bw7AMwpBpxlx0E4kdw’>, ‘user’: <django.contrib.auth.models.AnonymousUser object at
0x7f3c62501128>, ‘perms’: <django.contrib.auth.context_processors.PermWrapper object at 0x7f3c62501198>, ‘LANGUAGES’: [(‘af’, ‘Afrikaans’), ('ar
‘, ‘Arabic’), (‘ast’, ‘Asturian’), (‘az’, ‘Azerbaijani’), (‘bg’, ‘Bulgarian’), (‘be’, ‘Belarusian’), (‘bn’, ‘Bengali’), (‘br’, ‘B
reton’), (‘bs’, ‘Bosnian’), (‘ca’, ‘Catalan’), (‘cs’, ‘Czech’), (‘cy’, ‘Welsh’), (‘da’, ‘Danish’), (‘de’, ‘German’), (‘dsb’, ’
Lower Sorbian’), (‘el’, ‘Greek’), (‘en’, ‘English’), (‘en-au’, ‘Australian English’), (‘en-gb’, ‘British English’), (‘eo’, 'Esperanto
'), (‘es’, ‘Spanish’), (‘es-ar’, ‘Argentinian Spanish’), (‘es-co’, ‘Colombian Spanish’), (‘es-mx’, ‘Mexican Spanish’), (‘es-ni’, ‘Nicar
aguan Spanish’), (‘es-ve’, ‘Venezuelan Spanish’), (‘et’, ‘Estonian’), (‘eu’, ‘Basque’), (‘fa’, ‘Persian’), (‘fi’, ‘Finnish’), (‘fr’
, ‘French’), (‘fy’, ‘Frisian’), (‘ga’, ‘Irish’), (‘gd’, ‘Scottish Gaelic’), (‘gl’, ‘Galician’), (‘he’, ‘Hebrew’), (‘hi’, ‘Hindi’
), (‘hr’, ‘Croatian’), (‘hsb’, ‘Upper Sorbian’), (‘hu’, ‘Hungarian’), (‘ia’, ‘Interlingua’), (‘id’, ‘Indonesian’), (‘io’, ‘Ido’),
(‘is’, ‘Icelandic’), (‘it’, ‘Italian’), (‘ja’, ‘Japanese’), (‘ka’, ‘Georgian’), (‘kk’, ‘Kazakh’), (‘km’, ‘Khmer’), (‘kn’, ‘Kann
ada’), (‘ko’, ‘Korean’), (‘lb’, ‘Luxembourgish’), (‘lt’, ‘Lithuanian’), (‘lv’, ‘Latvian’), (‘mk’, ‘Macedonian’), (‘ml’, ‘Malayalam
‘), (‘mn’, ‘Mongolian’), (‘mr’, ‘Marathi’), (‘my’, ‘Burmese’), (‘nb’, ‘Norwegian Bokmål’), (‘ne’, ‘Nepali’), (‘nl’, ‘Dutch’), (’
nn’, ‘Norwegian Nynorsk’), (‘os’, ‘Ossetic’), (‘pa’, ‘Punjabi’), (‘pl’, ‘Polish’), (‘pt’, ‘Portuguese’), (‘pt-br’, ‘Brazilian Portug
uese’), (‘ro’, ‘Romanian’), (‘ru’, ‘Russian’), (‘sk’, ‘Slovak’), (‘sl’, ‘Slovenian’), (‘sq’, ‘Albanian’), (‘sr’, ‘Serbian’), (‘s
r-latn’, ‘Serbian Latin’), (‘sv’, ‘Swedish’), (‘sw’, ‘Swahili’), (‘ta’, ‘Tamil’), (‘te’, ‘Telugu’), (‘th’, ‘Thai’), (‘tr’, ‘Turk
ish’), (‘tt’, ‘Tatar’), (‘udm’, ‘Udmurt’), (‘uk’, ‘Ukrainian’), (‘ur’, ‘Urdu’), (‘vi’, ‘Vietnamese’), (‘zh-hans’, ‘Simplified Chin
ese’), (‘zh-hant’, ‘Traditional Chinese’)], ‘LANGUAGE_CODE’: ‘en-gb’, ‘LANGUAGE_BIDI’: False, ‘MEDIA_URL’: ‘’, ‘STATIC_URL’: ‘/omero/sta
tic/’, ‘TIME_ZONE’: ‘Europe/London’, ‘messages’: <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f3c830dcc88>, ‘DEFAULT_MES
SAGE_LEVELS’: {‘DEBUG’: 10, ‘INFO’: 20, ‘SUCCESS’: 25, ‘WARNING’: 30, ‘ERROR’: 40}, ‘url_suffix’: ‘?_5.8.1’, ‘base_include_template’: Non
e}, {}, {‘version’: ‘5.8.1’, ‘build_year’: ‘2020’, ‘error’: None, ‘form’: <LoginForm bound=False, valid=False, fields=(username;password;serve
r)>, ‘url’: ‘url=%2Fomero%2Fwebclient%2F’, ‘LOGIN_LOGO’: ‘https://omero.college-de-france.fr/omero/static/webclient/image/logo_CIRB.png’, ‘show_d
ownload_links’: True, ‘client_download_tag_re’: ‘^v5\\.8\\.[^-]+$’, ‘client_download_repo’: ‘ome/omero-insight’}, {‘block’: <Block Node: bo
dy. Contents: [<TextNode: ‘\n\n

\n
\n\n<div id="log’>, <Block Node: login. Contents: [<TextNode: '\n '>, <django.template.defaulttags.CsrfTokenNode obje
ct at 0x7f3c624d8940>, <TextNode: '\n '>, , <TextNode: ‘\n\t\t\t\n\t\t\t
Forgot your password?</’>, , <TextNode: '\n\n \n\n ‘>]>, <TextNode: ‘\n
\n\n<
div id="login-f’>, , <TextNode: ‘.
\n\t\t© 2007-’>, , <TextNode: ’ University of Dundee
&am’>, , <TextNode: '\n\n \n

\n

\\n\'>]>}, {\'block\': <Block Node: login. Contents: [<TextNode: \'\\n \'>, , , , <TextNode: \'\\n\\t\\t\\t\\n\\t\\t\\t
Forgot y our password?, , <TextNode: \'\\n\\n \\n\\n \'>]>}]'

Philippe

Hi Philippe,

I’m afraid that the DEBUG log level in Django gives a lot of noise.
The Exception while resolving ... in template ... errors can be ignored.

I wonder if you’ve maybe upgraded a dependency to something incompatible.
Are you using Django-redis?
$ omero config get | grep cache

Is it version django-redis<4.9 ?

$ pip freeze | grep django
django-cors-headers==3.2.1
django-extensions==3.0.9
django-pipeline==1.6.14
django-redis==4.8.0
$ pip freeze | grep Django
Django==1.11.27

You don’t see any error message on the login page when login fails?

Regards,
Will.

Hi Josh,
may some bad packages ???

> (venv3) [omero@omero ~]$pip freeze | grep django
WARNING: Could not generate requirement for distribution -mero-py 5.6.0 (/home/omero/venv3/lib/python3.6/site-packages): Parse error at "'-mero-py'": Expected W:(abcd...)
WARNING: Could not generate requirement for distribution -ip 19.3.1 (/home/omero/venv3/lib/python3.6/site-packages): Parse error at "'-ip==19.'": Expected W:(abcd...)
django-pipeline==1.6.14
(venv3) [omero@omero ~]$ pip freeze | grep Django
WARNING: Could not generate requirement for distribution -mero-py 5.6.0 (/home/omero/venv3/lib/python3.6/site-packages): Parse error at "'-mero-py'": Expected W:(abcd...)
WARNING: Could not generate requirement for distribution -ip 19.3.1 (/home/omero/venv3/lib/python3.6/site-packages): Parse error at "'-ip==19.'": Expected W:(abcd...)
Django==1.11.29

Philippe

Hi Philippe,

Wow! Something is very weird. Can you send us the full output of pip freeze? My guess is that somewhere a command got mangled. It may be easiest to move your current venv3 to the side and create a new one.

~J.

Hi Josh,
Not so bad :wink:

(venv3) [omero@omero ~]$ pip freeze
WARNING: Could not generate requirement for distribution -mero-py 5.6.0 (/home/omero/venv3/lib/python3.6/site-packages): Parse error at “’-mero-py’”: Expected W:(abcd…)
WARNING: Could not generate requirement for distribution -ip 19.3.1 (/home/omero/venv3/lib/python3.6/site-packages): Parse error at “’-ip==19.’”: Expected W:(abcd…)
appdirs==1.4.4
certifi==2020.12.5
chardet==4.0.0
Django==1.11.29
django-pipeline==1.6.14
future==0.18.2
gunicorn==20.0.4
idna==2.10
numpy==1.18.1
omero-figure==4.4.0
omero-marshal==0.7.0
omero-py==5.9.0
omero-web==5.8.1
Pillow==7.0.0
pytz==2021.1
PyYAML==5.4.1
requests==2.25.1
urllib3==1.26.3
zeroc-ice==3.6.5

Philippe

I clean the “bad” directory in package-sites.

> (venv3) [omero@omero ~]$ pip freeze
appdirs==1.4.4
certifi==2020.12.5
chardet==4.0.0
Django==1.11.29
django-cors-headers==3.2.1
django-extensions==3.0.9
django-pipeline==1.6.14
django-redis==4.8.0
future==0.18.2
gunicorn==20.0.4
idna==2.10
numpy==1.18.1
omero-figure==4.4.0
omero-iviewer==0.10.2
omero-marshal==0.7.0
omero-py==5.9.0
omero-rois==0.3.0
omero-scripts==5.6.1
omero-web==5.8.1
Pillow==7.0.0
pytz==2021.1
PyYAML==5.4.1
redis==3.5.3
requests==2.25.1
urllib3==1.26.3
zeroc-ice==3.6.5

> (venv3) [omero@omero ~]$ omero admin diagnostics

================================================================================
OMERO Diagnostics (admin) 5.9.0
================================================================================
        
Commands:   java -version                  11.0.10   (/usr/bin/java)
Commands:   python -V                      3.6.8     (/home/omero/venv3/bin/python -- 2 others)
Commands:   icegridnode --version          3.6.5     (/usr/bin/icegridnode)
Commands:   icegridadmin --version         3.6.5     (/usr/bin/icegridadmin)
Commands:   psql --version                 11.11     (/usr/bin/psql)
Commands:   openssl version                1.0.2     (/usr/bin/openssl)

Server:     icegridnode                    running
Server:     Blitz-0                        active (pid = 41528, enabled)
Server:     DropBox                        inactive (disabled)
Server:     FileServer                     inactive (disabled)
Server:     Indexer-0                      active (pid = 41556, enabled)
Server:     MonitorServer                  inactive (disabled)
Server:     OMERO.Glacier2                 active (pid = 41558, enabled)
Server:     OMERO.IceStorm                 active (pid = 41567, enabled)
Server:     PixelData-0                    active (pid = 41564, enabled)
Server:     Processor-0                    active (pid = 41571, enabled)
Server:     Tables-0                       inactive (disabled)
Server:     TestDropBox                    inactive (enabled)

Log dir:    /home/omero/OMERO.server/var/log exists
Log files:  Blitz-0.log                    240.7 MB      errors=1    warnings=2142
Log files:  DropBox.log                    n/a
Log files:  FileServer.log                 n/a
Log files:  Indexer-0.log                  8.0 MB        errors=0    warnings=18  
Log files:  MonitorServer.log              n/a
Log files:  OMEROweb.lock                  empty
Log files:  OMEROweb.log                   83.6 KB      
Log files:  PixelData-0.log                4.7 MB        errors=417  warnings=26  
Log files:  Processor-0.log                932.8 KB      errors=0    warnings=7   
Log files:  Tables-0.log                   16.7 KB       errors=0    warnings=20  
Log files:  TestDropBox.log                n/a
Log files:  master.err                     321.2 KB      errors=0    warnings=5   
Log files:  master.out                     empty
Log files:  Total size                     254.67 MB


Environment:OMERO_HOME=(unset)             
Environment:OMERODIR=/home/omero/OMERO.server 
Environment:OMERO_NODE=(unset)             
Environment:OMERO_MASTER=(unset)           
Environment:OMERO_USERDIR=(unset)          
Environment:OMERO_TMPDIR=(unset)           
Environment:PATH=/home/omero/venv3/bin:/home/omero/venv3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/omero/.local/bin:/home/omero/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:'/OMERO'                       Exists? True	Is writable? True
OMERO temp dir:'/home/omero/omero/tmp'        Exists? True	Is writable? True   (Size: 0)

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

Jar:        lib/server/formats-api.jar     Bio-Formats API	6.3.1	13 December 2019	e355a853c5768721711cb9b29c3a27561539c4e4
Jar:        lib/server/formats-bsd.jar     BSD Bio-Formats readers and writers	6.3.1	13 December 2019	e355a853c5768721711cb9b29c3a27561539c4e4
Jar:        lib/server/formats-gpl.jar     Bio-Formats library	6.3.1	13 December 2019	e355a853c5768721711cb9b29c3a27561539c4e4
Jar:        lib/server/ome-codecs.jar      OME Codecs	0.2.5	13 August 2019	1a8b147d5673b975e14f33d78a2be886fbaf0e20
Jar:        lib/server/ome-common.jar      OME Common Java	6.0.4	21 October 2019	650939cfa026e33d2f38c1f56c74715dfb44b974
Jar:        lib/server/ome-jai.jar         OME JAI	0.1.0	28 June 2017	96ed34bf59f5ba3b51e3d60e342f30962a46c292
Jar:        lib/server/ome-mdbtools.jar    MDB Tools (Java port)	5.3.2	7 August 2018	68ffca2a95750cbb96f0d11785851aa4a554c0a4
Jar:        lib/server/ome-poi.jar         OME POI	5.3.3	6 August 2018	3887f4b2b21e195fa76ec4378858f6278aed5dcd
Jar:        lib/server/ome-xml.jar         OME XML library	6.0.1	9 May 2019	4d5b2e68d178de967d53100a1726b447726282cd
Jar:        lib/server/omero-blitz.jar     jar	5.5.6		
Jar:        lib/server/omero-common.jar    jar	5.5.5		
Jar:        lib/server/omero-gateway.jar   jar	5.6.3		
Jar:        lib/server/omero-model.jar     jar	5.5.5		
Jar:        lib/server/omero-renderer.jar  jar	5.5.5		
Jar:        lib/server/omero-romio.jar     jar	5.5.5		
Jar:        lib/server/omero-server.jar    jar	5.5.6

> (venv3) [omero@omero ~]$ omero config get
omero.data.dir=/OMERO
omero.db.name=omero_database
omero.db.pass=********
omero.db.poolsize=100
omero.db.user=db_omero
omero.mail.config=true
omero.mail.host=smtps.college-de-france.fr
omero.mail.password=********
omero.mail.username=philippe.mailly@college-de-france.fr
omero.web.apps=["omero_figure"]
omero.web.debug=False
omero.web.login_logo=https://omero.college-de-france.fr/omero/static/webclient/image/logo_CIRB.png
omero.web.prefix=/omero
omero.web.session_cookie_age=86400
omero.web.session_engine=django.contrib.sessions.backends.cache
omero.web.session_expire_at_browser_close=True
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", "http://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"}]]

Strange I don’t see in omero.web.apps the apps installed with pip ???

omero-iviewer==0.10.2
omero-marshal==0.7.0
omero-py==5.9.0
omero-rois==0.3.0
omero-scripts==5.6.1

The web log is ok :

> (venv3) [omero@omero ~]$ tail OMERO.server/var/log/OMEROweb.log
2021-03-02 15:17:51,736  INFO [                omeroweb.webclient.views] (proc.41076) <module>():134 INIT '41076'
2021-03-02 15:17:51,753  INFO [                                    root] (proc.41076) process_custom_settings():1207 Processing custom settings for module omeroweb.api.api_settings
2021-03-02 15:17:52,441  INFO [                omeroweb.webclient.views] (proc.41080) <module>():134 INIT '41080'
2021-03-02 15:17:52,457  INFO [                                    root] (proc.41080) process_custom_settings():1207 Processing custom settings for module omeroweb.api.api_settings
2021-03-02 15:20:43,499  INFO [                           omero.gateway] (proc.41080) connect():2274 created connection (uuid=4414daeb-dfe8-4221-bc30-921f96c17530)
2021-03-02 15:20:43,505  INFO [                      omeroweb.connector] (proc.41080) check_version():248 Client version: '['5', '8', '1']'; Server version: '['5', '6', '1']'
2021-03-02 15:20:43,514  INFO [                           omero.gateway] (proc.41080) close():1987 closed connection (uuid=4414daeb-dfe8-4221-bc30-921f96c17530)
2021-03-02 15:20:43,602  INFO [                           omero.gateway] (proc.41080) connect():2274 created connection (uuid=e03927e9-722b-4634-a6d3-190681fb6829)
2021-03-02 15:20:43,973  INFO [                 omero.util.UpgradeCheck] (proc.41080) run():143 no update needed
2021-03-02 15:20:43,978  INFO [                           omero.gateway] (proc.41080) close():1987 closed connection (uuid=e03927e9-722b-4634-a6d3-190681fb6829)

And the page connection run few msec before goback ???

Philippe

Hi josh,
I finally found the problem :stuck_out_tongue_winking_eye:
In fact I had to venv3 one with the same account as omero and another with omero-web account and I was upgrading the bad venv3. So know I delete the bad venv3 and upgrade venv3 in omero-web account and everything is working now.
Sorry for the inconvenience and thank you for your patience.
Have a nice day
Philippe

1 Like

Hi Philippe,

I’m not sure if this is resolved by your venv solution, but the only additional app you need in omero.web.apps setting is iviewer. The others you listed aren’t web apps.
You are also missing the other config for iviewer (default viewer, open_with etc). These are all listed at omero-iviewer · PyPI

For omero-figure you maybe missing this from the ‘open_with’ config. See omero-figure · PyPI

Glad to hear it seems to be working.
Regards,

Will.

Hi Josh,
In my omero-web account venv3 the config is ok :stuck_out_tongue_winking_eye:

(venv3) [omero-web@omero ~]$ omero config get
omero.web.application_server=wsgi-tcp
omero.web.apps=[“omero_figure”, “omero_iviewer”, “omero_fpbioimage”]
omero.web.caches={“default”: {“BACKEND”: “django_redis.cache.RedisCache”,“LOCATION”: “redis://127.0.0.1:6379/0”}}
omero.web.login_logo=https://omero.college-de-france.fr/omero/static/webclient/image/logo_CIRB.png
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”: 6, “class”: “django.middleware.clickjacking.XFrameOptionsMiddleware”}, {“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_iviewer”, “omero_iviewer_index”, {“supported_objects”: [“images”, “dataset”, “well”], “script_url”: “omero_iviewer/openwith.js”, “label”: “OMERO.iviewer”}], [“omero_fpbioimage”, “fpbioimage_index”, {“script_url”: “fpbioimage/openwith.js”, “supported_objects”: [“image”], “label”: “FPBioimage”}], [“omero_iviewer”, “omero_iviewer_index”, {“supported_objects”: [“images”, “dataset”, “well”], “script_url”: “omero_iviewer/openwith.js”, “label”: “OMERO.iviewer”}], [“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/”, {“title”: “Open OMERO user guide in a new tab”, “target”: “new”}], [“Figure”, “figure_index”, {“title”: “Open Figure in new tab”, “target”: “_blank”}], [“Figure”, “figure_index”, {“title”: “Open Figure in new tab”, “target”: “_blank”}]]
omero.web.viewer.view=omero_iviewer.views.index

Philippe

1 Like

A post was split to a new topic: How to read from omero the rois in image done with Fiji