Hi, we are seeing a reproducible large upload failure with Appwrite 1.8.0 using S3-compatible storage through RustFS.
A file upload of about 10.7 GB consistently fails around the 1651st 5 MB chunk with a 500 error. In the logs we also saw: Invalid document structure: Attribute "metadata" has invalid type. Value must be a valid string and no longer than 75000 chars.
Our current understanding is that Appwrite stores multipart upload state in the internal files.metadata field, and that this field becomes too large when many chunks are uploaded. We also checked the current state and found:
Appwrite 1.9.0 is out, but we could not find a clear fix for this in the release notes in the 1.9.0 source, files.metadata still seems to be limited to 75000 the 1.9.0 migration even appears to set bucket metadata to 65534 So our question is: is this understanding actually correct, or are we missing something? If the upload logic is still the same, it looks like this issue would happen earlier in 1.9.0 rather than later.
Is there an official fix or recommended workaround for this?
thanks and best regards Matthias
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...