All-in-one WP Migrations
AI1M is a secondary tool for situations where Migrate Guru cannot be used, or a client provides a AI1M file.
Remove upload limits
Adjust these settings then revert back to defaults after migration PHP Settings:
- upload_max_filesize – set this to a value > than your backup
- post_max_size – set this to a value > than your backup
- memory_limit – set this to a value > than your backup
- max_execution_time – set this to 0 (infinite)
**Nginx Configs:
Set the maximum allowed size of the client request body **
Sets the maximum allowed size of the client request body, specified in the Content-Length request header field. If the size in a request exceeds the configured value, the 413 (Request Entity Too Large) error is returned to the client. Please be aware that browsers cannot correctly display this error. Setting size to 0 disables checking of client request body size.
Directive: client_max_body_size Config location: /etc/nginx/common/{site.url}-wpcommon.conf Context: server Unit: MB Default value: 512 Accepted value: Integer
gp stack nginx limits -site-max-body-size {accepted.value} {site.url}
Example:
gp stack nginx limits -site-max-body-size 1024 gridpane.url