We're Hiring!

OMERO_TEMPDIR is deprecated

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

OMERO_TEMPDIR is deprecated

Postby phm » Fri May 29, 2015 1:17 pm

Hi,

After upgrading from 5.1.0 to 5.1.2 I got :
Code: Select all
/opt/OMERO.server/lib/python/omero/util/temp_files.py:140: DeprecationWarning: OMERO_TEMPDIR is deprecated. Use OMERO_TMPDIR instead.
  DeprecationWarning)


I can't remember where to define the OMERO_TMPDIR variable !!!

Thanks

Philippe
phm
 
Posts: 185
Joined: Tue Mar 19, 2013 3:39 pm

Re: OMERO_TEMPDIR is deprecated

Postby sbesson » Fri May 29, 2015 1:34 pm

Hi,

both of these variables should be defined as environment variables (see also the Client configuration).

On Linux/OSX operationg systems, you should be able to set them under a profile file (which name may depend on your system/shell) by adding:

Code: Select all
export OMERO_TMPDIR=/path/to/custom_tmp_dir


and re-sourcing this profile file or starting another shell session before restarting the server.

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: OMERO_TEMPDIR is deprecated

Postby phm » Fri May 29, 2015 1:42 pm

sbesson wrote:Hi,

both of these variables should be defined as environment variables (see also the Client configuration).

On Linux/OSX operationg systems, you should be able to set them under a profile file (which name may depend on your system/shell) by adding:

Code: Select all
export OMERO_TMPDIR=/path/to/custom_tmp_dir


and re-sourcing this profile file or starting another shell session before restarting the server.

Best,
Sebastien


Thanks Sebastien

Philippe
phm
 
Posts: 185
Joined: Tue Mar 19, 2013 3:39 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest