- Plesk for Linux
Uploading a backup file to Plesk times out.
In the logfile
the following error message appears:
2014/01/25 21:41:19 [error] 25312#0: *59 client intended to send too large body: 1200002689 bytes, client: 126.96.36.199, server: , request: "POST /plesk/server/backup/local-repository/upload/ HTTP/1.1", host: "188.8.131.52:8443", referrer: "https://184.108.40.206:8443/plesk/server/backup/local-repository/upload/"
Maximum allowed upload size is less than a backup file size.
- Log in to the server via SSH .
Increase the value of
client_max_body_sizeaccordingly in the configuration file
/etc/sw-cp-server/config, e.g. if a backup file size is 1.2GB, set the value to 1200MB:
# grep client_max_body_size /etc/sw-cp-server/config
Note: Maximum upload file size can not exceed 2Gb
# service sw-cp-server restart
- Upload a backup again
Alternatively, a backup can be uploaded via a command-line interface: