
Hello!
I'm having trouble using S3 storage with appwrite for file uploads. It happens when uploading files from the Javascript SDK or from the console.
The file gets uploaded, gets sent to AWS, but somewhere in the way it gets corrupted. As you can see in the screenshots, the preview shows the file correctly, but when I open the file (or get the link through the SDK and open it), it doesn't show correctly, only a portion of it (looks like just a chunk of it has been uploaded?). Accessing the file directly through the AWS Portal, it doesn't open (encryption maybe?).
It's happening with image files and audio files, I haven't tested with other file types.
Function deployment works well, and gets saved to AWS correctly, so I think the problem is only with files.
Has this ever happened? How can I troubleshoot it - is there a place where the storage logs get shown?
Thank you in advance!

Update: disabling encryption on the Appwrite bucket, I can see the whole image directly on AWS portal, so the upload is working. This makes me think the problem lays in appwrite fetching back the file from AWS or something between the appwrite server and the client
Recommended threads
- Explore uploaded images directly from lo...
Is there any option to explore/dwonload uploaded files to from local machine? I connected through WinScp to my vps and to files from docker volume 'appwrite_app...
- Migrate Appwrite
I have appwrite setup in Coolify, where my dev and production both are running on coolify due to upgrade issues and multiple issues when deployed with coolify. ...
- After the new appwrite update, I am havi...
I am having difficulties with Creating and listing documents from appwrite database. It doesn't create the document or list the document from the database altho...
