Hi Josh,<div><br></div><div>just to be clear, even if I'm building the server from the source code downloaded from the git repository, I still have to use the 'omero config' system in order to set up the omero.data.dir variable?<br>
If so, why can I update all the other variables and even add new ones by changing the etc/omero.properties file skipping the 'omero config' system? </div><div><br></div><div>Right now I noticed a strange behaviour...<br>
I created the /OMERO directory in order to start the server even if in my etc/omero.properties I set the omero.data.dir variable to /opt/omero_4.4/data (I wanted to check the value of the omero.data.dir using the python API).</div>
<div>After the server started, the FullText directory was created under the /opt/omero_4.4/data/ directory not the /OMERO/ one.</div><div>In summary, after a build from scratch using the source code, server won't start if I don't create the /OMERO directory or don't use the 'omero config' to set up a new omero.data.dir (<span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">FATAL: OMERO directory does not exist: /OMERO), but if I create the /OMERO dir the server uses the directory specified as the omero.data.dir into the etc/omero.properties file.... This IS weird :)</span></div>
<div><br></div><div>Thanks, </div><div>Luca </div><div><br><div class="gmail_quote">2012/8/29 Josh Moore <span dir="ltr"><<a href="mailto:josh@glencoesoftware.com" target="_blank">josh@glencoesoftware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
On Aug 29, 2012, at 3:21 PM, Luca Lianas wrote:<br>
<br>
> Hi everyone,<br>
><br>
> since OMERO version 4.3, I can't set the omero.data.dir parameter using<br>
> the omero.properties file.<br>
<br>
</div>Correct. etc/omero.properties only shows the defaults and is mostly for documentation. It gets copied into blitz.jar (for the version number) but otherwise is overwritten by the `omero config` system.<br>
<br>
Cheers,<br>
~Josh.<br>
<div><div><br>
> Even if I change the value of this variable, when the server starts it<br>
> looks for the default /OMERO directory in the file system.<br>
><br>
> In my omero.properties file I have<br>
><br>
> ...<br>
> omero.data.dir=/opt/omero_4.4/data/<br>
> ...<br>
><br>
> but when I run<br>
><br>
> ./dist/bin/omero admin start<br>
><br>
> I get<br>
> ...<br>
> FATAL: OMERO directory does not exist: /OMERO<br>
><br>
> and when looking at the omero.properties file into the generated blitz.jar<br>
> I find<br>
><br>
> ...<br>
> omero.data.dir=/opt/omero_4.4/data/<br>
> ...<br>
> (and this is weird...)<br>
><br>
> of course, using the<br>
><br>
> ./dist/bin/omero config set omero.data.dir /opt/omero_4.4/data/<br>
><br>
> fixes the problem.<br>
><br>
> It seems that the only parameter affected by this problem is the<br>
> omero.data.dir, I never experienced problems with DB config parameters and<br>
> other variables in the omero.properties file (I also added some new vars<br>
> and everything was fine).<br>
<br>
> Luca<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Luca Lianas<br><div>
<span>Data Fusion - Healthcare Flows</span><br>
CRS4 - Centro di Ricerche, Sviluppo e Studi Superiori della Sardegna<br>
POLARIS, Edificio 1, 09010 PULA (CA - Italy)<br>
<br>
<br>
Phone: <a href="tel:070%2F9250266" value="+390709250266" target="_blank">070/9250266</a><br>
Email: <a href="mailto:luca.lianas@crs4.it" target="_blank">luca.lianas@crs4.it</a><br>
</div>
<br>
</div>