Closed abfadil closed 6 years ago
The SSH key won't show in the field after saving as that would be insecure, if you look at the DB you should see it in the private_key
field on the projects table.
However, the deploy isn't failing for you because of the key, it is failing as deployer can't find the git
cli on the deployer server, its needs to be in $PATH
for whatever user you have the queue listener running as.
Interesting that the installer ran though, as that checks git is in the path, are you running the worker as a different user to the one you installed as?
Cleaning up, feel free to reopen if still relevant
Before submitting your issue, please make sure that you've checked all of the checkboxes below.
php -v
composer install --no-dev
from the root of your installation.npm install --production
from the root of your installation.rm -rf bootstrap/cache/*
from the root of your installation.To help us better understand your issue, please answer the following.
Expected behaviour
The private key should be saved, but it not
Actual behaviour
Even after adding the key it stays empty.
Steps to reproduce
Add a private key to the project
Environment info
Laravel Environment
Laravel Version: 5.4.30
Server Environment
Installed Packages & their version numbers
Extra Information
Logs (see storage/logs/) or other output that would be helpful
cli-2018-03-09.log
I can't deploy project even though the SSH connection to github repo is working fine from git-cli, also when add a key it does not show up on the project please help.