Was working fine last week, booted it up today and won’t get past Checking System.
Updated to pre-release, updated virtualbox, uninstalled/reinstalled local
Nothing has helped. Currently getting this error:
Error: [main/index] TypeError: Cannot read property 'forEach' of null at exports.default (\local-by-flywheel\resources\app.asar\helpers\process-exports-vars.js:1:807)
at _child_process2.(anonymous function).(anonymous function) (\local-by-flywheel\resources\app.asar\main\actions-docker\set-docker-env.js:1:3800)
at ChildProcess.exithandler (child_process.js:289:5)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:921:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
Tried a couple of suggestions in other posts to no avail.
When I open VM while Local is open, it’s already stopped. If I open it when it’s closed, it’s stopped. If I start Local by Flywheel in VM then open Local or open Local and then start the VM process, it’s all the same outcome. There doesn’t seem to be any combination where Local starts the VM process.
Run "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm local-by-flywheel poweroff
If the command above fails, run "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm local-by-flywheel --type emergencystop
Run %LocalAppData%\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe start local-by-flywheel
Wow, that’s definitely not valid JSON. I wish I had an idea why that happened with Docker!
If you have backups of your sites or if there are recent SQL dumps in the site’s app/sql folders, I would suggest deleting the Local VM and then let Local reprovision it. Here are the steps:
Close Local
Open VirtualBox
Delete the local-by-flwheel VM
Navigate to %HomePath%\.docker\machine\machines and delete the local-by-flywheel folder
Re-open Local
Click on the “Restore” button for the sites you wish to restore
If this is not an option, let me know and we can work on rebuilding the config.json file.
This is the fix ! For Checking System stuck, Local Starting stuck and Local just waiting for IP. Restoring by deleting the VM files really worked! Thanks!