I’m becoming more and more hesitant on relying on Local to develop locally. It’s very frustrating when updates bash your local development environment, putting all development on hold and projects at risk.
Here’s what’s going on.
I recently updated to v.2.0.2, received a 500 error, went to Virtual Box to reset (as suggested in another forum post), now it looks like I have both a local-by-flywheel VB and pressmatic VB (?). I’m getting the Local app to open for a few seconds — then immediately close with the following errors (log below).
Update 3:
After a macOS restart, we’re back to square one. I can’t get past the “Starting Local Machine” screen - if the app stays open. log.log (6.5 KB)
Update 4:
Here’s an updated shot of my Virtual Box. Sometimes the app stays open. I still get the “Container is missing” error on all my sites. This last time I added a site to see if it would work - though I’m getting a ‘502 Bad Gateway’ error, even upon a Local Machine restart via the Help Menu.
I’m just filling in the details and keeping this up to date so we’re on the same page.
Thanks @marianco for the follow up. I’ve done that and have the “Container is missing” notification on every site. I also set up a fresh site (to see if it works) and I get a 502 Bad Gateway error on that.
I’m downloading 2.0.3 currently. What do you mean with the VirtualBox VM? I don’t believe I deleted anything there? Will 2.0.3 resolve the missing container issues on all my sites?
As long as you didn’t delete the VM your containers should be fine.
You’ll need to edit that JSON file you changed in ~/Library/Application Support/Local by Flywheel to have it look for pressmatic again instead of local-by-flywheel
Thanks Clay, removing that file did resolve the quitting issue. This is what I get currently now (while it’s on “Checking System”). Should I go ahead and apply the 2.0.3 update?
I’m on 2.0.3 now. If I remove the machine.json file, then I can get past the “Checking System” view, although none of my site containers are resolving — and the test site I created is resulting in a 502 Bad Gateway.
Is there any way to resolve the containers that are showing up “missing” — or do I now need to rebuild and migrate all of those sites? I’m mostly concerned about all my projects that are not functioning currently.
Considering the biggest concern is your existing sites, I just wanted to remind you to keep the machine set to pressmatic when trying this.
After you switch that back to pressmatic, go ahead and delete dockerode-options.json in ~/Library/Application Support/Local by Flywheel.
Once you delete dockerode-options.json, open up VirtualBox.app and right-click on pressmatic and go to “Reset”. After you see it restarting (preferably with the ASCII whale in the preview), you can re-open Local.