Stuck in Host Machine Installation

Hi,

I’m trying to install Local Flywheel but it is stuck in the Host Machine step. I also try to install it thrice but still getting stuck on the same place. I’m using Windows 7 and can some help me in it. The log is shown below.

Dec 20, 2017, 1:41 PM GMT+5 - info: [main/index] Existing Pressmatic data does not exist.
Dec 20, 2017, 1:41 PM GMT+5 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Dec 20, 2017, 1:41 PM GMT+5 - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-does-not-exist' ]
Dec 20, 2017, 1:42 PM GMT+5 - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
Dec 20, 2017, 1:46 PM GMT+5 - info: [main/virtualbox-installer-windows] VirtualBox installed!
Dec 20, 2017, 1:46 PM GMT+5 - info: [main/docker-create-machine] Starting Docker Machine Creation...
Dec 20, 2017, 2:30 PM GMT+5 - info: [main/index] All Local sites are stopped. Shutting down VM.
Dec 20, 2017, 2:32 PM GMT+5 - info: [main/index] Existing Pressmatic data does not exist.
Dec 20, 2017, 2:32 PM GMT+5 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Dec 20, 2017, 2:32 PM GMT+5 - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-does-not-exist' ]
Dec 20, 2017, 2:32 PM GMT+5 - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
Dec 20, 2017, 2:32 PM GMT+5 - info: [main/virtualbox-installer-windows] VirtualBox installed!
Dec 20, 2017, 2:32 PM GMT+5 - info: [main/docker-create-machine] Starting Docker Machine Creation...
Dec 20, 2017, 4:32 PM GMT+5 - info: [main/index] All Local sites are stopped. Shutting down VM.
Dec 21, 2017, 7:56 AM GMT+5 - info: [main/index] Existing Pressmatic data does not exist.
Dec 21, 2017, 7:57 AM GMT+5 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Dec 21, 2017, 7:59 AM GMT+5 - info: [main/index] Existing Pressmatic data does not exist.
Dec 21, 2017, 7:59 AM GMT+5 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Dec 21, 2017, 7:59 AM GMT+5 - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-does-not-exist' ]
Dec 21, 2017, 7:59 AM GMT+5 - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
Dec 21, 2017, 7:59 AM GMT+5 - info: [main/virtualbox-installer-windows] VirtualBox installed!
Dec 21, 2017, 7:59 AM GMT+5 - info: [main/docker-create-machine] Starting Docker Machine Creation...
Dec 21, 2017, 9:13 AM GMT+5 - info: [main/index] All Local sites are stopped. Shutting down VM.
Dec 21, 2017, 9:18 AM GMT+5 - info: [main/index] Existing Pressmatic data does not exist.
Dec 21, 2017, 9:18 AM GMT+5 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Dec 21, 2017, 9:18 AM GMT+5 - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-does-not-exist' ]
Dec 21, 2017, 9:19 AM GMT+5 - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
Dec 21, 2017, 9:19 AM GMT+5 - info: [main/virtualbox-installer-windows] VirtualBox installed!
Dec 21, 2017, 9:19 AM GMT+5 - info: [main/docker-create-machine] Starting Docker Machine Creation...

Hi Muhammad,

Sorry for the trouble!

Can you please open CMD.exe and run the following?

%LocalAppData%\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe create --driver=virtualbox --virtualbox-disk-size 120000 local-by-flywheel

Once you do that, try re-opening Local.

I have checked it and it work for me but now it has been stuck on the Local Image. The log is also shown below.

Dec 22, 2017, 12:10 PM GMT+5 - info: [main/index] Existing Pressmatic data does not exist.
Dec 22, 2017, 12:10 PM GMT+5 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Stopped\n', stderr: '' }
Dec 22, 2017, 12:10 PM GMT+5 - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-halted' ]
Dec 22, 2017, 12:10 PM GMT+5 - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
Dec 22, 2017, 12:10 PM GMT+5 - info: [main/virtualbox-installer-windows] VirtualBox installed!
Dec 22, 2017, 12:10 PM GMT+5 - info: [main/docker-create-machine] Starting Docker Machine Creation...
Dec 22, 2017, 12:10 PM GMT+5 - info: [main/docker-create-machine] Starting existing Docker Machine...
Dec 22, 2017, 12:10 PM GMT+5 - info: [main/docker-create-machine] Started existing Docker Machine.
Dec 22, 2017, 12:10 PM GMT+5 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> { Error: spawn C:\Program Files\Oracle\VirtualBox\VBoxManage.exe ENOENT
    at exports._errnoException (util.js:1050:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'spawn C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe',
  path: 'C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe',
  spawnargs: [ 'showvminfo', '--machinereadable', 'local-by-flywheel' ],
  cmd: 'C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe showvminfo --machinereadable local-by-flywheel' } }  reason:  Error: spawn C:\Program Files\Oracle\VirtualBox\VBoxManage.exe ENOENT
    at exports._errnoException (util.js:1050:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)
Dec 22, 2017, 12:10 PM GMT+5 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> { Error: Command failed: C:\Users\123\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe ssh local-by-flywheel sh /var/lib/boot2docker/bootlocal.sh > /dev/null; sudo mount
Error: Cannot run SSH command: Host "local-by-flywheel" is not running

    at ChildProcess.exithandler (child_process.js:217:12)
    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)
  killed: false,
  code: 1,
  signal: null,
  cmd: 'C:\\Users\\123\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\extraResources\\virtual-machine\\vendor\\docker\\windows\\docker-machine.exe ssh local-by-flywheel sh /var/lib/boot2docker/bootlocal.sh > /dev/null; sudo mount' } }  reason:  Error: Command failed: C:\Users\123\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe ssh local-by-flywheel sh /var/lib/boot2docker/bootlocal.sh > /dev/null; sudo mount
Error: Cannot run SSH command: Host "local-by-flywheel" is not running

    at ChildProcess.exithandler (child_process.js:217:12)
    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)