Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11320 (new)

Opened 11 years ago

Last modified 9 years ago

Fix behaviour of OMERO-qa-upgrade.py on first run — at Initial Version

Reported by: spli Owned by: spli
Priority: minor Milestone: 5.x
Component: General Version: 4.4.8
Keywords: n.a. Cc: jamoore, sbesson
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: Testing and Docs (1)

Description

If the OMERO-CURRENT symlink doesn't exist the upgrade script fails. What's the appropriate behaviour? If this is a completely new installation the database and datastore need to be created and configured.

A related issue is whether the CFG variable should be enabled by default: https://github.com/ome/omero-setup/blob/f39bdc3f484e2a432205e6f0eb4013839a874a82/OMERO-qa-upgrade.py#L60

My feeling is it shouldn't since if someone has a random config.xml file in their home dir it could wipe out their existing config.

Assuming the main use-case for CFG is a new server installation against an existing database/datastore how about we only create a non-existant SYMLINK if CFG is also defined?

Change History (0)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67235 sec.)

We're Hiring!