Hi All,
I am trying to initialise a project via delivery cli init option but looks like it encounters git error on the automate server. The output provide limited info STDOUT and STDERR are both null. Appreciate if anyone can guide for troubleshooting steps here. Also the Automate web ui seems never be invoked after running of delivery init.
P.s. I am following the steps in learning tutorial (Learn Chef)
Set-Item Env:RUST_LOG "debug"
delivery init
Setting up the 'delivery' git remote... DEBUG 2018-09-04T13:12:10Z: delivery::git: Git command: "C:\\opscode\\chefdk\\bin\\..\\embedded\\git\\bin\\bash" "-c" "eval `ssh-agent` && ssh-add && git config --get remote.delivery.url ; ssh-agent -k" /Identity added: /c/Users/homkwok/.ssh/id_rsa (/c/Users/homkwok/.ssh/id_rsa) /DEBUG 2018-09-04T13:12:14Z: delivery::git: Git exited: exit code: 0 DEBUG 2018-09-04T13:12:14Z: delivery::git: Git stdout: Agent pid 4892 ssh://chefadmin@default@ec2-13-114-71-126.ap-northeast-1.compute.amazonaws.com:8989/default/khm-org/learn_chef_apache2 unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 4892 killed; DEBUG 2018-09-04T13:12:14Z: delivery::git: Git stderr: DEBUG 2018-09-04T13:12:14Z: delivery::git: Git command: "C:\\opscode\\chefdk\\bin\\..\\embedded\\git\\bin\\bash" "-c" "eval `ssh-agent` && ssh-add && git remote add delivery ssh://chefadmin@default@ec2-13-114-71-126.ap-northeast-1.compute.amazonaws.com:8989/default/khm-org/learn_chef_apache2 ; ssh-a gent -k" /Identity added: /c/Users/homkwok/.ssh/id_rsa (/c/Users/homkwok/.ssh/id_rsa) \fatal: remote delivery already exists. -DEBUG 2018-09-04T13:12:16Z: delivery::git: Git exited: exit code: 0 DEBUG 2018-09-04T13:12:16Z: delivery::git: Git stdout: Agent pid 16704 unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 16704 killed; DEBUG 2018-09-04T13:12:16Z: delivery::git: Git stderr: The delivery git remote has been configured to 'ssh://chefadmin@default@ec2-13-114-71-126.ap-northeast-1.compute.amazonaws.com:8989/default/khm-org/ learn_chef_apache2'. Pushing initial git history... DEBUG 2018-09-04T13:12:16Z: delivery::git: Git command: "C:\\opscode\\chefdk\\bin\\..\\embedded\\git\\bin\\bash" "-c" "eval `ssh-agent` && ssh-add && git ls-remote delivery refs/heads/master ; ssh-agent -k" |Identity added: /c/Users/homkwok/.ssh/id_rsa (/c/Users/homkwok/.ssh/id_rsa) /DEBUG 2018-09-04T13:12:27Z: delivery::git: Git exited: exit code: 0 DEBUG 2018-09-04T13:12:27Z: delivery::git: Git stdout: Agent pid 25044 unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 25044 killed; DEBUG 2018-09-04T13:12:27Z: delivery::git: Git stderr: DEBUG 2018-09-04T13:12:27Z: delivery::git: Git command: "C:\\opscode\\chefdk\\bin\\..\\embedded\\git\\bin\\bash" "-c" "eval `ssh-agent` && ssh-add && git branch ; ssh-agent -k" /Identity added: /c/Users/homkwok/.ssh/id_rsa (/c/Users/homkwok/.ssh/id_rsa) -DEBUG 2018-09-04T13:12:34Z: delivery::git: Git exited: exit code: 0 DEBUG 2018-09-04T13:12:34Z: delivery::git: Git stdout: Agent pid 10156 * master unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 10156 killed; DEBUG 2018-09-04T13:12:34Z: delivery::git: Git stderr: DEBUG 2018-09-04T13:12:34Z: delivery::git: Git command: "C:\\opscode\\chefdk\\bin\\..\\embedded\\git\\bin\\bash" "-c" "eval `ssh-agent` && ssh-add && git push --set-upstream --porcelain --progress --verbose delivery master ; ssh-agent -k" -DEBUG 2018-09-04T13:12:35Z: delivery::git: Git exited: exit code: 3221225794 Git command failed! STDOUT: STDERR: