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

josh.moore at gmx.de josh.moore at gmx.de
Tue Apr 21 18:52:59 BST 2009


Mario Valle writes:
 > > 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.
 > > 
 > No problem, I understand. Simply the effect was unexpected.
 > So maybe it is better to document its usage in the installation guide.

Done.

 > Till now I have the following environment variables defined:
 > 
 > # Needed for building OmeroCpp to find slice2cpp
 > PATH=/Users/mvalle/Ice-3.3.0/cpp/bin:${PATH}
 > 
 > # Needed for OmeroCpp building and for OMERO server run
 > DYLD_LIBRARY_PATH=/Users/mvalle/Ice-3.3.0/cpp/lib:${DYLD_LIBRARY_PATH}
 > 
 > # Needed for OMERO server run and OmeroCpp building
 > PYTHONPATH=/Users/mvalle/Ice-3.3.0/py/python:/omero-4.0.1/dist/lib/python
 > 
 > # Needed for OmeroCpp building
 > ICE_HOME=/Users/mvalle/Ice-3.3.0
 > 
 > # I don't remember who needs it
 > OMERO_HOME=/omero-4.0.1

I don't remember it ever being a requirement, but we do use it in the
documentation frequently, which may be the reason.

~J.

 > Ciao!
 > 	mario
 > 
 > 
 > > 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.



More information about the ome-users mailing list