Skip to content
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

/bin/sh: 1: [command]: not found #963

Closed
cooperate opened this issue May 14, 2018 · 5 comments
Closed

/bin/sh: 1: [command]: not found #963

cooperate opened this issue May 14, 2018 · 5 comments
Assignees
Labels
bug Something aint working right!
Milestone

Comments

@cooperate
Copy link

cooperate commented May 14, 2018

Bug Report

Tell us about your setup

Lando v3.0.0-beta.44
Windows 10 Professional Version 10.0.16299 Build 16299

After spinning up any project with lando I get this error when attempting to use the relative command:

/bin/sh: 1: [command]: not found

Even if said command is properly stipulated in the yaml file. Is there something particular to the Window's version that needs to be changed?

@cooperate cooperate changed the title /bin/sh: 1: [command]: not found` /bin/sh: 1: [command]: not found May 15, 2018
@sleepingmonk
Copy link

lando ssh
Then attempting to run the bash script inside the container yields the same result.

@dustinleblanc
Copy link
Collaborator

Hi @cooperate can you share your .lando.yml file and what command you are attempting to run?

This can happen if your build steps fail, causing the rest of lando's scripts to not properly run.

@cooperate
Copy link
Author

cooperate commented May 16, 2018

@dustinleblanc

.lando.yml

name: test-site
recipe: drupal8
config:
      webroot: web

I reset docker to factory settings and ran lando rebuild. Things seem to be working correctly now.

For reference, I've referred to this topic a few times #894 as these issues seem to crop back up every now and again.

@cooperate cooperate reopened this Jul 13, 2018
@cooperate
Copy link
Author

cooperate commented Jul 13, 2018

Relevant error building lando projects on Windows 10
Version 10.0.17134 Build 17134

.......+++
e is 65537 (0x10001)
/certs/lando.pem not found... generating one
CA generated at /certs/lando.pem
ERROR: No such service: /bin/sh
ERROR: No such service: /bin/sh
ERROR: No such service: /bin/sh
ERROR: No such service: /bin/sh
ERROR: No such service: /bin/sh
warn: Something is wrong with the proxy! {}
warn: Trying to take corrective action...
Creating landoproxyhyperion5000gandalfedition_proxy_1 ... done

This is after clearing user data for lando/docker in windows, resetting docker to factory settings and rebuilding lando project.

I do think this "No such service: /bin/sh" is probably correlated to no shell scripts being found afterwards using lando.

@dustinleblanc

@dustinleblanc
Copy link
Collaborator

Hey @cooperate that looks like #878 in this case

@pirog pirog self-assigned this Aug 30, 2018
@pirog pirog added the bug Something aint working right! label Aug 30, 2018
@pirog pirog added this to the 3.0.0-rc.1 milestone Aug 30, 2018
@pirog pirog closed this as completed Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something aint working right!
Projects
None yet
Development

No branches or pull requests

4 participants