Changing the 100Mb file size limit?

Hello,

How can I change the 100Mb file limit for downloading or moving files to an Webdav folder for example?

Regards,
Bruno Leon

Hi @brunoleonadvogado
Please take a look at the instructions provided by @Constantine

Does not allow opening files with weight greater than 100 MB

Right @Nikolas, but I don’t have that directory on my server ( */var/www/onlyoffice/WebStudio/):

Is it located inside the container? How should I proceed? I have the docker installation, running under Ubuntu server.

Regards,
Bruno Leon

Well, in that case open this configuration file inside the Community Server container
sudo docker exec -it onlyoffice-community-server bash

nano /var/www/onlyoffice/WebStudio/web.appsettings.config

Check a line
<add key="web.available-file-size" value="524288000" /> in this file. Change value. (524288000 byte = 500 МB)
After that restart the Mono service using the command:
service monoserve restart

Hey,

I’m having the same issue in workspace. Change the line in web.appsettings.config to read this:

It still won’t let me upload more than 1gb. Any idea what’s going on?

Hello @matthaiduk

Please let me know installation type of your Workspace.

1 Like

It’s installed with docker on ubuntu server.

Here is how it can be done with MySQL and database:

Before performing any of the following steps I’d recommend preparing whole system backup. Any unnecessary changes to the database may cause various issues. Proceed with caution.

  1. Check the password (MYSQL_ROOT_PASSWORD) for the database by executing the command: sudo docker exec onlyoffice-mysql-server env
  2. Enter the container with MySQL DB: sudo docker exec -it onlyoffice-mysql-server bash
  3. Connect to MySQL DB: mysql -u root -p(password from the output)
  4. Choose database with command: use onlyoffice;
  5. Execute the command: select * from tenants_quota;
  6. Update the column in table: update tenants_quota set max_file_size=required_size (in Mb) where tenant = -1000; (please send me a screenshot of the output of the command above before executing this command);
  7. Exit DB and exit the container exit;
  8. Restart monoserve service of Community Server container: sudo docker exec -it onlyoffice-community-server service monoserve restart.

After that upload size limit will be changes and you may try uploading again.