# Upload Cookbook

**URL:** <https://discourse.chef.io/t/upload-cookbook/10242>\
**Category:** Chef Infra (archive)\
**Created:** [January 18, 2017, 6:53am UTC](https://discourse.chef.io/t/upload-cookbook/10242 "2017-01-18T06:53:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffrey](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jeffrey](https://discourse.chef.io/u/jeffrey)\
**Post date:** [January 18, 2017, 6:53am UTC](https://discourse.chef.io/t/upload-cookbook/10242/1 "2017-01-18T06:53:58Z")

</div>

I have a question. Using the knife command try to upload my tutorial cookbook to the chef server. get the following error: ERROR: Could not find cookbook learn\_chef\_httpd in your cookbook path, skipping it  
below is my screen commands and responses:  
Connecting to host [api.chef.io:443](http://api.chef.io:443)  
Successfully verified certificates from `[api.chef.io](http://api.chef.io)’  
PS C:\Users\Jeffrey\learn-chef\cookbooks\> git clone [https://github.com/learn-chef/learn\_chef\_httpd.git](https://github.com/learn-chef/learn_chef_httpd.git)  
Cloning into ‘learn\_chef\_httpd’…  
remote: Counting objects: 70, done.  
remote: Compressing objects: 100% (32/32), done.  
remote: Total 70 (delta 19), reused 70 (delta 19), pack-reused 0U  
Unpacking objects: 100% (70/70), done.  
Checking connectivity… done.  
PS C:\Users\Jeffrey\learn-chef\cookbooks\> knife cookbook upload learn\_chef\_httpd  
ERROR: Could not find cookbook learn\_chef\_httpd in your cookbook path, skipping it  
Uploaded 0 cookbook.  
PS C:\Users\Jeffrey\learn-chef\cookbooks\>

Please let me know how to fix.

Thank you,  
JR

---

<div class="post-metadata">

**Author:** ![nic\_chef](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nic\_chef](https://discourse.chef.io/u/nic_chef)\
**Post date:** [January 18, 2017, 8:53am UTC](https://discourse.chef.io/t/upload-cookbook/10242/2 "2017-01-18T08:53:43Z")

</div>

in your knife.rb file make sure you have your cookbooks in the correct path:  
cookbook\_path ["#{current\_dir}/…/cookbooks"]

---

<div class="post-metadata">

**Author:** ![jeffrey](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jeffrey](https://discourse.chef.io/u/jeffrey)\
**Post date:** [January 18, 2017, 1:59pm UTC](https://discourse.chef.io/t/upload-cookbook/10242/3 "2017-01-18T13:59:49Z")

</div>

Thank you that fixed my problem
