When Installing 2.1.1, I encountered the following:
VM needs update, ok, then Win10 restarts
starting Local, then at the configuring screen, at "Hosts"section, a series of errors (see below) appear and then it hangs up indefinitely with spinning wheel.
Errors (from log, but they appeared in popups)
Nov 6, 2017, 12:41 AM GMT+2 - error: [main/docker-create-machine] Error creating machine: Error in driver during machine creation: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm local-by-flywheel --type headless failed:
Nov 6, 2017, 12:41 AM GMT+2 - error: [main/docker-create-machine] VBoxManage.exe: error: The virtual machine ‘local-by-flywheel’ has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\bogdansusala.docker\machine\machines\local-by-flywheel\local-by-flywheel\Logs\VBoxHardening.log’
Nov 6, 2017, 12:41 AM GMT+2 - error: [main/docker-create-machine] VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
Nov 6, 2017, 12:41 AM GMT+2 - error: [main/docker-create-machine]
Nov 6, 2017, 12:41 AM GMT+2 - info: [main/docker-create-machine] Unable to create Docker Machine.
Copy somewhere else the previous site folder(s) from your [YourPC]>C:>Users>[yourusername]>Local Sites>
Close Local
Delete site(s) folder from above path
Rerun Local
Delete site(s) from Local interface by right clicking on name, check delete files also.
Recreate a site with the same name and THE SAME DOMAIN NAME (suspect to be important, did not checked thoroughly; also seems to be related to the change from .dev to .local in 2.1.1; my old domain name was with .dev, I entered it exactly like it was previously in the form field presented during site creation, not later in Local); create with Preferred environment settings, that worked for me, even I suspect previous environment were custom (did not saved previous environment server/php/mysql to confirm it’s ok)
Local will create/install WP etc. New site will probably be started, be sure to stop it
Go to above Local Sites folder, delete the newly created site’s folder.
Copy back the saved folder in step 6
Start site
Right-click on the site in Local and go to “Open Site SSH”
Enter “myloader -p root -d /app/sql --overwrite-tables --database local” (without quotes); This will overwrite/load in the SQL files in /app/sql