New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`lando init` fails with: "error: Lando thinks you might need some help with your droid" #1158

Closed
benjaminbradley opened this Issue Aug 30, 2018 · 15 comments

Comments

Projects
None yet
7 participants
@benjaminbradley
Copy link

benjaminbradley commented Aug 30, 2018

Bug Report

Lando version: lando 3.0.0-beta.47 (latest release at time of writing)
OS: MacOS High Sierra 10.13.6 (17G65)

STEPS TO REPRODUCE:

  1. cd into a directory of a git repository for a pantheon project
  2. run lando init

ACTUAL: RESULTS:

? What recipe do you want to use? pantheon
? Choose a Pantheon account [my email]
? Which site? [my project]
error: Lando thinks you might need some help with your droid

This error message provides no useful information to help troubleshoot the issue.

I tried lando init -vvvv and got no additional info.

I would suggest improvement of the error message to help the user identify and resolve whatever went wrong. Googling the phrase above only returns search results about how Lando Calrissian is pansexual in the latest Star Wars films.

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Aug 30, 2018

@benjaminbradley this is an impressive error to get, means you haven't installed Docker. How are you installing?

@benjaminbradley

This comment has been minimized.

Copy link
Author

benjaminbradley commented Aug 30, 2018

@pirog I have docker installed and have been using it for a couple years. I want to install lando for the pantheon-sync support. When I ran the Lando installer, the Docker part seemed to be optional so I un-checked it. Do I need to set some environment variables to get lando to see my docker install?
The error message should communicate that it can't find docker, and ideally offer some guidance as to how to resolve the issue. The funny message is fine to include (and would be much more appreciated) as long as the helpful info is also present.

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Aug 30, 2018

@benjaminbradley

This comment has been minimized.

Copy link
Author

benjaminbradley commented Aug 30, 2018

@pirog ok I updated to the latest version of Docker (18.06.1-ce-mac73, previous version was 18.06.1-ce-mac70), and I'm still getting the same error. docker is present in the path.

What's your advice to troubleshoot this issue?

@andymelt

This comment has been minimized.

Copy link

andymelt commented Sep 10, 2018

I'm getting the same error. On Docker version 18.06.1-ce-mac73 (26764). macOS High Sierra 10.13.6 (17G65). I've never seen this before. Very strange.

In fact, I can't start any of my previously functional Lando projects. I get the same worthless error message and no useful troubleshooting output from the lando command. Docker is running just fine and I am able to spin up a Docker project.

Don't get me wrong, the message is funny. I would prefer that it says more to help me understand what's broken.

@andymelt

This comment has been minimized.

Copy link

andymelt commented Sep 10, 2018

After digging around, I found that I had indeed (inadvertently) moved the Docker.app file. Moved it back into /Applications where it was before and Lando is happy and doesn't make wisecracks about droids. :)

@benjaminbradley

This comment has been minimized.

Copy link
Author

benjaminbradley commented Sep 11, 2018

oh look at that! I symlinked /Applications/Docker.app to where my Docker.app actually lives and lando is now COOKING WITH FIRE! yay.

@greggmarshall

This comment has been minimized.

Copy link

greggmarshall commented Oct 13, 2018

I get this error on a Windows 10 machine. When I check Docker from the command line, I can see it is fine, albeit possibly old. I agree it is an error message with no useful information.

@Idealien

This comment has been minimized.

Copy link

Idealien commented Oct 14, 2018

Also getting this error on Windows 10 system. Installed Docker Toolbox (Docker version 18.03.0-ce) separate to Lando installation. I need to stick with Virtualbox for short-term which prevents Hyper-V + Docker for Windows.

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Oct 15, 2018

We should probably augment the error message to include a link to the install instructions. If you do not install Docker via Lando then you need to install it in the default way otherwise things will likely not work.

@pirog pirog reopened this Oct 15, 2018

@idpokute

This comment has been minimized.

Copy link

idpokute commented Oct 21, 2018

I am using docker-toolbox on windows 10 home edition, and I met the same issue. @Idealien Hows it going so far? I am trying to downgrade lando version, but so far no luck.

@Idealien

This comment has been minimized.

Copy link

Idealien commented Oct 21, 2018

The Hyper-V requirement is blocker to me still. I have moved on to Minishift for local dev which provides better dev/prod parity for it's use of Kubernetes.

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Oct 23, 2018

Lando only officially supports using Docker for Windows with the factory default settings. While it probably can be made to work in other configurations you are definitely on your own if you go that route

@pirog pirog added this to the RC1 milestone Nov 28, 2018

@pirog pirog self-assigned this Nov 28, 2018

@grantkruger

This comment has been minimized.

Copy link

grantkruger commented Dec 17, 2018

I get this error while trying to uninstall Lando. I did first uninstall Docker, so now it seems I have to reinstall docker so that I can uninstall it again with Lando.

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Jan 23, 2019

in RC2 we've improved the error message here so that users can verify they have followed the proper installation instructions

pirog added a commit that referenced this issue Jan 23, 2019

@pirog pirog closed this Jan 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment