webclient temp directory
Posted: Thu Feb 13, 2014 11:36 am
Dear all,
we recently saw a very strange behaviour of the webclient on our OMERO 4.4.9 installation. First thing we noticed was that it sometimes took up to 20 force-reload attempts in the browser (no matter which one, or which OS) until the webclient was actually displayed. Other than that it seemed to work fine, only after a few weeks I realized that the data of one of our test users was presented in a state as it was several months ago. Using Insight I was able to see the current data of this user.
That finally pointed me into the right direction and I found the reason for the above issues: during the last upgrade (4.4.5 to 4.4.9) somehow the temp directory configured in nginx for the OMERO webclient got lost. After recreating it and restarting nginx, all the issues were gone.
I've been particularly surprised by the fact that the webclient did show user data, but presented a state that it had months ago. So apparently there is some caching happening somewhere outside the (at that point non-existing) temp directory. Would it be possible to check for existence of the temp directory from within OMERO's code to prevent such out-of-sync situations for other users in the future?
Cheers
Niko
we recently saw a very strange behaviour of the webclient on our OMERO 4.4.9 installation. First thing we noticed was that it sometimes took up to 20 force-reload attempts in the browser (no matter which one, or which OS) until the webclient was actually displayed. Other than that it seemed to work fine, only after a few weeks I realized that the data of one of our test users was presented in a state as it was several months ago. Using Insight I was able to see the current data of this user.
That finally pointed me into the right direction and I found the reason for the above issues: during the last upgrade (4.4.5 to 4.4.9) somehow the temp directory configured in nginx for the OMERO webclient got lost. After recreating it and restarting nginx, all the issues were gone.
I've been particularly surprised by the fact that the webclient did show user data, but presented a state that it had months ago. So apparently there is some caching happening somewhere outside the (at that point non-existing) temp directory. Would it be possible to check for existence of the temp directory from within OMERO's code to prevent such out-of-sync situations for other users in the future?
Cheers
Niko