Unable to increase upload size above 2GB Matrix
-
Hello, I trying to change the max uplaod size in a matrix server. I have set the max upload size to around 10gb but whenever I upload anything that is above 2gb it fails saying "The file 'name' failed to upload."
I tried to change it to 5gb or even 3gb in the homeserver.yaml file but it just fails.
Is there anyway to fix thisThank you
-
Here is the logs when I try to upload a file https://paste.ubuntu.com/p/Tn8ByHVWkB/
is there anything else that I should change other than the 'homeserver.yaml" file?
-
For some reason I can't reach the ubuntu.com paste url. I get a 502 error. You could use https://paste.cloudron.io/ as well.
-
-
Here is another try (this one is cleaner)
https://paste.cloudron.io/igazinamek.apache -
Just to double check, you are adjusting the
max_upload_size
in/app/data/configs/homeserver.yaml
correct ? Did you also restart the app after you changed it?Also, to check the obvious, is your synapse server hosted on Cloudron ?
-
-
@Muhanand said in Unable to increase upload size above 2GB Matrix:
had to restart to be able to try to upload a larger file or it will say file is too big
does this mean, it works now?
-
quick question: What is the purpose of uploading such large files?
-
@Muhanand looks like a known problem . See https://github.com/element-hq/synapse/issues/12023
-
@Muhanand I think luckow means to ask why upload such large files to a chat , instead of say some filehosting program like say nextcloud
-
@girish said in Unable to increase upload size above 2GB Matrix:
@Muhanand looks like a known problem . See https://github.com/element-hq/synapse/issues/12023
seems to be the same, it didn't work in a e2e room, but started the upload in an unencrypted room, still failed but it started.
I setup a matrix server without cloudron a couple months ago and it didn't have this issue
don't know if this is from synapse or cloudron tbh -
@Muhanand per the bug report, it fails for encrypted and unencrypted rooms (in the description of the issue).