From 4f2ecb91d07a15320cddc309b815a66741715dcb Mon Sep 17 00:00:00 2001 From: David Yearwood Date: Fri, 22 Jan 2021 14:17:28 -0500 Subject: [PATCH 1/2] enhancement: document how to resolve missing ssh file that prevents lando to build --- docs/troubleshooting.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 66cfc0f3..faf762a1 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -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 @@ -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. \ No newline at end of file +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//.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. \ No newline at end of file From f248fb3c92ad9bbb4f54b36377105a7cb646a3b7 Mon Sep 17 00:00:00 2001 From: David Yearwood Date: Thu, 28 Jan 2021 14:22:26 -0500 Subject: [PATCH 2/2] refactor: revise troubleshooting enonent error when running lando start --- docs/troubleshooting.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index faf762a1..e8c9b332 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -3,9 +3,9 @@ ## 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) +- [ENOENT error when running lando start on macOS Big Sur](enoent-error-after-running-lando-start-on-macos-big-sur) -## Pulling Files and Database from Pantheon Test Environment +## Pulling Files and Database from Pantheon Test Environments Running this command: @@ -22,14 +22,18 @@ Notice: Undefined index: X-Pantheon-Styx-Hostname in /var/www/html/vendor/panthe 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 +## ENOENT error when running lando start on macOS Big Sur -What the error looks like: +When running this command on macOS Big Sur to start your application: ``` -Error =⇒ ENOENT: no such file or directory, scandir /Users//.ssh +lando start ``` -Solution: +You receive this error: + +``` +Error =⇒ ENOENT: no such file or directory, scandir /Users//.ssh +``` -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. \ No newline at end of file +This error appears where there isn't a `.ssh` folder inside of your root directory. To resolve the issue you can [generate a SSH key](https://pantheon.io/docs/ssh-keys#generate-ssh-key) which will create the missing `.ssh` folder in your root directory and a new ssh key. \ No newline at end of file