[ome-users] OMERO4__0.sql created in the wrong place

josh.moore at gmx.de josh.moore at gmx.de
Tue Apr 21 13:26:30 BST 2009


Hi Mario,

You're right: using the current directory is probably the best option,
but it's also important to realize that OMERO_HOME will be respected
for other operations: bin/omero finds it's installation either by
OMERO_HOME or if that's not set, by following all symlinks until it
finds a physical directory. If that sounds faulty to you, let us know.

Cheers,
~Josh

Mario Valle writes:
 > $ cd /omero-4.0.1/dist
 > $ bin/omero db script
 > Please enter omero.db.version [OMERO4]:
 > Please enter omero.db.patch [0]:
 > Please enter password for new OMERO root user:
 > Please re-enter password for new OMERO root user:
 > Saving to /omero-4.0/dist/OMERO4__0.sql
 > $
 > 
 > Seems this script obey the OMERO_HOME environment variable (I
 > erroneously left pointing to the old directory) or has the 4.0
 > directory hardcoded.
 > 
 > I think it is better to remove the use of OMERO_HOME and use the
 > current directory for creating the sql file.
 > 
 > Ciao!
 > 	mario
 



More information about the ome-users mailing list