I am unable to pull via local after using the beta. I also cannot import sites. The app is completely unusable on the beta. I’m about to factory reset so that I can actually use the sites. I can’t be zipping up and manually importing. I NEED the app for work.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
We don’t have support for this Beta release so if you can’t roll your OS back then you may run into issues. That said the import should still work, but there might be some other problem with the zip file so you can try creating a new site first, unzipping your backup and then manually moving in your WP Content and SQL. Steps here: Manually Import a Local Site
For performance reasons, the SQL dump file is only written to disk when the site is manually stopped.
After rolling back, are you saying that the sites no longer work? It’s possible that the raw DB files were affected. I’m not sure what can be done to fix those if that is the issue, but those are located in Local’s “run” folder, at ~/Library/Application Support/Local/run and then whatever the site id is.
If that’s the case, I think the best thing to do before upgrading would be to take a backup of each site by right-clicking on the site and selecting “Export.” That will create a zip archive of the site that has everything needed to restore it if something goes wrong.
Manually stopping the site so that the sql dump is generated is also an option, and I’m in the habit of always stopping sites before closing the computer or doing an upgrade so that the sites are in a restorable state at rest. But creating a zip is also a nice way of having a snapshot of things before doing something major like an OS upgrade.
I did both of those (stopped the site and exported) and looked in both places (with the site stopped) and I still don’t see the .sql file and I have hidden files enabled with CMD + SHIFT + .
No .sql file to be found in app>public
EDIT: Is this referring to the SQL file located in app>sql ?
Alright, when I import that file, I am getting this error:
Error: Failed to get current SQL modes. Reason: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Users/erin/Library/Application Support/Local/run/l8OAmT1KU/mysql/mysqld.sock' (2)
I pasted the file into app>public and ran wp db import local.sql which is the name of the sql file.
Local Connect for the MacOS Sequoia Beta is still not working, and likely won’t be addressed until closer to the public release of that OS. For now your best bet is going to be manually importing instead of pulling and then for pushes you can use the WPE Migration plugin:
@armando Apple actually released a patch for this Beta that has resolved the Local Connect issues we were seeing. So if you’re still having trouble with Local Connect + WPE it might be a different issue. Feel free to create a new post and share all of the details in the form and we’ll be glad to assist further!