Local Community

Error creating machine

Hi everyone, here I got some troubles: after installation which goes fine Local can’t launch the Host machine. I tried to unistall and reinstall Local and VirtuaBox. I’m running Local on my Macbook Pro and OsX 10.13.4.
Someone can help me please?
Here is the log:

May 30, 2018, 8:52 PM GMT+2 - info: [main/index] Existing Pressmatic data does not exist.
May 30, 2018, 8:52 PM GMT+2 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'error getting state for host local-by-flywheel: machine does not exist\n' }
May 30, 2018, 8:52 PM GMT+2 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-does-not-exist' ]
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] Starting Docker Machine Creation...
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] Attempting to delete existing Local host machine.
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] USING IP:  192.168.95.1/24
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] Removing existing Docker Machine
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] null 'About to remove local-by-flywheel\nWARNING: This action will delete both local reference and remote instance.\n' 'Error removing host "local-by-flywheel": Host does not exist: "local-by-flywheel"\nCan\'t remove "local-by-flywheel"\n'
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] Creating Docker Machine... --virtualbox-boot2docker-url=file:///Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] Creating machine with  
[ 'create',
  '--driver=virtualbox',
  '--virtualbox-hostonly-cidr',
  '192.168.95.1/24',
  '--virtualbox-boot2docker-url=file:///Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso',
  '--virtualbox-disk-size',
  '120000',
  'local-by-flywheel' ]
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] Running pre-create checks...
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] Creating machine...
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Downloading /Users/cauland/.docker/machine/cache/boot2docker.iso from file:///Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso...
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Creating VirtualBox VM...
May 30, 2018, 8:52 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Creating SSH key...
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Starting the VM...
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Check network to re-create if needed...
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Creating a new host-only adapter produced an error: /usr/local/bin/VBoxManage hostonlyif create failed:
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) 0%...
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Progress state: NS_ERROR_FAILURE
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) VBoxManage: error: Failed to create the host-only adapter
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) 
May 30, 2018, 8:53 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) This is a known VirtualBox bug. Let's try to recover anyway...
May 30, 2018, 8:53 PM GMT+2 - error: [main/docker-create-machine] Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
May 30, 2018, 11:29 PM GMT+2 - info: [main/docker-create-machine] Unable to create Docker Machine.

Same Problem since 24 hours. Can not create machine and process gets stuck on host machine. I am on windows 10. It was working fine for six months on this machine and yesterday i was cloning one website and it hanged. Since then I can not make local work.

Five installs and uninstalls of VM and Local and also removal of git, android studio but
same problem persists. Here is my log file.

