Question

Increase the size limit to open files in OnlyOffice

Hello, Please help me with the following question, we contacted OnlyOffice to solve the size of the files and they gave us the following information: In the web.appsettings.config config file located in /var/www/onlyoffice/WebStudio/web.appsettings.config you have to paste next string:

<add key = “web.available-file-size” value = “524288000” />

where value defines the size of the opened file in bytes.

After making any changes to the config file please execute next command to restart the service and to apply the changes systemctl restart mono

We look for the route but the www folder does not appear, could you tell me how we can make this change.

Thank you


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
November 13, 2022

Hello @85ffabf8c0f943cab135db3887

It seems like the default path for the config file - is true - /var/www/onlyoffice

You can use the find or grep commands to either locate the config file via find or grep (search) for certain values which are found within the configuration file.

You can check these tutorials for more information on how to use both commands.

https://www.digitalocean.com/community/tutorials/using-grep-regular-expressions-to-search-for-text-patterns-in-linux

https://www.digitalocean.com/community/tutorials/how-to-use-find-and-locate-to-search-for-files-on-linux

Regards

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up