Q: Why is Nextflow returning a "... /.git/HEAD.lock: Operation not supported" error?
This problem can occur if your Nextflow pod uses an Azure Files-type (SMB) Persistent Volume as its storage medium. By default, the jgit
library used by Nextflow attempts a filesystem link operation which is not supported by Azure Files (SMB).
To avoid this problem, please add the following code snippet in your pipeline's pre-run script field:
cat <<EOT > ~/.gitconfig [core] supportsatomicfilecreation = true EOT
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article