self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

Change File upload size limit

Open inputoutput1126 opened this issue 2 years ago • 2 comments

this is less of an issue and more of a question that I can't find the answer to. My main reason for wanting to self-host revolt is to provide an experience similar to discord without an upload limit. I've successfully gotten it running locally but I cannot find where in the configuration files I can change the max upload size.

inputoutput1126 avatar Sep 23 '22 16:09 inputoutput1126

Upload limits are controlled via the Autumn.toml file, https://github.com/revoltchat/autumn/blob/master/Autumn.toml

Zomatree avatar Sep 23 '22 16:09 Zomatree

How would I be able to access that file if I have it installed w/ docker? I'm not well versed w/ docker at all

inputoutput1126 avatar Sep 23 '22 18:09 inputoutput1126

How would I be able to access that file if I have it installed w/ docker? I'm not well versed w/ docker at all

  1. Check docker containers with : docker ps -a
  2. Identify ID of Autumn container
  3. "Login" to container with : docker exec -u 0 -it <Container ID> /bin/bash
  4. Install vim or nano with : apt install
  5. Modify and save Autumn.toml file

demetera avatar Nov 06 '22 14:11 demetera

Closing as solved for now. Though you should mount Autumn.toml into the container instead.

insertish avatar Jan 24 '23 18:01 insertish

Editing line 10 [max_size = 20000000] in Autumn.toml with nano or mounting into the container does not change the file upload limits.

mlyasota avatar Feb 12 '23 03:02 mlyasota