Fixing All-in-One WP Migration: Stuck Import Issues Explained and Solved
Content
If you're trying to migrate your WordPress site using the All-in-One WP Migration plugin and the import process gets stuck—whether at 0%, 100%, or somewhere in between—you're not alone. This is one of the most common issues users face. This guide will walk you through the likely causes and the most effective solutions based on community troubleshooting.
Why Does the Import Get Stuck?
The import process is resource-intensive. It requires your web server to handle a large file upload, process it, and then extract and write all your site's data to a new database and file system. The process most often stalls due to server-level limitations that interrupt this flow. It is rarely a bug in the plugin itself but rather a configuration mismatch between the plugin's requirements and your server's settings.
The Most Common Fix: Adjusting PHP Settings
The overwhelming solution from the All-in-One WP Migration support history is to adjust key PHP settings on your server. Your backup file size is the critical factor here. You must ensure the following settings in your `php.ini` file are all significantly larger than the size of your `.wpress` backup file.
- upload_max_filesize: This sets the maximum size for a single file upload.
- post_max_size: This sets the maximum size for all POST data, which must be larger than your file.
- memory_limit: This determines how much memory a script can consume, which is crucial for processing large files.
- max_execution_time: This sets the maximum time a script can run. Setting this to `0` allows it to run indefinitely, which is often necessary for large migrations.
How to do it: You can often adjust these settings through your hosting provider's control panel (e.g., cPanel) or by creating or editing a `php.ini` or `.user.ini` file in your website's root directory. If you are unsure how to do this, the most reliable method is to contact your hosting provider's support, explain you are performing a migration, and ask them to verify and increase these limits for you.
Step 2: Check Your Server Error Logs
If adjusting PHP settings doesn't resolve the issue, the next critical step is to investigate your server's error logs. The logs will contain specific error messages that pinpoint the exact limit being hit.
How to do it: Contact your hosting provider and request the error logs for your website around the specific time you attempted the import. Look for errors related to memory exhaustion, timeouts (like "max execution time"), or client body size (e.g., a "413 Request Entity Too Large" error from your web server, like nginx or Apache). The error message will tell you exactly which setting needs to be increased.
Alternative Method: Use the Backups Directory
If uploading through the plugin interface consistently fails, a reliable workaround is to bypass the upload step entirely.
- Access your website's files via FTP or your hosting provider's file manager.
- Navigate to `/wp-content/ai1wm-backups/`.
- Upload your large `.wpress` file directly to this folder.
- Go to your WordPress admin dashboard, then to All-in-One WP Migration > Backups. Your file should now appear in the list. Click Restore to begin the import process from there.
This method often succeeds because it avoids the web server's upload limits and only tests its processing power.
Other Considerations and Tips
- Check File Names: One user discovered that having a colon ("
:") in a filename within the archive caused an extraction error. Ensure your source site uses valid file names. - Clear Caches: Clear any server-side (OPcache, Object Caching) and plugin-based caches (e.g., W3 Total Cache) on the destination site before attempting the import.
- Fresh WordPress Install: For the cleanest results, perform the import on a fresh, minimal WordPress installation with only the All-in-One WP Migration plugin (and any necessary extensions) active.
- Plugin Conflicts: While not the most common cause, try disabling other plugins on the destination site before importing as a test.
When All Else Fails
If you have verified all server settings are correct, checked error logs, and tried the backups directory method but the import still fails at the exact same percentage, it could indicate a problem with the backup file itself. The process of creating the archive might have been interrupted. In this case, you may need to create a new export file from the original site and try again.
By methodically working through these steps—starting with server configuration—you can successfully overcome the stuck import issue and complete your website migration.
Related Support Threads Support
-
Imported successfully functionhttps://wordpress.org/support/topic/imported-successfully-function/
-
Migration from subdomain to main not workinghttps://wordpress.org/support/topic/migration-from-subdomain-to-main-not-working/
-
Does Not Pass 4.5% of Importhttps://wordpress.org/support/topic/does-not-pass-4-5-of-import/
-
Import stuck at 99%https://wordpress.org/support/topic/import-stuck-at-99/
-
How to import video length which is the format HH-MM-SShttps://wordpress.org/support/topic/how-to-import-video-length-which-is-the-format-hh-mm-ss/
-
Unable to importhttps://wordpress.org/support/topic/unable-to-import-40/
-
importing is stuck forever on 21.38%https://wordpress.org/support/topic/importing-is-stuck-forever-on-21-38/
-
import stuck at 0https://wordpress.org/support/topic/import-stuck-at-0-3/
-
Import stuck at 0%https://wordpress.org/support/topic/import-stuck-at-0-4/
-
Se me congela la cargahttps://wordpress.org/support/topic/se-me-congela-la-carga/
-
Import problemhttps://wordpress.org/support/topic/import-problem-30/
-
Uploading of import stucks at 20,86%https://wordpress.org/support/topic/uploading-of-import-stucks-at-2086/
-
Import stop in 12%https://wordpress.org/support/topic/import-stop-in-12/
-
Importing gets stuckhttps://wordpress.org/support/topic/importing-gets-stuck/
-
Import Sitehttps://wordpress.org/support/topic/import-site/
-
How Long Does Import Take?https://wordpress.org/support/topic/how-long-does-import-take/
-
Import stuck at 0.00%https://wordpress.org/support/topic/import-stuck-at-0-00-3/
-
new update stopped importing the sitehttps://wordpress.org/support/topic/new-update-stopped-importing-the-site/
-
Import is stuck at 3.90https://wordpress.org/support/topic/import-is-stuck-at-3-90/
-
Upload to 2% on importhttps://wordpress.org/support/topic/upload-to-2-on-import/
-
Import block at 0.05%https://wordpress.org/support/topic/import-block-at-0-05/
-
[NSFW] Import File Stuck at 71%https://wordpress.org/support/topic/import-file-stuck-at-71/
-
I can’t import my website to another websitehttps://wordpress.org/support/topic/i-cant-import-my-website-to-another-website/
-
Import stops at 0.01%https://wordpress.org/support/topic/import-stops-at-0-01/
-
Import Not Working, Shows 100%https://wordpress.org/support/topic/import-not-working-shows-100/
-
Stuck in restoring fileshttps://wordpress.org/support/topic/stuck-in-restoring-files/
-
Import Stuck at 92%https://wordpress.org/support/topic/import-stuck-at-92/
-
Site import fails after 77%https://wordpress.org/support/topic/site-import-fails-after-77/
-
import stuck at 88.79%https://wordpress.org/support/topic/import-stuck-at-88-79/
-
Stuck on 0.08%https://wordpress.org/support/topic/stuck-on-0-08/
-
IMPORT STUCK AT 0.01%https://wordpress.org/support/topic/import-stuck-at-0-01-2/
-
File import fails around 22%https://wordpress.org/support/topic/file-import-fails-around-22/
-
Stuck at 0%https://wordpress.org/support/topic/stuck-at-0/
-
Import is stucked in between Dec 2021 Updated Version not workinghttps://wordpress.org/support/topic/import-is-stucked-in-between-dec-2021-updated-version-not-working/
-
Import stuck at 0.16 percent no matter whathttps://wordpress.org/support/topic/import-stuck-at-0-16-percent-no-matter-what/
-
Importing stuck on 0.05%https://wordpress.org/support/topic/importing-stuck-on-0-05/
-
import “stop import” not workinghttps://wordpress.org/support/topic/import-stop-import-not-working/
-
Import stuck at 100 %https://wordpress.org/support/topic/import-stuck-at-100-3/
-
Import file stuckhttps://wordpress.org/support/topic/import-file-stuck/
-
100% stuckuphttps://wordpress.org/support/topic/100-stuckup/
-
STUCK AT 100%https://wordpress.org/support/topic/stuck-at-100-8/
-
Backup Import Stuck at 31%https://wordpress.org/support/topic/backup-import-stuck-at-31/
-
Stuck after few % of importhttps://wordpress.org/support/topic/stuck-after-few-of-import/
-
Import stuck at “Controllo comapatibilità estensioni”https://wordpress.org/support/topic/import-stuck-at-controllo-comapatibilita-estensioni/
-
Erro ao importarhttps://wordpress.org/support/topic/erro-ao-importar/
-
Import is stuck at 0%https://wordpress.org/support/topic/import-is-stuck-at-0/
-
Import bug 100%https://wordpress.org/support/topic/import-bug-100/
-
Upload (Import) Doesnt Starthttps://wordpress.org/support/topic/upload-import-doesnt-start/
-
Keeps getting stuck on 16.* percenthttps://wordpress.org/support/topic/keeps-getting-stuck-on-16-percent/
-
Compatibility Check does not stophttps://wordpress.org/support/topic/compatibility-check-does-not-stop/
-
Import bughttps://wordpress.org/support/topic/import-bug-5/
-
Import Halted at 100%https://wordpress.org/support/topic/import-halted-at-100/
-
Import process stopped at 2.72%https://wordpress.org/support/topic/import-process-stopped-at-2-72/
-
PROBLEMAS EN MIGRAR PAGINAhttps://wordpress.org/support/topic/problemas-en-migrar-pagina-2/