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).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
