Installation crashing on 'Local Image'

Hello,

I had trouble installing Local, so I had to following this guide:

This worked, and the installation works - but only for ‘VirtrualBox’, ‘Host Machine’ and then it crashed on ‘Local Image’. I’ve waited over an hour but had no luck.

I’m on a relatively new MacBook Pro running macOS Sierra

Please see the attached screenshot.

Please help! Thank you in advance.

1 Like

Bumping this, because I’m having a similar problem.

My install hangs, not crashes, on Local Image. The rotating icon just keeps turning, but no progress. Screenshot attached.

Mac OS X El Capitan 10.11.1

It’s the same for me. Any idea why?
Is there something I can do to help debug this? Thanks!

I was able to solve this issue by deleting some old entries created by Trellis in etc/exports.

Log showed:
Error: Command failed: sh “/Applications/Local by Flywheel.app/Contents/Resources/extraResources/shell-scripts/nfs-configure-mac.sh” “192.168…” “501” "20"
exports:2: path contains non-directory or non-existent components: /Users/…/Sites/…/site

Steps I took:

  1. Edit the /etc/exports (sudo vim /etc/exports)
  2. Remove the entries you want
  3. Save and close the file
  4. Restart the nfsd service (sudo nfsd restart)

After that Local started and ran without issue.

1 Like

Hi all,

If you’re running into this issue and @free’s solution doesn’t help, please provide your log file.

You can find it by going to Help » Reveal Local’s Log.

Sorry for the trouble!

Feb 1, 2018, 10:26 PM GMT+2 - info: [main/index] Existing Pressmatic data does not exist.
Feb 1, 2018, 10:26 PM GMT+2 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr: 'Host does not exist: "local-by-flywheel"\n' }
Feb 1, 2018, 10:26 PM GMT+2 - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-does-not-exist' ]
Feb 1, 2018, 10:26 PM GMT+2 - info: [main/virtualbox-installer] Starting VirtualBox Install...
Feb 1, 2018, 10:26 PM GMT+2 - info: [main/virtualbox-installer] Starting VirtualBox installer...
Feb 1, 2018, 10:26 PM GMT+2 - error: [main/virtualbox-installer]  
{ error: { code: 1 },
  stdout: undefined,
  stderr: undefined,
  exitCode: 1 }
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/virtualbox-installer] VirtualBox installed!
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] Starting Docker Machine Creation...
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] USING IP:  192.168.95.1/24
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] Removing existing Docker Machine
Feb 1, 2018, 10:27 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'
Feb 1, 2018, 10:27 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
Feb 1, 2018, 10:27 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' ]
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] Creating CA: /Users/xxx/.docker/machine/certs/ca.pem
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] Creating client certificate: /Users/xxx/.docker/machine/certs/cert.pem
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] Running pre-create checks...
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Image cache directory does not exist, creating it at /Users/xxx/.docker/machine/cache...
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] Creating machine...
Feb 1, 2018, 10:27 PM GMT+2 - info: [main/docker-create-machine] (local-by-flywheel) Downloading /Users/xxx/.docker/machine/cache/boot2docker.iso from file:///Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso...

local-by-flywheel virtual machine is running and getting the error that the host does not exist? Is there a spelling error defining the host or what?

@whyanothererror,

Sorry for the trouble!

Please provide a screenshot of what you’re seeing.

Also, the entire local-by-flywheel.log is ideal.