Skip to content

Instantly share code, notes, and snippets.

@rrivas
Created August 26, 2013 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rrivas/6344659 to your computer and use it in GitHub Desktop.
Save rrivas/6344659 to your computer and use it in GitHub Desktop.
sabnzbd install error
root@grant:~/chef-media-server-master# chef-solo -c solo.rb -j node.json
Starting Chef Client, version 11.6.0
Compiling Cookbooks...
================================================================================
Recipe Compile Error in /root/chef-media-server-master/cookbooks/mediaserver/recipes/default.rb
================================================================================
NoMethodError
-------------
undefined method `[]' for nil:NilClass
Cookbook Trace:
---------------
/root/chef-media-server-master/cookbooks/sabnzbd/recipes/default.rb:27:in `from_file'
/root/chef-media-server-master/cookbooks/mediaserver/recipes/default.rb:11:in `from_file'
Relevant File Content:
----------------------
/root/chef-media-server-master/cookbooks/sabnzbd/recipes/default.rb:
20: package "par2"
21: package "unrar"
22: package "python-yenc"
23: package "python-openssl" # Package contains --
24: package "coreutils" # nice
25: package "util-linux" # ionice
26:
27>> user node['sabnzbd']['user'] do
28: shell '/bin/bash'
29: comment 'Web Application - SABnzbd'
30: home node['sabnzbd']['install_dir']
31: system true
32: end
33:
34: app_dirs = [
35: "#{node['sabnzbd']['install_dir']}",
36: "#{node['sabnzbd']['config_dir']}",
[2013-08-26T11:15:39-07:00] ERROR: Running exception handlers
[2013-08-26T11:15:39-07:00] ERROR: Exception handlers complete
[2013-08-26T11:15:39-07:00] FATAL: Stacktrace dumped to /root/chef-solo/chef-stacktrace.out
Chef Client failed. 0 resources updated
[2013-08-26T11:15:39-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment