omero server | upgrade fails with `omego: error: unrecognized arguments: --managedb`
kennethgillen opened this issue · 2 comments
Role version: 2.0.1
TASK [openmicroscopy.omero-server : omero server | upgrade] *******************************************************************************************************************************************************
fatal: [ome-demoserver.openmicroscopy.org]: FAILED! => {"changed": true, "cmd": ["/opt/omero/omego/bin/omego", "install", "--upgrade", "--release", "5.4.1", "--sym", "OMERO.server", "--ice", "3.6", "--no-start", "--ignoreconfig", "-qq", "--dbhost", "localhost", "--dbuser", "xxxxxx", "--dbname", "omero", "--dbpass", "xxxxxx", "--managedb"], "delta": "0:00:00.175479", "end": "2017-12-06 15:38:50.052209", "failed": true, "rc": 2, "start": "2017-12-06 15:38:49.876730", "stderr": "usage: omego [-h] {convert,db,download,install,upgrade,version} ...\nomego: error: unrecognized arguments: --managedb", "stderr_lines": ["usage: omego [-h] {convert,db,download,install,upgrade,version} ...", "omego: error: unrecognized arguments: --managedb"], "stdout": "", "stdout_lines": []}
This is due to an out of date omego, see ome/ansible-role-omego#2
Note: this can be worked around by specifying the version of omego
to be installed with the variable omero_omego_version
, example at https://github.com/openmicroscopy/prod-playbooks/pull/17/files#diff-896819b5bdf43f197f838c7cc66babf4