May 31, 2018, 3:36 PM GMT+5:30 - info: [main/index] Existing Pressmatic data does not exist.
May 31, 2018, 3:36 PM GMT+5:30 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
May 31, 2018, 3:36 PM GMT+5:30 - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-does-not-exist' ]
May 31, 2018, 3:36 PM GMT+5:30 - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/virtualbox-installer-windows] VirtualBox installed!
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] Starting Docker Machine Creation...
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] USING IP:  192.168.95.1/24
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] Removing existing Docker Machine
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] null 'About to remove local-by-flywheel\nWARNING: This action will delete both local reference and remote instance.\n' 'Error removing host "local-by-flywheel": Host does not exist: "local-by-flywheel"\nCan\'t remove "local-by-flywheel"\n'
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] Creating Docker Machine... --virtualbox-boot2docker-url=file://C:\Users\Lenovo\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] Creating machine with  
[ 'create',
  '--driver=virtualbox',
  '--virtualbox-hostonly-cidr',
  '192.168.95.1/24',
  '--virtualbox-boot2docker-url=file://C:/Users/Lenovo/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso',
  '--virtualbox-disk-size',
  '120000',
  'local-by-flywheel' ]
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] Creating CA: C:\Users\Lenovo\.docker\machine\certs\ca.pem
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] Creating client certificate: C:\Users\Lenovo\.docker\machine\certs\cert.pem
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] Running pre-create checks...
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Image cache directory does not exist, creating it at C:\Users\Lenovo\.docker\machine\cache...
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] Creating machine...
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Downloading C:\Users\Lenovo\.docker\machine\cache\boot2docker.iso from file://C:/Users/Lenovo/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso...
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Creating VirtualBox VM...
May 31, 2018, 3:37 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Creating SSH key...
May 31, 2018, 3:40 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Starting the VM...
May 31, 2018, 3:40 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Check network to re-create if needed...
May 31, 2018, 3:40 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
May 31, 2018, 3:40 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #4"
May 31, 2018, 3:40 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
May 31, 2018, 3:40 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
May 31, 2018, 3:40 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Waiting for an IP...
May 31, 2018, 3:44 PM GMT+5:30 - error: [main/docker-create-machine] Error creating machine: Error in driver during machine creation: Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded
May 31, 2018, 3:44 PM GMT+5:30 - info: [main/docker-create-machine] You can further specify your shell with either 'cmd' or 'powershell' with the --shell flag.
May 31, 2018, 3:44 PM GMT+5:30 - info: [main/docker-create-machine]  
May 31, 2018, 3:44 PM GMT+5:30 - info: [main/docker-create-machine] Unable to create Docker Machine.
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/index] Existing Pressmatic data does not exist.
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Stopped\n', stderr: '' }
May 31, 2018, 3:53 PM GMT+5:30 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-halted' ]
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/docker-machine] Checking Boot2Docker.iso hash
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/docker-machine] Boot2Docker.iso hash does not match!
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/docker-machine] Copying C:\Users\Lenovo\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso to C:\Users\Lenovo\.docker\machine\machines\local-by-flywheel\boot2docker.iso
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/docker-machine] Running  C:\Users\Lenovo\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe start local-by-flywheel
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/docker-machine] Starting "local-by-flywheel"...
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
May 31, 2018, 3:53 PM GMT+5:30 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
May 31, 2018, 3:58 PM GMT+5:30 - info: [main/index] Existing Pressmatic data does not exist.
May 31, 2018, 3:58 PM GMT+5:30 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Stopped\n', stderr: '' }
May 31, 2018, 3:58 PM GMT+5:30 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-halted' ]
May 31, 2018, 3:58 PM GMT+5:30 - info: [main/docker-machine] Checking Boot2Docker.iso hash
May 31, 2018, 3:58 PM GMT+5:30 - info: [main/docker-machine] Boot2Docker.iso hash does not match!
May 31, 2018, 3:58 PM GMT+5:30 - info: [main/docker-machine] Copying C:\Users\Lenovo\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso to C:\Users\Lenovo\.docker\machine\machines\local-by-flywheel\boot2docker.iso
May 31, 2018, 3:58 PM GMT+5:30 - info: [main/docker-machine] Running  C:\Users\Lenovo\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe start local-by-flywheel
May 31, 2018, 3:58 PM GMT+5:30 - info: [main/docker-machine] Starting "local-by-flywheel"...
May 31, 2018, 3:58 PM GMT+5:30 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
May 31, 2018, 3:59 PM GMT+5:30 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
May 31, 2018, 4:56 PM GMT+5:30 - info: [main/index] Existing Pressmatic data does not exist.
May 31, 2018, 4:56 PM GMT+5:30 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
May 31, 2018, 4:56 PM GMT+5:30 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-does-not-exist' ]
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] Starting Docker Machine Creation...
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] USING IP:  192.168.95.1/24
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] Removing existing Docker Machine
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] null 'About to remove local-by-flywheel\nWARNING: This action will delete both local reference and remote instance.\n' 'Error removing host "local-by-flywheel": Host does not exist: "local-by-flywheel"\nCan\'t remove "local-by-flywheel"\n'
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] Creating Docker Machine... --virtualbox-boot2docker-url=file://C:\Users\Lenovo\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] Creating machine with  
[ 'create',
  '--driver=virtualbox',
  '--virtualbox-hostonly-cidr',
  '192.168.95.1/24',
  '--virtualbox-boot2docker-url=file://C:/Users/Lenovo/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso',
  '--virtualbox-disk-size',
  '120000',
  'local-by-flywheel' ]
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] Running pre-create checks...
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] Creating machine...
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Downloading C:\Users\Lenovo\.docker\machine\cache\boot2docker.iso from file://C:/Users/Lenovo/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso...
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Creating VirtualBox VM...
May 31, 2018, 4:57 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Creating SSH key...
May 31, 2018, 4:59 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Starting the VM...
May 31, 2018, 4:59 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Check network to re-create if needed...
May 31, 2018, 4:59 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
May 31, 2018, 5:00 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #4"
May 31, 2018, 5:00 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
May 31, 2018, 5:01 PM GMT+5:30 - info: [main/docker-create-machine] (local-by-flywheel) Waiting for an IP...
May 31, 2018, 5:04 PM GMT+5:30 - error: [main/docker-create-machine] Error creating machine: Error in driver during machine creation: Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded
May 31, 2018, 5:05 PM GMT+5:30 - info: [main/docker-create-machine] You can further specify your shell with either 'cmd' or 'powershell' with the --shell flag.
May 31, 2018, 5:05 PM GMT+5:30 - info: [main/docker-create-machine]  
May 31, 2018, 5:05 PM GMT+5:30 - info: [main/docker-create-machine] Unable to create Docker Machine.

I also have this problem, i can not access my web sites. I need a fix!

@CauLand,

Sorry for the delay!

Please try the following:

  1. Quit Local if it’s running
  2. Open Terminal
  3. Run the following command and provide your password when prompted:
sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart
  1. Go to System Preferences » Security & Privacy
  2. Click on the “Allow” button if present
  3. Re-open Local

@virendra,

Again, I apologize for the late response!

If you’re still having this problem, please try manually updating VirtualBox and then restart your PC.


@bunnierabbi,

Can you please provide your local-by-flywheel.log file? See “How do I retrieve Local’s log file?” for instructions on how to do so.

Yes thank you, I ended up updating VB and the virtual machine and LOCAL started, finally.
I used that startup sudo command.

Here is my log file @clay

When my machine was not starting (aka stuck in the 'starting machine" screen ) , I 1. copied the data of the current sites. Reinstalled Local, Reinstalled an older version of Virtual BOX, deleted, reinstalled newest version of VB, and flywheel, and my virtual machine starts and the Local dashboard is running, but I can not start any of my sites.

It says

" Your wp-config.php file has an empty database table prefix, which is not supported."

I have checked the “wp-config.php” file and confirmed the $table_prefix = ‘wp_’;

I have the “Local Sites” files loaded into the root folder on my HDD as deafault. I copied the existing sites and then replaced and renamed them when I reinstalled Local by Flywheel.

Any Ideas on how to start my local sites? I need to be able to somehow work on at least one of them in the meantime!

local-by-flywheel.log (369.3 KB)

@bunnierabbi,

Please see my reply here: Error! Site container is missing. Automatic restore is not available due to missing SQL export