Skip to content

Lando won't build due to a missing ssh file #5

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Outline

- [Pulling Files and Database from Pantheon Test Environment](pulling-files-and-database-from-pantheon-test-environment)
- [Lando won't build due to a missing ssh file](lando-wont-build-due-to-a-missing-ssh-file)

## Pulling Files and Database from Pantheon Test Environment

Expand All @@ -19,4 +20,16 @@ Notice: Undefined index: X-Pantheon-Styx-Hostname in /var/www/html/vendor/panthe
[error] Pantheon headers missing, which is not quite right.
```

The `test` enviroment has not been created. Dev needs promoted first before the files or database can be pulled from it.
The `test` enviroment has not been created. Dev needs promoted first before the files or database can be pulled from it.

## Lando won't build due to a missing ssh file

What the error looks like:

```
Error =⇒ ENOENT: no such file or directory, scandir /Users/<your_username>/.ssh
```

Solution:

This error occurs when you haven't generated an SSH key on your machine. Following Pantheon's documentation on [how to generate a SSH key](https://pantheon.io/docs/ssh-keys#generate-ssh-key) will resolve this issue.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dayvod I think it would be helpful to add some more context if possible or clarifying the situation where this could happen. For example, the word build is vague and unclear. Imagine the person running into the issue isn't familiar with Lando at all. The user isn't directly running a command like lando build. Is this when booting the application locally ie lando start. Is it when building the app for deployment?
Something to think about. Definitely a helpful contribution though. Thanks for adding!