Local installation stuck on 'Host Machine'

Hi, I have looked at some similar topics, but am finding them a bit unfathomable. Although I did follow an instruction to go into the BIOS and enable virtualisation and it would seem a result of that a new programme has been added by the name of ‘Oracle VM Virtual Box’ However, installation is still stuck when it gets to ‘Host Machine’. Here is my log file:

Feb 24, 2018, 1:49 PM GMT - info: [main/index] Existing Pressmatic data does not exist.
Feb 24, 2018, 1:49 PM GMT - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Feb 24, 2018, 1:49 PM GMT - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-does-not-exist' ]
Feb 24, 2018, 1:52 PM GMT - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
Feb 24, 2018, 1:54 PM GMT - info: [main/index] Existing Pressmatic data does not exist.
Feb 24, 2018, 1:54 PM GMT - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Feb 24, 2018, 1:55 PM GMT - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-does-not-exist' ]
Feb 24, 2018, 1:55 PM GMT - info: [main/docker-create-machine] Starting Docker Machine Creation...
Feb 24, 2018, 1:55 PM GMT - error: [main/index] Error: Command failed: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list hostonlyifs
VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code REGDB_E_CLASSNOTREG (0x80040154) - Class not registered (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or failed to start.

    at checkExecSyncError (child_process.js:493:13)
    at Object.execFileSync (child_process.js:513:13)
    at Object.module.(anonymous function) [as execFileSync] (ELECTRON_ASAR.js:173:20)
    at _0x48036c (C:\Users\Shantaram\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\actions-docker\docker-create-machine.js:1:3694)
    at _child_process2.(anonymous function).(anonymous function) (C:\Users\Shantaram\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\actions-docker\docker-create-machine.js:1:9456)
    at ChildProcess.exithandler (child_process.js:209:7)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Feb 24, 2018, 3:12 PM GMT - info: [main/index] Existing Pressmatic data does not exist.
Feb 24, 2018, 3:12 PM GMT - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Feb 24, 2018, 3:12 PM GMT - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-does-not-exist' ]
Feb 24, 2018, 3:12 PM GMT - info: [main/docker-create-machine] Starting Docker Machine Creation...
Feb 24, 2018, 3:12 PM GMT - info: [main/docker-create-machine] USING IP:  192.168.95.1/24
Feb 24, 2018, 3:12 PM GMT - info: [main/docker-create-machine] Removing existing Docker Machine
Feb 24, 2018, 3:12 PM GMT - 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'
Feb 24, 2018, 3:12 PM GMT - info: [main/docker-create-machine] Creating Docker Machine... --virtualbox-boot2docker-url=file://C:\Users\Shantaram\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso
Feb 24, 2018, 3:12 PM GMT - 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/Shantaram/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso',
  '--virtualbox-disk-size',
  '120000',
  'local-by-flywheel' ]
Feb 24, 2018, 3:12 PM GMT - error: [main/docker-create-machine] dial-http tcp 127.0.0.1:51204: read tcp 127.0.0.1:51205->127.0.0.1:51204: wsarecv: An existing connection was forcibly closed by the remote host.
Feb 24, 2018, 3:12 PM GMT - info: [main/docker-create-machine] Unable to create Docker Machine.
Feb 24, 2018, 3:30 PM GMT - info: [main/index] Existing Pressmatic data does not exist.
Feb 24, 2018, 3:30 PM GMT - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Feb 24, 2018, 3:30 PM GMT - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-does-not-exist' ]
Feb 24, 2018, 3:30 PM GMT - info: [main/docker-create-machine] Starting Docker Machine Creation...
Feb 24, 2018, 3:30 PM GMT - info: [main/docker-create-machine] USING IP:  192.168.95.1/24
Feb 24, 2018, 3:30 PM GMT - info: [main/docker-create-machine] Removing existing Docker Machine
Feb 24, 2018, 3:30 PM GMT - 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'
Feb 24, 2018, 3:30 PM GMT - info: [main/docker-create-machine] Creating Docker Machine... --virtualbox-boot2docker-url=file://C:\Users\Shantaram\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso
Feb 24, 2018, 3:30 PM GMT - 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/Shantaram/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso',
  '--virtualbox-disk-size',
  '120000',
  'local-by-flywheel' ]
