• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved NextCloud, WebDAV, upload errors for large files

MicheleB

Regular Pleskian
Hello,
I've a problem with NextCloud (installed using Plesk's extension) and WebDAV connection.
If I try to upload a "large" file (e.g. 800MB) I receive the "server error".
2020-08-21_09-41-08.png

I've tried to search a solution on the NextCloud community forum and it seems that the issue is fixed if I change the default value in the “client_max_body_size".
So, how can I change “client_max_body_size" on Plesk?
What is the exact configuration to set in the "Additional nginx directives" (or in the "Panel.ini Editor")?
Last but not least, is there a maximum value not to be exceeded for safety reasons? For example, is dangerous if I set a value of 10G (the same value that I set in the "upload_max_filesize" for the PHP settings)?

Thanks.
 
These are the errors in the logs:
Code:
2020/08/21 10:09:43 [error] 111111#0: *22222 client intended to send too large body: 3333333 bytes, client: [myIP], server: nextcloud.[mydomain].com, request: "PUT /remote.php/dav/files/test/test.zip HTTP/2.0", host: "nextcloud.[mydomain].com"

2020/08/21 10:09:43 [error] 111111#0: * 22222 client intended to send too large body: 3333333 bytes, client: [myIP], server: nextcloud.[mydomain].com, request: "PUT /remote.php/dav/files/test/test.zip HTTP/2.0", host: "nextcloud.[mydomain].com"

2020/08/21 10:09:44 [error] 111111#0: * 22222 client intended to send too large body: 3333333 bytes, client: [myIP], server: nextcloud.[mydomain].com, request: "PUT /remote.php/dav/files/test/test.zip HTTP/2.0", host: "nextcloud.[mydomain].com"
 
If I use this instruction on Panel.ini (using "Panel.ini Editor" extension) is safe or could create issues on the server?
Code:
[webserver]
nginxClientMaxBodySize =

Is there a way to setting the "client_max_body_size" for a single hosting and and not the whole server (using for example "Additional nginx directives")?
 
Back
Top