# Berkshelf's chef\_server source

**URL:** <https://discourse.chef.io/t/berkshelfs-chef-server-source/8121>\
**Category:** Chef Infra (archive)\
**Created:** [March 31, 2016, 6:59pm UTC](https://discourse.chef.io/t/berkshelfs-chef-server-source/8121 "2016-03-31T18:59:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Douglas\_Garstang](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@Douglas\_Garstang](https://discourse.chef.io/u/Douglas_Garstang)\
**Post date:** [March 31, 2016, 6:59pm UTC](https://discourse.chef.io/t/berkshelfs-chef-server-source/8121/1 "2016-03-31T18:59:04Z")

</div>

All,

The berkshelf documentation says:

“If a source is configured with the location :chef\_server, then Berkshelf  
will use the configured Chef Server as an API source. This requires Chef  
Server 12.4.0 or newer, or Hosted Chef.”

I have the latest version of berkshelf installed, 4.3.1, and attempting to  
use ‘source :chef\_server’ in the Berksfile yields:

‘chef\_server’ is not a valid Berkshelf source URI. Can’t convert Symbol  
into String…

Anyone else get that?

Doug

---

<div class="post-metadata">

**Author:** ![thommay](https://avatars.discourse-cdn.com/v4/letter/t/f08c70/32.png) [@thommay](https://discourse.chef.io/u/thommay)\
**Post date:** [April 1, 2016, 8:28am UTC](https://discourse.chef.io/t/berkshelfs-chef-server-source/8121/2 "2016-04-01T08:28:05Z")

</div>

I can’t reproduce this:

```auto
9:16 ~/work/demos/chef_source % berks -v [master]
4.3.1
9:16 ~/work/demos/chef_source % cat Berksfile [master]
source :chef_server
cookbook "docker"
metadata
9:16 ~/work/demos/chef_source % berks [master]
Resolving cookbook dependencies...
Fetching 'chef_source' from source at .
Fetching cookbook index from https://api.opscode.com/organizations/cat...
Using chef_source (0.1.0) from source at .
Using docker (2.5.3)
Using compat_resource (12.7.1)

```

Please can you check with `berks -v` that the berks you have installed is the one you’re running, and then if it is file a bug report with the output from `berks -d`.  
Thanks!