Feb 24, 2018, 3:30 PM GMT - error: [main/docker-create-machine] Error getting new host: dial-http tcp 127.0.0.1:49249: read tcp 127.0.0.1:49250->127.0.0.1:49249: wsarecv: An existing connection was forcibly closed by the remote host.
Feb 24, 2018, 3:30 PM GMT - info: [main/docker-create-machine] Unable to create Docker Machine.
Feb 24, 2018, 3:47 PM GMT - info: [main/index] Existing Pressmatic data does not exist.
Feb 24, 2018, 3:47 PM GMT - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Feb 24, 2018, 3:47 PM GMT - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-does-not-exist' ]
Feb 24, 2018, 3:47 PM GMT - info: [main/docker-create-machine] Starting Docker Machine Creation...
Feb 24, 2018, 3:47 PM GMT - info: [main/docker-create-machine] USING IP:  192.168.95.1/24
Feb 24, 2018, 3:47 PM GMT - info: [main/docker-create-machine] Removing existing Docker Machine
Feb 24, 2018, 3:47 PM GMT - 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'
Feb 24, 2018, 3:47 PM GMT - info: [main/docker-create-machine] Creating Docker Machine... --virtualbox-boot2docker-url=file://C:\Users\Shantaram\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso
Feb 24, 2018, 3:47 PM GMT - 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/Shantaram/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso',
  '--virtualbox-disk-size',
  '120000',
  'local-by-flywheel' ]
Feb 24, 2018, 3:47 PM GMT - error: [main/docker-create-machine] dial-http tcp 127.0.0.1:49193: read tcp 127.0.0.1:49194->127.0.0.1:49193: wsarecv: An existing connection was forcibly closed by the remote host.
Feb 24, 2018, 3:47 PM GMT - info: [main/docker-create-machine] Unable to create Docker Machine.16:06 24/02/201816:07 24/02/2018

Install has now frozen on ‘Host Machine’ - the arrow is no longer circulating - and I have received the following error message: image

@photobill108 Did you find a solution for this? I get the same exact message and I have pretty much tried everything I can think of. Although, I have to say my setup is strange as I am trying to run Flywheel on a Windows 7 64bit on a VirtualBox install on a Mac machine. This may not be possible, but before I giveup i’ll try to exhaust all avenues.

@JP2017,

I don’t believe nested virtualization is supported by VirtualBox. Here’s a ticket in their issue tracker: https://www.virtualbox.org/ticket/4032

I use Parallels for the daily development of the Windows version of Local. You just need to make sure nested virtualization is enabled.

@photobill108,

Can you try upgrading VirtualBox to v5.2.8? Here’s the direct download link to the installer: https://download.virtualbox.org/virtualbox/5.2.8/VirtualBox-5.2.8-121009-Win.exe

Once you do that, delete/remove the local-by-flywheel VM in VirtualBox and re-open Local.

@clay Thanks. That saves me from banging my head trying to get it to work.

Thanks, I have now upgraded VirtualBox as you suggested.

With regard to your suggestion to “delete/remove the local-by-flywheel VM in VirtualBox and re-open Local”, I went looking for VMs under the drop-down menu ‘Machines’ in VirtualBox. All menu options are greyed-out, apart from ‘New’ and ‘Add’, so I assume that no VM to remove.

I’ve restarted my computer, then launch Local by Flywheel, and still receive the same error message as above. What do you suggest?

@clay - any further thoughts in response to my message of March 3? Thanks a lot!

@photobill108,

Sorry for the delay.

Can you please provide a screenshot of what you see in VirtualBox?

I am not sure what you mean. There doesn’t seem to be anything there in VirtualBox - so this is all I can see. But please let me know if there is something else you need a screenshot of.