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

Deploy error message #65

Open
goose2288 opened this issue Feb 25, 2020 · 2 comments
Open

Deploy error message #65

goose2288 opened this issue Feb 25, 2020 · 2 comments

Comments

@goose2288
Copy link

hey matt, when trying to deploy i keep getting this:

In HostSelector.php line 59:
Hostname or Stage 'local' was not found

Ive tried both commands

vendor/bin/dep deploy local
and
./vendor/bin/dep deploy local

Any ideas? Thanks

@goose2288
Copy link
Author

ok so I tried this
vendor/bin/dep deploy actual ip address

which got me a little farther but now I get this error message

In Client.php line 99:

The command "if [ ! -d /var/www/m------a.net/draft ]; then mkdir -p /var/
www/m------a.net/draft; fi" failed.

Exit Code: 1 (General error)

Host Name: 50.--.--.81

================
Warning: Identity file /Users/c-----g----t/.ssh/id_rsa not accessible:
No such file or directory.
mkdir: cannot create directory `/var/www/m---------a.net': Read-only file sy
stem

thanks for any help!

@mattheworres
Copy link
Owner

First - apologies for taking a while to get to you.

The stage stuff is a new requirement from the Deployer package I use to perform deployments, and it's less than intuitive (I wouldn't have necessarily added it, but it's not my software package). Check the ->stage method call in your deploy.php and see what it's set to (using the Wizard, I believe it will be set to "production"). Whatever that value is, provide it.

From there, it sounds like you'll need to either provide the proper options to tell the Deployer software where the SSH key that you setup to use with your server (or check their docs on hosts ). Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants