I updated flywheel local, and it didn’t finish updating. It didn’t go well, I had to end it manually, and after that, all my sites where gone from flywheel (folders are still on the file system). And starting again, creating new sites, they don’t work well, no SSL and local router problems even when I followed the steps.
Troubleshooting Questions
Does this happen for all sites in Local, or just one in particular?
All the sites have the same “heads-up! Local’s router is having trouble starting.” If I change the router mode, then I have no SSL and I need it to work for some functionalities to work properly.
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Only with the Router mode: localhost.
Replication
I don’t really know what happened during the update. It closed suddenly with no message. I found that the new exe was downloaded, so I executed it.
System Details
Which version of Local is being used?
What Operating System (OS) and OS version is being used?
Windows 10 x64
It’s possible that there was an issue during the update process that’s related to a bug we just fixed. Can you try downloading and installing the latest version of Local (5.10.1)
Ok, I deleted all the sqls that I already had on my computer. Too much time without cleaning up. And I installed it again. Ok, it worked, the 2 last sites I created after the update were still there, and I could run them with the domain.
Now I am stuck again, it stopped working again, and I can’t run my sites… or they work shortly and later I have an Uh-oh message (see later).
I just updated today, I thought maybe it would be fixed… But it is here again, and sometimes work sometimes doesn’t and I really needed it to work fine.
Message:
[Window Title]
Error
[Main Instruction]
Uh-oh! Unable to change site domain to host.
[Content]
Error: Command failed: "C:\Users\rach1\AppData\Roaming\Local\lightning-services\php-7.4.1+14\bin\win64\php.exe" "G:\local-flywheel\resources\extraResources\bin\wp-cli\wp-cli.phar" --path="C:\Users\rach1\Local Sites\web-diy-2\app\public" --require="G:\local-flywheel\resources\extraResources\bin\wp-cli\local-wpcli-error-reporting.php" --skip-plugins --skip-themes --url=localhost:10011 "search-replace" --all-tables-with-prefix "http://localhost:10011" "http://web-diy-2.local"
Error: Required file 'local-wpcli-error-reporting.php' doesn't exist (from runtime argument).
at ChildProcess.exithandler (child_process.js:304:12)
at ChildProcess.emit (events.js:223:5)
at ChildProcess.EventEmitter.emit (domain.js:475:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
Thanks for taking a look into it. Yes, I use Avast. But it didn’t gave me any problems before, and I have been using Avast + Local for some years.
I tried disabling both the antivirus and the windows firewall just in case. A new site that I just tried creating doesn’t work (can’t access this website on wp-admin and unstyled content on fron-end) maybe some files couldn’t be copied. And the old ones give me errors like " Gateway Timeout
The gateway did not receive a timely response from the upstream server or application."
Is there something I can do to fix this? Reinstall again?
I think trying to re-import the site after Avast has been disabled is a good idea.
You can use a backup of the site, or try using the files for the site by following the steps outlined in the “Restoring From Only Local Site files” section of this help doc: