[ome-devel] upgrade issues

L.M.Voortman at lumc.nl L.M.Voortman at lumc.nl
Fri Mar 9 12:44:04 GMT 2018


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>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20180309/25fa22aa/attachment.html>


More information about the ome-devel mailing list