<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Hi everyone,</span><div><font color="#222222" face="arial, sans-serif"><br></font><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
since OMERO version 4.3, I can't set the omero.data.dir parameter using the omero.properties file.</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Even if I change the value of this variable, when the server starts it looks for the default /OMERO directory in the file system.</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
In my omero.properties file I have</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
...</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div>omero.data.dir=/opt/omero_4.4/data/</div><div>...</div><div><br></div><div>but when I run</div><div>
<br></div><div>./dist/bin/omero admin start</div><div><br></div><div>I get</div><div>...</div><div>FATAL: OMERO directory does not exist: /OMERO</div><div><br></div><div>and when looking at the omero.properties file into the generated blitz.jar I find</div>
<div><br></div><div>...</div><div>omero.data.dir=/opt/omero_4.4/data/</div><div>...</div><div>(and this is weird...)</div><div><br></div><div>of course, using the</div><div> </div><div>./dist/bin/omero config set omero.data.dir /opt/omero_4.4/data/</div>
<div><br></div><div>fixes the problem.</div><div><br></div><div>It seems that the only parameter affected by this problem is the omero.data.dir, I never experienced problems with DB config parameters and other variables in the omero.properties file (I also added some new vars and everything was fine).</div>
<div><br></div><div>Luca</div></div><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>