renku-python
renku-python copied to clipboard
Unable to acquire lock when home directory is mounted with NFS
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
I found a workaround. Setting the home directory to be some local directory for the renku command works.
$ HOME=/scratch/mrawlik renku
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