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 -
G girish moved this topic from Support on
-
yes, using element desktop and web as the client. cloudron using Ubuntu 22.04
had to restart to be able to try to upload a larger file or it will say file is too big -
quick question: What is the purpose of uploading such large files?
-
It still doesn't work, it just shows a different error
before restart
after restart (changes to homeserver.yaml applied)
Steps to reproduce, install matrix
modify "max_upload_size:" to something above 2gb in homeserver.yaml -
@Muhanand I think luckow means to ask why upload such large files to a chat , instead of say some filehosting program like say nextcloud
-
@Muhanand looks like a known problem . See https://github.com/element-hq/synapse/issues/12023
@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).