Open bgruening opened 4 years ago
Hi @bgruening,
you can override the location that's being attempted by setting OMERO_USERDIR
. Is there a directory that it would be safe to fallback to in your case?
~Josh
Hi Josh,
in Galaxy we simply can set the HOME dir to a temp dir, thats what I did in the end. But in general, I don't think its a good idea to assume such a directory. There should be a fallback to some $TEMP or a similar mechanism, imho.
HPC environments can be tricky and they are so diverse, we have collected a few of those HPC recommendations in this article, maybe its interesting: 10.1093/gigascience/giz054
Ciao, Bjoern
Thanks @bgruening for the report, falling back to something like /tmp/omero
should be doable.
@bgruening we've got a proposal to defer to https://pypi.org/project/appdirs/ for managing user runtime directories. Would this work?
@manics probably. But keep in mind that a fallback is needed, because you can not assume a HOME directory at all.
Running Omero in a Container yields this error. I assume Omero needs to have a HOME environment set, which is can not be assumed on HPC environments.