If your install is stuck at “restoring X% files”, “restoring database’ or “activating mu-plugins”
1. While on “Restoring database”, leave the plugin running for another 15 minutes
2. After 15 minutes, open another tab and try to login to wp-admin with WP Admin username/password of the exported site
3. Go to settings -> permalinks and save the permalinks structure twice
At this point, your website could be successfully migrated.
If it isn’t and you get a 500 error, please edit your wp-config.php file and set WP_DEBUG to true then refresh the page and you should see an error. This may help you to determine the problem, or you can share the error with the support team here at Servmask to give you a hand.
You can also check the error log located at /wp-content/plugins/all-in-one-wp-migration/storage/error.log
Could it be my server settings?
Ideally, you will have memory_limit set to 256M, max_execution_time set to 500, and mysql.connect_timeout set to 400. You can find these settings by uploading this file (https://www.dropbox.com/s/ize8t2k4nww5iq7/phpinfo.php?dl=0) in wp-content of your imported site and then open http://YOURDOMAINNAME.COM/wp-content/phpinfo.php. (tip – use Ctr F search the data that you get)
Are you migrating from PHP5 to PHP7?
If the PHP version of your website PHP is different to the PHP version of your backup it might cause problems with the proper functioning of your website and may cause issues with some applications. This happens more commonly with migrations from PHP 5 to PHP 7.
These are some steps that you can take if you have issues on a migration with different PHP versions.
1. Make sure that all plugins are deactivated before export. This will ensure your website error is not caused by any third-party software
2. Switch to your default WordPress theme before export and Deactivate all other themes. This action will make sure that the error is not due to code in your themes
3. Set WP_DEBUG constant to true in wp-config.php file in your WordPress installation path so that you can see all errors, warnings, and notes that are received from the website during execution. This will help you to locate any problems
4. Check the error.log file in the All-in-One WP Migration plugin Storage folder. The error.log file will show you all errors and error message content received during execution. This is another approach to locating any issues and will help you narrow the problem area
5. Downgrade your PHP version to 5. This change can be applied from your hosting control panel. Some web hosts may allow you to change your PHP version.
If none of the above helps, you might need to change your WordPress hosting.