# Delivery init command failing

**URL:** <https://discourse.chef.io/t/delivery-init-command-failing/8643>\
**Category:** Chef Automate\
**Created:** [June 8, 2016, 2:19pm UTC](https://discourse.chef.io/t/delivery-init-command-failing/8643 "2016-06-08T14:19:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sabarik](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@sabarik](https://discourse.chef.io/u/sabarik)\
**Post date:** [June 8, 2016, 2:19pm UTC](https://discourse.chef.io/t/delivery-init-command-failing/8643/1 "2016-06-08T14:19:28Z")

</div>

I am running through the Chef document for installing chef delivery W/SSH. installation went fine but in the last step to validate installation i get the error as shown below while running “delivery init”.

not sure what i am missing . can anyone help or guide me ?

**ubuntu@ip-15-0-0-20:~/workspace/delivery-truck$ delivery init**  
**Chef Delivery**  
**Loading configuration from /home/ubuntu/workspace/delivery-truck**  
**Is /home/ubuntu/workspace/delivery-truck a git repo? yes**  
**Project delivery-truck already exists.**  
**Creating and checking out add-delivery-config feature branch: done**  
**Generating build cookbook skeleton**  
**Using cached copy of build-cookbook generator "/home/ubuntu/.delivery/cache/generator-cookbooks/pcb"**  
**Build-cookbook generated: “chef” “generate” “cookbook” “.delivery/build-cookbook” “-g” "/home/ubuntu/.delivery/cache/generator-cookbooks/pcb"**  
**Adding and commiting build-cookbook: done**  
**Chef Delivery**  
**Loading configuration from /home/ubuntu/workspace/delivery-truck**  
**Review for change add-delivery-config targeted for pipeline master**  
**Git command failed!**  
**STDOUT:**  
**STDERR: Pushing to delivery**  
**fatal: ‘delivery’ does not appear to be a git repository**  
**fatal: Could not read from remote repository.**

**Please make sure you have the correct access rights**  
**and the repository exists.**

**ubuntu@ip-15-0-0-230:~/workspace/delivery-truck$**

---

<div class="post-metadata">

**Author:** ![afiune](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/afiune/32/1702_2.png) [@afiune](https://discourse.chef.io/u/afiune)\
**Post date:** [June 20, 2016, 2:02pm UTC](https://discourse.chef.io/t/delivery-init-command-failing/8643/2 "2016-06-20T14:02:37Z")

</div>

Hi Sabarik,

Thank you for your feedback!! 🙂 I am guessing you have an old version of the `delivery-cli` that had a bug with the `delivery init` command. The good news is that we have fixed the problem so you just need to upgrade the CLI and try it again.

Delivery CLI `v0.0.26`: [https://bintray.com/chef/current/delivery-cli/0.0.26/view](https://bintray.com/chef/current/delivery-cli/0.0.26/view)

Just to be sure I would like you to share the version you are using before you actually upgrade the delivery-cli. You can get the version with the command: `delivery -V`

Let us know if you have any other issue.  
Salim Afiune
