Hi, I’m unable to import existing site in Local. It either gets stuck on some percentage of import (this happens if i import backup made through cPanel), or when i try to import zip with WP migrate lite it gives me vague error " Sorry, we couldn’t figure out what to do with the file."
I have latest version of Local 7.1.0 running on windows 10, using only built in firewall which i disabled.
Thanks
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
There might be something in the file that is confusing Local. This could happen if there are like multiple site backups or database backups for example.
You could attempt a more manual import. The steps would look like this:
Unzip the file in a common location, like the desktop
Create a new, blank site in Local. Use whatever username/password you like since you’ll overwrite the DB with this site archive’s dump.
Copy the wp-content folder from the unzipped location to this newly created site’s location
Copy the correct SQL dump to the site root.
Within Local, open the site shell
Import the dump with wp db import <dumpfile>
If that works, now Search and replace the domains. wp search-replace ' https://production.com ' 'http:mylocalsite.local'