Migrating a website to a new server or domain can be a complex and time-consuming task. Fortunately, there are several tools available to help automate the process and make it more manageable.
One of the most popular migration tools is the All-in-One WP Migration plugin, which allows users to export and import their website content, including themes, plugins, and media files.
However, like any other software tool, the plugin can run into issues, with one of the most common being the import process getting stuck.
Import stuck issues can be frustrating, especially if you have a large website or are on a tight schedule.
If you’re experiencing import-stuck issues with the plugin, don’t worry.
There are several methods you can use to fix the problem, and we’re here to help.
In this blog post, we’ll explain why import-stuck issues can occur and provide step-by-step solutions to help you resolve them quickly and easily.
By the end of this post, you’ll have the knowledge and confidence to tackle any import-stuck issues that you may encounter when using the plugin.
All-in-One WP Migration Import & Export Stuck Issue
Reasons for Import & Export Stuck Issues
Import-stuck issues can occur for several reasons, including:
A. Large file size: If you’re importing a large website, the size of the file can impact the import process. The All-in-One WP Migration plugin has a limit on the size of the file that can be imported. If your file is larger than the limit, it may get stuck during the import process.
B. Server limitations: Your server’s settings can also impact the import process. For example, your server may have a low PHP timeout limit, which can cause the import process to time out and get stuck.
C. Network issues: Network issues such as slow internet speeds or network interruptions can cause the import process to get stuck.
D. Software conflicts: Conflicts with other software on your server, such as security plugins or firewalls, can also cause import-stuck issues.
E. Other possible causes: Other potential causes of import stuck issues include incomplete exports, corrupted files, or outdated versions of the All-in-One WP Migration plugin.
Solutions For Import Stuck
1.Increase Upload Limit
The free version of the All-in-One WP Migration plugin doesn’t allow uploading over 500 MB, sometimes over 250 MB. In that case, we need to do some tricks with the plugin.
1.Go to Plugins>Plugin File Editor
2.Select the plugin from right-top
3.Open constants.php, locate it on the right side
4.Press CTRL+F under the coding section and find a comment of Max File Size. It can be found on line no 410.
5.In the new version, their developer has removed the line.
So you won’t find it, search ‘support@servemask.com’ and paste the following code line below
define(‘AI1WM_MAX_FILE_SIZE, 5 * 1024 * 1024)
This increases the upload limit to 20 GB. In the older version, replace the old rule with the new rule.
6.Update file, before doing this, don’t forget to deactivate the plugin and get a backup.
If you don’t see any change after updating the file, then we need to increase the server limit, which we will learn about in the next step.
2.Increase Server Upload Limit
To gain control over server resources, shared web hosting limits uploads. Because of this, we recommend cloud hosting that works perfectly and gives you full control over your resources, performance, reliability, and security.
Now follow the step to raise server limit
1.Navigate to Select PHP Version under Software
2.Open it and click on the options
3.Locate upload_max_filesize and increase its size.
Now save it.
If the upload limit in the All-In-One-WP Migration plugin doesn’t increase, then you should enlarge post_max_size, located in options.
3.Server Time Out
Shared hosting not only sets limitations on uploading but also on max_execution_time. So after a while, the server times out, especially while uploading a large file.
In the Select PHP Version options, you can change the value of execution_time.
4.Plugin conflicts
If you’re using WordPress, there is a possibility that multiple plugins may conflict with each other because of rogue coding, improper speed optimization, or using the most advanced PHP version. You can fix it with the guide.
5.Alternative Method
We love the Migrate Guru plugin as it uses its own server resource for migration.
So no load on the origin server, no server crashes, and no storage space is required.
It can clone 1 GB of sites in under 30 minutes and move sites as large as 200 GB.
We have migrated more than 100 client sites through this amazing plugin.
To migrate your site from the plugin, you need to follow the simple steps:
1.Install WordPress on new server
2.Get FTP details, server IP and pubilc_html root folder path
3.Install Migrate Guru on the old server
4.Enter email address and press Migrate Site.
5.Select your new host, if it is not listed here,
Click on other hosts down there.
6.Fill out the following information in the following form.
- Destination site url
- Destination server IP
- FTP username
- FTP password
- Directory path: /public_html/ (in most cases)
7.Click migrate button.
Solution To Fix All in One WP Migration Exporting Database Stuck
1.Clean Up Disk
If your export progress has been stuck at somewhere or 100%, it is very likely that your disk has become full.
It is a common mistake with shared hosting. You can now take some beneficial action to clean up your disk.
- Install WP Optimize plugin and clear post revisions, auto-drafted posts, trashed comments, etc
- Delete unused plugins and theme
- Delete previous backup files from file manager
- Clear error log in root folder
- Delete unused videos, audios and images from media gallery
- Clean eamils
If the problem persists, the server timeout could be to blame. It should be increased.
If you are still facing issues while migrating, let me know in the comment box. We will be pleased to help you.
Meet Ravi Kumar, our web hosting and WordPress speed optimization guru with over 4 years of experience. He’s optimized 150+ websites, uncovering common VPS performance issues. Armed with insights, Ravi ensures smooth VPS experiences for all.
Everytime I try to fix stuff myself, it’s always a disaster. But your guide on the server timeout thing gave me hope. Tried it, messed up, but learned a lot. So, thanks, I guess?
hey so i was reading about the clean up disk part and im kinda lost. like where do i even start with that? do i need special tools or what? help pls!!
okay, i tried everything, listed here, and nothing’s working, maybe it’s a sign, i should give up on my site, thoughts anyone?
Oh wow, another revolutionary article telling me to increase my upload limit. If only I had thought of that. Here’s a thought, how about a real solution for once?
this tech stuff so hard man, but ur article helps a bit. Cleanup disk was good idea but how do I do it lol?
Thanks for the uplift, Ravi! Your guide on dealing with the import stuck made my day. It’s amazing how a little tweak like increasing the server timeout can do wonders. Cheers for helping us out!
i dunno bout this, like why my site gotta be so complicated to move? aint there a button that do it for me lol. anyone got a easy fix for this???
I’m not convinced. I’ve tried these so-called solutions and still stuck with the exporting database issue. Seems like this plugin has its limits, no?
hello there, I was trying the alternative method cause nothing else worked and im not sure I did it right. Can someone explain it a bit simpler for a newbie like me?
Increasing server upload limit, huh? Next, you’ll tell me turning it off and on again fixes everything. In all seriousness, great tips, Ravi.
so i was tryin this all in one wp migration thingy n it just stops. founf ur piece on why it’s get stuck. tried the server time out didt work. What do i do now?????
Hey Mitch, it sounds like you might need to check for plugin conflicts as the article suggests. Deactivate other plugins and see if that helps!
hey ravi, nice article on WP Migration stuck issues. i tried upping my upload limit like u suggested but it’s still no go. anyone else got tricks to fix this?