• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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