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
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...