Can't install - Host already exists: "local-by-flywheel"

Can’t install Local i already deleted all files, but still can’t install

Dec 2, 2016, 10:07 PM GMT+1 - info: [main/index] before-quit:
Dec 2, 2016, 10:07 PM GMT+1 - info: [main/index] All Local sites are stopped. Shutting down VM.
Dec 2, 2016, 10:07 PM GMT+1 - info: [main/index] Existing Pressmatic data does not exist.
Dec 2, 2016, 10:07 PM GMT+1 - info: [renderer/RendererAddonLoader] Renderer Loading Addon: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/addons/local-addon-demo-urls/lib/renderer.js
Dec 2, 2016, 10:07 PM GMT+1 - info: [renderer/RendererAddonLoader] Renderer Successfully Loaded Addon: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/addons/local-addon-demo-urls/lib/renderer.js
Dec 2, 2016, 10:07 PM GMT+1 - warn: [renderer/RendererAddonLoader] Renderer Addon not enabled: local-addon-intellij-xdebug
Dec 2, 2016, 10:07 PM GMT+1 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, ‘machine-does-not-exist’ ] machine-does-not-exist
Dec 2, 2016, 10:07 PM GMT+1 - info: [main/autoUpdater] Update for darwin-x64-production-v1.3.0 is not available
Dec 2, 2016, 10:08 PM GMT+1 - info: [main/docker-create-machine] Starting Docker Machine Creation…
Dec 2, 2016, 10:08 PM GMT+1 - info: [main/docker-create-machine] IP IN USE: 192.168.75.1/24
Dec 2, 2016, 10:08 PM GMT+1 - info: [main/docker-create-machine] USING IP: 192.168.80.1/24
Dec 2, 2016, 10:08 PM GMT+1 - info: [main/docker-create-machine] Removing existing Docker Machine
Dec 2, 2016, 10:08 PM GMT+1 - info: [main/docker-create-machine] null ‘About to remove pressmatic\n’ 'Error removing host “pressmatic”: Host does not exist: “pressmatic”\nCan’t remove “pressmatic”\n’
Dec 2, 2016, 10:08 PM GMT+1 - 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
Dec 2, 2016, 10:08 PM GMT+1 - info: [main/docker-create-machine] Creating machine with
{ ‘0’: ‘create’,
‘1’: ‘–driver=virtualbox’,
‘2’: ‘–virtualbox-hostonly-cidr’,
‘3’: ‘192.168.80.1/24’,
‘4’: ‘–virtualbox-boot2docker-url=file:///Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso’,
‘5’: ‘local-by-flywheel’ }
Dec 2, 2016, 10:08 PM GMT+1 - error: [main/docker-create-machine] Host already exists: "local-by-flywheel"
Dec 2, 2016, 10:08 PM GMT+1 - info: [main/docker-create-machine] Unable to create Docker Machine.

Here’s what you can do to solve this issue:

  1. Quit Local by Flywheel if it’s running
  2. Open up VirtualBox.app in /Applications and then Power Off (if not already) and Remove the local-by-flywheel machine
  3. Re-open Local by Flywheel

There are no virtualmachines in virtualbox.app. so problem still here

Can you try running the following command in Terminal and pasting the contents here?

"/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" ls

Sorry for the trouble!

No problem at all

this is what i get

NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
local-by-flywheel - virtualbox Error Unknown machine does not exist

Can you now try the following command and provide the output?

"/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" rm local-by-flywheel

Thanks, this did the job, it’s working now

1 Like