-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PATCH 500 error, "Lockfile created, but doesn't exist" on Azure Kubernetes Service #257
Comments
Thank you for the detailed report. I am quite certain that this is caused by the Azure Files mount not supporting symbolic links. These links are used by tusd internally for the lockfiles that are mentioned in the error messages. Something similar can happen when using tusd inside a VM where symbolic links are also not supported, see https://github.com/tus/tusd#can-i-run-tusd-inside-a-vmvagrantvirtualbox. It would be nice if you could try to manually create a symbolic link on the Azure Files volume and see if that actually works. If it doesn't than my theory is probably right. If it does work, then we need to keep searching. |
You are correct, I got the following error: ln: failed to create symbolic link '/uploads/blah_link': Operation not supported So is the only course of action to switch to a different storage type? If so I can try setting up an NFS container connected to Azure Disks. I tried creating a symbolic link on there and didn't have an issue. |
I was able to get around this by using an NFS server. Thanks for very much for your help! |
I am glad to hear that you found a solution! I extended the FAQ entry in the Readme to cover this situation. |
I have the some problem with IBM Cloud Object Storage. Any possible ways to work around this? |
@Nemox Please open a new issue with more details on your setup and what the problem is. |
I have tusd running in a Ubuntu docker container. I have a persistent volume claim with ReadWriteMany access mounted on the pod, and am running the image using the docker CMD command. The docker image is a custom image built with the following dockerfile:
The pvc is mounted to /uploads using the following Kubernetes YAML file:
and this is the YAML for the pvc:
I am also running tusd behind nginx, however I believe this issue is unrelated. I can provide my nginx.conf if anyone thinks it is relevant. A snippet of the output from tusd is as follows:
Any help or advice is appreciated, I realize this might be an issue with Azure Files.
The text was updated successfully, but these errors were encountered: