Updated to 2.0.4 and now local gets stuck in a loop starting up

Maybe it’s your age :slight_smile:

1 Like

Heres the log file - Dropbox - File Deleted - Simplify your life

Thanks

1 Like

Haha, maybe :slight_smile:


Thanks for the log!

Do you know what version of VirtualBox you’re on? You can check it by going to VirtualBox » About VirtualBox. I believe I’ve seen this problem be solved by upgrading VirtualBox in the past.

It’s currently Version 5.1.4 r110228 (Qt5.5.1) - i’ll try upgrading to see if that resolves it and update here shortly.

Alas no, still doing the same thing - log file updated with the latest on the same link

Now that you’ve upgraded VirtualBox can you try the following?

  1. Quit Local if it’s running
  2. Go to Terminal (or your preferred terminal app)
  3. Enter "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" kill local-by-flywheel
  4. Open Local

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Okay, can you try these in Terminal now?

  1. "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" restart local-by-flywheel
  2. "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" env local-by-flywheel

After running them please copy and paste the output here.

$ “/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine” restart local-by-flywheel
Restarting “local-by-flywheel”…
(local-by-flywheel) Check network to re-create if needed…
(local-by-flywheel) Waiting for an IP…
Waiting for SSH to be available…
Detecting the provisioner…
Restarted machines may have new IP addresses. You may need to re-run the docker-machine env command.

$ “/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine” env local-by-flywheel
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host “192.168.75.100:2376”: tls: DialWithDialer timed out
You can attempt to regenerate them using ‘docker-machine regenerate-certs [name]’.
Be advised that this will trigger a Docker daemon restart which might stop running containers.

Thanks!

Are you running a VPN, proxy, etc?

I’ve got Hamachi VPN running but thats always been the case. No proxy i’m aware of. Hamachi currently powered off.

1 Like

One more command to try for now:

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

After that, you can try relaunching Local.

Been running around 15 mins so far, seems to be stuck on the following:

$ “/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine” upgrade local-by-flywheel
Waiting for SSH to be available…
Detecting the provisioner…

Still running so killed it, obviously didn’t like that command :frowning: Couldn’t reply back as the forum locked me from posting for 24 hours :frowning:

Hey Simon,

Can you run this command real quick? It’ll check the hash of the ISO that the Docker Machine is using.

md5 ~/.docker/machine/machines/local-by-flywheel/boot2docker.iso

For reference, this is what the hash is on my machine with 2.0.4: 57ee4780245e8b52cdee5b1836fece74

$ md5 ~/.docker/machine/machines/local-by-flywheel/boot2docker.iso
MD5 (/Users/simonantony/.docker/machine/machines/local-by-flywheel/boot2docker.iso) = 57ee4780245e8b52cdee5b1836fece74

At this point I would recommend recreating the Docker Machine.

Before you do that though, can you verify that all of the sites in your Local Sites folder have SQL files in their app/public folder?

Hi

Not in app/public, that appears to be the wordpress sites, however app/sql does contain sql files.

Simon

Hey Simon,

Glad to hear you have the SQL data!

To remove the Docker Machine, please do the following:

  1. Quit Local
  2. Again, verify that your sites (or sites that matter) have SQL backups in app/sql
  3. Run "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" rm -f local-by-flywheel in Terminal
  4. Re-open Local
  5. Follow this guide for re-importing sites: How can I restore a site from a Local site folder?