I've got a docker swarm cluster running Appwrite with a shared file system. The appwrite service is on a separate node than the storage service and where files are storage.
When I upload a file that is a bit larger (6MB, probably needs to upload by chunk) it will fail. The logs in the appwrite service say that it got a Permission denied when trying to rename a file from /tmp/swoole.upfile.NliAkB to /storage/uploads/app-.../[where the bucket files are].
When I try to do that myself via docker exec using the mv command on a file I create with touch, I get a can't preserve ownership of '...file': Permission denied error but the file does in-fact get moved because I can docker exec ls /storage/uploads/... and see the file there now.
Has anyone run into this problem before?
My current theory is that Appwrite expects the permissions to be a certain way and I don't know what that way is.
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...