I am attempting to import a WP site back up into local. I’ve already downloaded the back file(.zip). Once I get through the initial wizard it gives me the following error.
Attached -
Errors x 3
Screenshot of the backup I downloaded from HostGator
Troubleshooting
Windows prompts me for Admin Privileges. However, when I say yes it still doesn’t take
I’m only running Windows Defender
The only Dev app running in Local
Windows 10
Local Version: 7.2.1+6433
I believe these are the logs. Let me know
2023/09/26 20:37:23 [emerg] 12856#13100: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/26 20:37:23 [emerg] 11024#10664: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/26 20:37:24 [emerg] 12380#9352: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/26 23:05:32 [emerg] 2432#8600: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/26 23:05:33 [emerg] 8484#11736: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/26 23:05:33 [emerg] 3888#4316: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/26 23:07:29 [emerg] 8744#8640: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/26 23:07:30 [emerg] 10608#2700: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/26 23:07:31 [emerg] 13164#3516: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 11:50:39 [emerg] 3360#10192: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 11:50:40 [emerg] 9356#8920: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 11:50:41 [emerg] 12380#5604: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:02:50 [emerg] 11368#9048: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:02:51 [emerg] 12532#13820: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:02:52 [emerg] 8756#1380: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:07:27 [emerg] 5716#9028: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:07:28 [emerg] 13532#8272: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:07:29 [emerg] 2412#13940: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:25:58 [emerg] 13468#1628: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:25:59 [emerg] 14236#7696: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2023/09/27 12:26:00 [emerg] 13764#14232: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
Based on those errors it seems like something on your machine is still blocking Local. Either Windows Defender or another program. You could try checking this:
You could also try changing your Router Mode. Preferences>Advanced>RouterMode>Localhost
Please try again with a compatible zip file indicates there might be some deeper issue with the contents of the zip file or the database. Where did this backup come from?
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.
The wp-content folder created with the new site you can rename wp-content-old or just delete it if you wish. Copy the wp-content folder from your backup to the newly created site’s location to take its place.
Copy the correct SQL file to the site root (App>Public)
Within Local, click Open Site Shell
Import the SQL file with the command wp db import filename
If that works, now Search and replace the domains. This might require more than one S/R, for example: wp search-replace production.com mysite.local wp search-replace https://mysite.local http://mysite.local
We don’t have a video for this. Something a little bit more simple you could try is unzipping your site file, and reducing it down just to wp-content and SQL files and then zipping it back up. Removing any unnecessary core files, backups, etc that could be confusing the import process.