# Chef-solo Redmine is not working

**URL:** <https://discourse.chef.io/t/chef-solo-redmine-is-not-working/5467>\
**Category:** Chef Infra (archive)\
**Created:** [June 27, 2014, 9:07am UTC](https://discourse.chef.io/t/chef-solo-redmine-is-not-working/5467 "2014-06-27T09:07:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkiain](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/venkiain/32/297_2.png) [@Venkiain](https://discourse.chef.io/u/Venkiain)\
**Post date:** [June 27, 2014, 9:07am UTC](https://discourse.chef.io/t/chef-solo-redmine-is-not-working/5467/1 "2014-06-27T09:07:37Z")

</div>

REDMINE on aws is not working getting following error despite loading all the  
dependencies

[2014-06-27T08:12:32+00:00] DEBUG: Loading cookbook apache2’s definitions from  
/var/chef/cookbooks/apache2/definitions/apache\_site.rb  
[2014-06-27T08:12:32+00:00] DEBUG: Loading cookbook apache2’s definitions from  
/var/chef/cookbooks/apache2/definitions/web\_app.rb  
[2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe redmine via include\_recipe  
[2014-06-27T08:12:32+00:00] DEBUG: Found recipe default in cookbook redmine  
[2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe redmine::source via  
include\_recipe  
[2014-06-27T08:12:32+00:00] DEBUG: Found recipe source in cookbook redmine  
[2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe yum::epel via include\_recipe

# ================================================================================ Recipe Compile Error

## Chef::Exceptions::RecipeNotFound

could not find recipe epel for cookbook yum

[2014-06-27T08:12:32+00:00] DEBUG: Re-raising exception:  
Chef::Exceptions::RecipeNotFound - could not find recipe epel for cookbook yum  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:226:in  
`load\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
`load\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:134:in  
`block in include\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
`each’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
`include\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/dsl/include\_recipe.rb:26:in  
`include_recipe' /var/chef/cookbooks/redmine/recipes/source.rb:29:in`from\_file’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
`instance\_eval’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
`from\_file’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:237:in  
`load\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
`load\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:134:in  
`block in include\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
`each’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
`include\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/dsl/include\_recipe.rb:26:in  
`include_recipe' /var/chef/cookbooks/redmine/recipes/default.rb:23:in`from\_file’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
`instance\_eval’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
`from\_file’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:237:in  
`load\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
`load\_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:140:in  
`block in compile\_recipes’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:138:in  
`each’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:138:in  
`compile\_recipes’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:75:in  
`compile’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:88:in  
`load’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/policy\_builder/expand\_node\_object.rb:73:in  
`setup\_run\_context’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:265:in  
`setup\_run\_context’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:429:in  
`do\_run’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:213:in  
`block in run’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
`fork’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
`run’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:217:in  
`run\_chef\_client’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:221:in  
`block in run\_application’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
`loop’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
`run\_application’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:67:in  
`run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/bin/chef-solo:25:in`\<top (required)\>’  
/usr/bin/chef-solo:23:in `load' /usr/bin/chef-solo:23:in`’

Running handlers:  
[2014-06-27T08:12:32+00:00] ERROR: Running exception handlers  
Running handlers complete

---

<div class="post-metadata">

**Author:** ![Venkatesh\_Ainalli](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@Venkatesh\_Ainalli](https://discourse.chef.io/u/Venkatesh_Ainalli)\
**Post date:** [June 27, 2014, 11:05am UTC](https://discourse.chef.io/t/chef-solo-redmine-is-not-working/5467/2 "2014-06-27T11:05:56Z")

</div>

Oh Sorry got it its using old yum TIM Smith fixed

On Fri, Jun 27, 2014 at 2:37 PM, [venkiain@gmail.com](mailto:venkiain@gmail.com) wrote:

> REDMINE on aws is not working getting following error despite loading all  
> the  
> dependencies
> 
> [2014-06-27T08:12:32+00:00] DEBUG: Loading cookbook apache2's definitions  
> from  
> /var/chef/cookbooks/apache2/definitions/apache\_site.rb  
> [2014-06-27T08:12:32+00:00] DEBUG: Loading cookbook apache2's definitions  
> from  
> /var/chef/cookbooks/apache2/definitions/web\_app.rb  
> [2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe redmine via  
> include\_recipe  
> [2014-06-27T08:12:32+00:00] DEBUG: Found recipe default in cookbook redmine  
> [2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe redmine::source via  
> include\_recipe  
> [2014-06-27T08:12:32+00:00] DEBUG: Found recipe source in cookbook redmine  
> [2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe yum::epel via  
> include\_recipe
> 
> ================================================================================  
> Recipe Compile Error
> 
> ================================================================================
> 
> ## Chef::Exceptions::RecipeNotFound
> 
> could not find recipe epel for cookbook yum
> 
> [2014-06-27T08:12:32+00:00] DEBUG: Re-raising exception:  
> Chef::Exceptions::RecipeNotFound - could not find recipe epel for cookbook  
> yum
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:226:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:134:in  
> `block in include\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
> `each'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
> `include\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/dsl/include\_recipe.rb:26:in  
> `include_recipe' /var/chef/cookbooks/redmine/recipes/source.rb:29:in `from\_file'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
> `instance\_eval'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
> `from\_file'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:237:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:134:in  
> `block in include\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
> `each'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
> `include\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/dsl/include\_recipe.rb:26:in  
> `include_recipe' /var/chef/cookbooks/redmine/recipes/default.rb:23:in `from\_file'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
> `instance\_eval'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
> `from\_file'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:237:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:140:in  
> `block in compile\_recipes'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:138:in  
> `each'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:138:in  
> `compile\_recipes'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:75:in  
> `compile'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:88:in  
> `load'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/policy\_builder/expand\_node\_object.rb:73:in  
> `setup\_run\_context'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:265:in  
> `setup\_run\_context'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:429:in  
> `do\_run'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:213:in  
> `block in run'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
> `fork'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
> `run'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:217:in  
> `run\_chef\_client'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:221:in  
> `block in run\_application'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
> `loop'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
> `run\_application'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:67:in  
> `run'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/bin/chef-solo:25:in  
> `<top (required)>' /usr/bin/chef-solo:23:in `load'  
> /usr/bin/chef-solo:23:in `'
> 
> Running handlers:  
> [2014-06-27T08:12:32+00:00] ERROR: Running exception handlers  
> Running handlers complete

---

<div class="post-metadata">

**Author:** ![Venkatesh\_Ainalli](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@Venkatesh\_Ainalli](https://discourse.chef.io/u/Venkatesh_Ainalli)\
**Post date:** [June 27, 2014, 12:09pm UTC](https://discourse.chef.io/t/chef-solo-redmine-is-not-working/5467/3 "2014-06-27T12:09:53Z")

</div>

REDMINE on CentOS getting following error.  
Internal Server Error

The server encountered an internal error or misconfiguration and was unable  
to complete your request.

Please contact the server administrator, [no address given] and inform them  
of the time the error occurred, and anything you might have done that may  
have caused the error.

## More information about this error may be available in the server error log.

Apache Server at 10.10.3.101 Port 80

[itapp@a01admin792 roles]$ sudo chef-solo -j redmine-kpuME-Role.json -ldebug  
[sudo] password for itapp:  
[2014-06-27T04:32:30-07:00] WARN: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
[2014-06-27T04:32:30-07:00] WARN: Did not find config file:  
/etc/chef/solo.rb, using command line options.  
[2014-06-27T04:32:30-07:00] WARN: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
[2014-06-27T04:32:30-07:00] INFO: Forking chef instance to converge...  
[2014-06-27T04:32:30-07:00] DEBUG: Fork successful. Waiting for new chef  
pid: 19910  
[2014-06-27T04:32:30-07:00] DEBUG: Forked instance now converging  
[2014-06-27T04:32:30-07:00] WARN:

* * *

- 
  - 

SSL validation of HTTPS requests is disabled. HTTPS connections are still  
encrypted, but chef is not able to detect forged replies or man in the  
middle  
attacks.

To fix this issue add an entry like this to your configuration file:

```auto
  # Verify all HTTPS connections (recommended)
  ssl_verify_mode :verify_peer

  # OR, Verify only connections to chef-server
  verify_api_cert true

```

To check your SSL configuration, or troubleshoot errors, you can use the  
`knife ssl check` command like so:

```auto
  knife ssl check -c /etc/chef/solo.rb

```

* * *

- 
  - 

Starting Chef Client, version 11.12.8  
[2014-06-27T04:32:30-07:00] INFO: \*\*\* Chef 11.12.8 \*\*\*  
[2014-06-27T04:32:30-07:00] INFO: Chef-client pid: 19910  
[2014-06-27T04:32:30-07:00] DEBUG: Chef-client request\_id:  
f3ff98cb-dbd8-4f5b-a813-d41ca18400d0  
[2014-06-27T04:32:33-07:00] DEBUG: Building node object for a01admin792  
[2014-06-27T04:32:33-07:00] DEBUG: Extracting run list from JSON attributes  
provided on command line  
[2014-06-27T04:32:33-07:00] DEBUG: Re-raising exception: NoMethodError -  
undefined method `delete' for role[redmine-kpuME-Role]:Chef::Role /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/node.rb:330:in `consume\_run\_list'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/node.rb:307:in  
`consume\_attributes'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/node.rb:295:in  
`consume\_external\_attrs'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/policy\_builder/expand\_node\_object.rb:118:in  
`build\_node'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:259:in  
`build\_node'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:420:in  
`do\_run'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:213:in  
`block in run'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
`fork'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
`run'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:217:in  
`run\_chef\_client'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:221:in  
`block in run\_application'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
`loop'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
`run\_application'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:67:in  
`run'

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/bin/chef-solo:25:in  
`<top (required)>' /usr/bin/chef-solo:23:in `load'  
/usr/bin/chef-solo:23:in `<main>' [2014-06-27T04:32:33-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2014-06-27T04:32:33-07:00] DEBUG: NoMethodError: undefined method `delete'  
for role[redmine-kpuME-Role]:Chef::Role  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/node.rb:330:in  
`consume_run_list' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/node.rb:307:in `consume\_attributes'  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/node.rb:295:in  
`consume_external_attrs' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/policy_builder/expand_node_object.rb:118:in `build\_node'  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:259:in  
`build_node' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:420:in `do\_run'  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:213:in  
`block in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in `fork'  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
`run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:217:in `run\_chef\_client'  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:221:in  
`block in run_application' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in `loop'  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
`run_application' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:67:in `run'  
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/bin/chef-solo:25:in  
`<top (required)>' /usr/bin/chef-solo:23:in `load'  
/usr/bin/chef-solo:23:in `<main>' Chef Client failed. 0 resources updated in 2.850488342 seconds [2014-06-27T04:32:33-07:00] ERROR: undefined method `delete' for  
role[redmine-kpuME-Role]:Chef::Role  
[2014-06-27T04:32:33-07:00] FATAL: Chef::Exceptions::ChildConvergeError:  
Chef run process exited unsuccessfully (exit code 1)

On Fri, Jun 27, 2014 at 2:37 PM, [venkiain@gmail.com](mailto:venkiain@gmail.com) wrote:

> REDMINE on aws is not working getting following error despite loading all  
> the  
> dependencies
> 
> [2014-06-27T08:12:32+00:00] DEBUG: Loading cookbook apache2's definitions  
> from  
> /var/chef/cookbooks/apache2/definitions/apache\_site.rb  
> [2014-06-27T08:12:32+00:00] DEBUG: Loading cookbook apache2's definitions  
> from  
> /var/chef/cookbooks/apache2/definitions/web\_app.rb  
> [2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe redmine via  
> include\_recipe  
> [2014-06-27T08:12:32+00:00] DEBUG: Found recipe default in cookbook redmine  
> [2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe redmine::source via  
> include\_recipe  
> [2014-06-27T08:12:32+00:00] DEBUG: Found recipe source in cookbook redmine  
> [2014-06-27T08:12:32+00:00] DEBUG: Loading Recipe yum::epel via  
> include\_recipe
> 
> ================================================================================  
> Recipe Compile Error
> 
> ================================================================================
> 
> ## Chef::Exceptions::RecipeNotFound
> 
> could not find recipe epel for cookbook yum
> 
> [2014-06-27T08:12:32+00:00] DEBUG: Re-raising exception:  
> Chef::Exceptions::RecipeNotFound - could not find recipe epel for cookbook  
> yum
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:226:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:134:in  
> `block in include\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
> `each'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
> `include\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/dsl/include\_recipe.rb:26:in  
> `include_recipe' /var/chef/cookbooks/redmine/recipes/source.rb:29:in `from\_file'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
> `instance\_eval'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
> `from\_file'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:237:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:134:in  
> `block in include\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
> `each'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:133:in  
> `include\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/dsl/include\_recipe.rb:26:in  
> `include_recipe' /var/chef/cookbooks/redmine/recipes/default.rb:23:in `from\_file'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
> `instance\_eval'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/mixin/from\_file.rb:30:in  
> `from\_file'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/cookbook\_version.rb:237:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:165:in  
> `load\_recipe'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:140:in  
> `block in compile\_recipes'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:138:in  
> `each'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:138:in  
> `compile\_recipes'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context/cookbook\_compiler.rb:75:in  
> `compile'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/run\_context.rb:88:in  
> `load'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/policy\_builder/expand\_node\_object.rb:73:in  
> `setup\_run\_context'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:265:in  
> `setup\_run\_context'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:429:in  
> `do\_run'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:213:in  
> `block in run'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
> `fork'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in  
> `run'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:217:in  
> `run\_chef\_client'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:221:in  
> `block in run\_application'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
> `loop'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:213:in  
> `run\_application'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:67:in  
> `run'
> 
> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/bin/chef-solo:25:in  
> `<top (required)>' /usr/bin/chef-solo:23:in `load'  
> /usr/bin/chef-solo:23:in `'
> 
> Running handlers:  
> [2014-06-27T08:12:32+00:00] ERROR: Running exception handlers  
> Running handlers complete

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [June 27, 2014, 3:28pm UTC](https://discourse.chef.io/t/chef-solo-redmine-is-not-working/5467/4 "2014-06-27T15:28:23Z")

</div>

On Friday, June 27, 2014 at 5:09 AM, Venkatesh Ainalli wrote:

> REDMINE on CentOS getting following error.  
> Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was unable to complete your request.
> 
> Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
> 
> More information about this error may be available in the server error log.
> 
> Apache Server at 10.10.3.101 Port 80
> 
> [itapp@a01admin792 roles]$ sudo chef-solo -j redmine-kpuME-Role.json -ldebug  
> As I said before, you cannot pass a role directly as the node json. Specifically, this is incorrect: `-j redmine-kpuME-Role.json` You have to pass a file that matches the format described here: [chef-solo](http://docs.opscode.com/chef_solo.html#attributes)

Your role is then loaded from your configured `role_path`, as described here: [chef-solo](http://docs.opscode.com/chef_solo.html#roles)

--  
Daniel DeLeo

---

<div class="post-metadata">

**Author:** ![Venkatesh\_Ainalli](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@Venkatesh\_Ainalli](https://discourse.chef.io/u/Venkatesh_Ainalli)\
**Post date:** [June 27, 2014, 3:49pm UTC](https://discourse.chef.io/t/chef-solo-redmine-is-not-working/5467/5 "2014-06-27T15:49:39Z")

</div>

I ran node.json got the same error the issue just for debugging I ran role  
directly like this...the issue I'm facing is my role worked perfectly on  
ubuntu 12.04 redmine site up..but When I tried to deploy it on CentOS it's  
failing as i sent stack trace before  
On Jun 27, 2014 8:58 PM, "Daniel DeLeo" [dan@kallistec.com](mailto:dan@kallistec.com) wrote:

> On Friday, June 27, 2014 at 5:09 AM, Venkatesh Ainalli wrote:
> 
> > REDMINE on CentOS getting following error.  
> > Internal Server Error
> > 
> > The server encountered an internal error or misconfiguration and was  
> > unable to complete your request.
> > 
> > Please contact the server administrator, [no address given] and inform  
> > them of the time the error occurred, and anything you might have done that  
> > may have caused the error.
> > 
> > More information about this error may be available in the server error  
> > log.
> > 
> > Apache Server at 10.10.3.101 Port 80
> > 
> > [itapp@a01admin792 roles]$ sudo chef-solo -j redmine-kpuME-Role.json  
> > -ldebug  
> > As I said before, you cannot pass a role directly as the node json.  
> > Specifically, this is incorrect: `-j redmine-kpuME-Role.json` You have to  
> > pass a file that matches the format described here:  
> > [chef-solo](http://docs.opscode.com/chef_solo.html#attributes)
> 
> Your role is then loaded from your configured `role_path`, as described  
> here: [chef-solo](http://docs.opscode.com/chef_solo.html#roles)
> 
> --  
> Daniel DeLeo
