Upload error code 202″ HTTP error 413
-
I am attempting to restore my wordpress site from updraftplus backup files made last week. There are five files. The first is a small gunzip file that is 1.2MB. It uploads perfectly
The remaining files are zip files starting at 2.4MB and going up to 35MB (yes, this is a small website). Each of the remaining files attempts to upload, reaches what appears to be about 2MB, stops and gives me the 202 error code.
I am running my website on my own server with Ubuntu 20.04, nginx, mariadb, php and wordpress 5.5.1.
I have made the following configuration file changes:
In nginx.conf, I added the following:
client_max_body_size 200M;
In php.ini, I modified the following:
upload_max_filesize = 200M max_file_uploads = 20 Post_max_size = 256M
In wp-config.php, I added the following:
@ini_set( 'upload_max_filesize' , '200M' ); @ini_set( 'post_max_size' , '256M' ); @ini_set( 'memory_limit' , 256M' );
Even with these parameters set in the three configuration files I am still getting the message
413 Request Entity Too Large nginx/1.18.0 (Ubuntu)Can anyone help?
The page I need help with: [log in to see the link]
- The topic ‘Upload error code 202″ HTTP error 413’ is closed to new replies.