Issue Summary
Almost all sites (5) stopped working. Randomly one still works. They all give the site can’t be reached message.
Troubleshooting Questions
- Does this happen for all sites in Local, or just one in particular?
All but one.
- Are you able to create a new, plain WordPress site in Local and access it in a Browser?
When I create a new site it works. If I try to import a site, it does not. When I imported a database from the live site using WP_CLI, the new site stopped working.
- Created a new site, and it worked
- Followed these steps and it completely stopped working:
wp db export local.sql
wp db reset --yes
wp db import live_database.sql
wp db search-replace "//liveurl.com" "//liveurl.local"
- Followed these steps and it started working again with the original database created by Local:
wp db reset --yes
wp db import local.sql
Adminer works fine. WP_CLI keeps working.
Replication
No idea. This came out of nowhere. I had been working on one site yesterday. I started a second site today and it didn’t work. Then I realized the other site wasn’t working either now. Going through the sites, none worked anymore. I restarted the computer, but it had no effect. I tried changing the domain name, nginx to apache and back, the php version. Nothing worked.
I am reporting the problem, but I am going to have to rip out Local as much as I can and reinstall. I have too much to do tonight…
System Details
- Which version of Local is being used?
Local 5.9.9+5246
I was using 5.9.7 when it started. I had to manually download 5.9.9, but the problem persists.
- What Operating System (OS) and OS version is being used?
Mac Big Sur 11.2.1
- Attach the Local Log
Local Router’s logs: Local Router's Logs - Pastebin.com
Local’s log: Local's log - Pastebin.com