As our OOD instance is running on a shared system, where people also at times run pip install. We noticed that the /tmp directory is full with data, causing an error for OOD because it’s not able to write its required temporary files.
Is there a way to define an alternative path of OOD/Phusion Passenger?
Many programs respond to the TMPDIR environment variable. A quick google search indicates that pip will respond to this. Seems like you can set it to something in /etc/environment or /etc/profile.d/some_new_file.sh or similar if you want to change it for your python users.
For setting it in OOD - it may be hard to set it for nginx/passenger as something like $HOME may not evaluate correctly depending on when it’s evaluated.
That said - you can set it for the dashboard and other apps specifically. You can set the TMPDIR environment variable in /etc/ood/config/apps/dashboard/env to something like