I’m downloading backup from WPEngine, selecting this from Local to import. Using default settings. It runs to import and takes a while to import everything then at the end the site just disappears. Does not import.
Troubleshooting Questions
Does this happen for all sites in Local, or just one in particular?
No just a new import
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Replication
Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
System Details
Which version of Local is being used?
6.6.1+6281
What Operating System (OS) and OS version is being used?
For example: macOS Catalina or Windows 10 Professional
Windows 10 Enterprise
Attach the Local Log. See this Help Doc for instructions on how to do so:
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.
kg-local-logs.zip (62.9 KB)
Hi Nick, thanks for the quick reply! Log attached.
If you see anything for cambiumnetworks site that is for another site. Last import was something like site-cambiumnetworks earlier today. No password prompt.
Thanks! Since you’re on Windows do you know if you have any antivirus, security, or firewall applications that could be blocking Local? Anytime you import or pull a site you should be getting a password prompt.
More details about troubleshooting this here: Router Mode
So I sent the log files but no reference to that in your response. Did it tell you nothing useful?
Your pointing me to this Router Mode page. Are you saying I should switch mode? I’m currently able to load cambiumnetworks.local in my browser. So that is working. I’m trying to understand why I can’t set up a new site. I’m on a company computer. I have Symantec Endpoint Protection turned on. The computer was set up by our IT Dept so it’s not something I’m real familiar with. But I haven’t had issue with Local before.
When I go to Develop → Open Development tools I see this in the console
DevTools failed to load source map: Could not parse content for file:///C:/Program%20Files%20(x86)/Local/resources/app.asar/renderer/_browserWindows/app/app.css.map: Unexpected end of JSON input
Based on the logs it seems like something is interfering either with your connection or on your machine. Additionally, you mentioned not getting any password prompts which you should also be seeing anytime you are importing or creating a site.
Have you tried doing any restarts of Local or your machine?
What is the URL of your site on WPE? I can take a further look at it from our side.
Hi Nick,
Our live site is https://www.cambiumnetworks.com. I downloaded a backup of cambiumnetwork site - latest production available. I restart my computer every evening and and have restarted Local various times.
Not sure how I pulled off importing cambiumnetworks.local on the same Windows computer. It was more than a year ago so I don’t remember.
We did note that there are a couple of SQL files that may be causing issues. When imported, Local complained about them in a popup: Screenshot
It could be the triggers.sql file that is causing issues but may be others.
Because of the size of this site, if you want to get it into Local it may require a more manual workaround. Here are the steps you would follow:
Unzip the archive 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. I’m not 100% sure, but judging by the filesizes, it’s probably the wp-content/mysql.sql file
Within Local, open the site shell
Import the dump with wp db import <dumpfile> — using the above filename, it would be wp db import mysql.sql
If that works, now Search and replace the domains. wp search-replace 'https://production.com' 'http:mylocalsite.local'
I know this is a lot to unpack, but again the site of the site has sort of become a blocker for anything more traditional. If you or a developer are able to trim it down, other ways of managing it would become a lot more feasible.
Hi Nick, thank you - I appreciate the detailed reply! I definitely understand about the file size and we have a very large media library. I will check that plugin and we have discussed other options within the company. I’ll give this manual setup a try.