- Plesk for Linux
Uploading a backup file via the Backup Manager times out.
In the logfile
/var/log/sw-cp-server/error_logthe following error message appears:
CONFIG_TEXT: [error] 25312#0: *59 client intended to send too large body: 1200002689 bytes, client: 203.0.113.2, server: , request: "POST /plesk/server/backup/local-repository/upload/ HTTP/1.1", host: "203.0.113.2:8443", referrer: "https://203.0.113.2:8443/plesk/server/backup/local-repository/upload/"
The maximum allowed upload size is less than a backup file size.
Connect to a Plesk server via SSH.
Open the file
/etc/sw-cp-server/configin any text editor and navigate to the line "client_max_body_size".
Increase the value of
client_max_body_size. For example, if a backup file size is 1.2GB, set the value to 1300MB:
CONFIG_TEXT: client_max_body_size 1300m;
Note: Maximum size of an uploaded backup file is limited to 2Gb. If a backup file size is larger than 2Gb, upload this backup file via a command-line interface.
Restart the "sw-cp-server" service:
# service sw-cp-server restart
- Upload a backup file again.