The 502/503/504 are HTTP status codes that a server can send back when it was unableto complete a request. There can be several different causes for the error. Below are some common fixes when using Duplicator.
Issue AGeneral 500 Errors
During the install process you receive a more general error with a 500/502/503/504 status.
Check to make sure your host does not have a mod_security (ModSec) rule that gets tripped. On some servers running allot of database commands or even unzipping a file cantrigger a mod_security black list rule. This simply means the host your on is blocking your IP from doing certain operations. This can easily be solved by contactingyour host and making sure they don’t have a mod_security rule that is blocking you from accessing the installer properly.
Solution 23rd Party Services
There are a few issues around WordFence and Cloudflare that can cause these codes. See the FAQ below for details:
During the install process it is possible that your host might automatically lay-down a .htaccess file. Typically Duplicator works best if no .htaccess files are presentdurning the install process as some of the directives in the file can cause conflicts. If your wanting to try and resolve the issue your-self without your hosts assistance thencheck out the article below:
A 500 error in Step 1 processing on Duplicator Lite can sometimes be due to a timeout during zip extraction or on Duplicator Lite or Pro when file permissions are being set.To get around this, first do a Manual Extraction then uncheck the Files and Directorypermissions boxes on Step 1 of the installer.
If you’re using Cloudflare the below settings may help
- Log in to Cloudflare
- From Overview Page click “Advanced” > Click “Pause”
- Run installer deployment
- Turn Cloudflare back on
Issue BAJAX 503
During the install process you receive an error titled ” AJAX ERROR! STATUS:503 Service Unavailable”
Solution 1In the event the host you are on has issues with AJAX callbacks the best solution is run a manual install. For a step by step run of this processsee the FAQ item How do I do a ‘Manual Extraction’ or run installer without Zip enabled?.