[ome-devel] upgrade issues

Kenneth Gillen (Staff) k.h.gillen at dundee.ac.uk
Fri Mar 9 13:04:41 GMT 2018


Hi Lennard,

You’ve found a bug in the OMERO.cli plugin – many thanks for taking the time to get in touch.

I would expect your upgrade has gone fine, and the command we’d refer you to instead of “bin/omero config list”, would be `bin/omero config get`

That will hopefully give you the output you expect and need. Please let us know if not.

We’ll add a Trello card to track the bug and we’ll either fix or deprecate that command as a result.

Thanks again,

Kenny

--

Kenneth Gillen


OME System Administrator

Wellcome Trust Centre for Gene Regulation & Expression
School of Life Sciences
CTIR 2
University of Dundee
Dow Street
Dundee  DD1 5EH
United Kingdom

Tel: +44 (0) 1382 388797


http://www.twitter.com/openmicroscopy


From: ome-devel <ome-devel-bounces at lists.openmicroscopy.org.uk> on behalf of "L.M.Voortman at lumc.nl" <L.M.Voortman at lumc.nl>
Reply-To: OME External Developer List <ome-devel at lists.openmicroscopy.org.uk>
Date: Friday, 9 March 2018 at 12:44
To: "ome-devel at lists.openmicroscopy.org.uk" <ome-devel at lists.openmicroscopy.org.uk>
Subject: [ome-devel] upgrade issues

Hi All,

I just upgraded our OMERO server from 5.4.0 to 5.4.4. Everything seems to be working fine, except when I run:
$ bin/omero config list
I get:

omero.data.dir=/data/vf-mcb-omero/OMERO
omero.db.name=xxxxxxx
Traceback (most recent call last):
  File "bin/omero", line 125, in <module>
    rv = omero.cli.argv()
  File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line 1620, in argv
    cli.invoke(args[1:])
  File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line 1095, in invoke
    stop = self.onecmd(line, previous_args)
  File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line 1172, in onecmd
    self.execute(line, previous_args)
  File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line 1254, in execute
    args.func(args)
  File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/prefs.py", line 74, in open_and_close_config
    return func(*args, **kwargs)
  File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/prefs.py", line 281, in list
    self.get(args, config)
  File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/prefs.py", line 74, in open_and_close_config
    return func(*args, **kwargs)
  File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/prefs.py", line 300, in get
    if is_password(k) and not args.show_password:
AttributeError: 'Namespace' object has no attribute 'show_password'

I upgraded using:
$ cd OMERO.server
$ bin/omero web stop (web is running in a seperate virtualenv)
$ bin/omero admin stop

$ cd ..

$ wget http://downloads.openmicroscopy.org/omero/5.4.4/artifacts/OMERO.py-5.4.4-ice36-b82.zip

$ mv OMERO.server OMERO.server-old

$ unzip OMERO.server-5.4.4-ice36-b82.zip

$ ln -s OMERO.server-5.4.4-ice36-b82 OMERO.server

$ cp OMERO.server-old/etc/grid/config.xml OMERO.server/etc/grid

Did I miss any essential steps during the upgrade process?

Best,
Lennard



-----------------------------------------
dr.ir. Lennard Voortman
Head Light Microscopy Facility
Department of Cell and Chemical Biology
Leiden University Medical Center

+31 71 5269216
l.m.voortman at lumc.nl<mailto:l.m.voortman at lumc.nl>



The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20180309/60636453/attachment.html>


More information about the ome-devel mailing list