# Unable to upload cookbook

**URL:** <https://discourse.chef.io/t/unable-to-upload-cookbook/8447>\
**Category:** Chef Infra (archive)\
**Created:** [May 10, 2016, 12:14pm UTC](https://discourse.chef.io/t/unable-to-upload-cookbook/8447 "2016-05-10T12:14:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phanikumar](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@phanikumar](https://discourse.chef.io/u/phanikumar)\
**Post date:** [May 10, 2016, 12:14pm UTC](https://discourse.chef.io/t/unable-to-upload-cookbook/8447/1 "2016-05-10T12:14:55Z")

</div>

I was unable to upload the cookbooks to the chef server and getting the following error  
**Unable to activate knife-container-0.2.4, because json-1.8.3 conflicts with json (\<= 1.8.1, \>= 1.4.4) (Gem::ConflictError).** I have verified regarding conflicts but everything is good. Could anyone help me in resolving this.

---

<div class="post-metadata">

**Author:** ![Mike](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/mike/32/18_2.png) [@Mike](https://discourse.chef.io/u/Mike)\
**Post date:** [May 10, 2016, 12:50pm UTC](https://discourse.chef.io/t/unable-to-upload-cookbook/8447/2 "2016-05-10T12:50:53Z")

</div>

You have an issue where your `knife-container` plugin is using a dependency  
that cannot be met.

The author of the extension has committed a change that removes the  
dependencies, but has not yet released it to [RubyGems.org](http://RubyGems.org).

> <https://github.com/chef-boneyard/knife-container/commit/e4ab2280ec964cf6c30f6e1715b439169ba0ab28>

-M

---

<div class="post-metadata">

**Author:** ![phanikumar](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@phanikumar](https://discourse.chef.io/u/phanikumar)\
**Post date:** [May 14, 2016, 4:53pm UTC](https://discourse.chef.io/t/unable-to-upload-cookbook/8447/3 "2016-05-14T16:53:18Z")

</div>

Thanks for the reply and an update to the chef-client solved the problem.

---

<div class="post-metadata">

**Author:** ![jdunn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/jdunn/32/1800_2.png) [@jdunn](https://discourse.chef.io/u/jdunn)\
**Post date:** [May 16, 2016, 3:40pm UTC](https://discourse.chef.io/t/unable-to-upload-cookbook/8447/4 "2016-05-16T15:40:24Z")

</div>

Note that knife-container is end-of-life and no longer maintained. [https://github.com/chef/knife-container/blob/master/README.md](https://github.com/chef/knife-container/blob/master/README.md)
