renku-python icon indicating copy to clipboard operation
renku-python copied to clipboard

Unable to acquire lock when home directory is mounted with NFS

Open mrawlik opened this issue 2 years ago • 2 comments

Renku doesn’t work if the home directory is mounted with NFS. It fails with a message:

Unable to acquire lock.
Hint: Please wait for another renku process to finish and then try again.

May be caused by a bug in a library that renku uses: https://github.com/wolph/portalocker/issues/92

mrawlik avatar Dec 12 '23 10:12 mrawlik

I found a workaround. Setting the home directory to be some local directory for the renku command works.

$ HOME=/scratch/mrawlik renku

mrawlik avatar Dec 12 '23 11:12 mrawlik

Should you be on a system that has only NFS mounted drives you can fall back to the /dev/shm mount. It should be there on most linux distros and is writeable by all users.

HOME=/dev/shm/ renku status

jkminder avatar Apr 05 '24 14:04 jkminder