When installing sugarcrm-ce cookbook, it shows no method error.I ve added their dependencies cookbook and am testing that in a linux platform of ubuntu,
[2014-09-29T14:30:25+02:00] INFO: *** Chef 11.4.4 ***
[2014-09-29T14:30:26+02:00] INFO: Setting the run_list to [“recipe[chef_handler]”, “recipe[notification_handler]”, “recipe[sugarcrm-ce]”] from JSON
[2014-09-29T14:30:26+02:00] INFO: Run List is [recipe[chef_handler], recipe[notification_handler], recipe[sugarcrm-ce]]
[2014-09-29T14:30:26+02:00] INFO: Run List expands to [chef_handler, notification_handler, sugarcrm-ce]
[2014-09-29T14:30:26+02:00] INFO: Starting Chef Run for e41bd7ad-f9fc-4a41-b7a7-419443b4575c
[2014-09-29T14:30:26+02:00] INFO: Running start handlers
[2014-09-29T14:30:26+02:00] INFO: Start handlers complete.
[2014-09-29T14:30:26+02:00] ERROR: Running exception handlers
[2014-09-29T14:30:27+02:00] ERROR: Exception handlers complete
[2014-09-29T14:30:27+02:00] FATAL: Stacktrace dumped to /var/chef-solo/cache/chef-stacktrace.out
[2014-09-29T14:30:27+02:00] FATAL: NoMethodError: undefined method `[]’ for nil:NilClass
~
Thanks & regards,
indra K
You need to provide a bit more information. Along with the error, there
should be a stack trace and an excerpt from the failing recipe. If you
don't see those, try increasing your log-level to debug (--log_level debug).
When installing sugarcrm-ce cookbook, it shows no method error.I ve
added their dependencies cookbook and am testing that in a linux platform
of ubuntu,
[2014-09-29T14:30:25+02:00] INFO: *** Chef 11.4.4 ***
[2014-09-29T14:30:26+02:00] INFO: Setting the run_list to
["recipe[chef_handler]", "recipe[notification_handler]",
"recipe[sugarcrm-ce]"] from JSON
[2014-09-29T14:30:26+02:00] INFO: Run List is [recipe[chef_handler],
recipe[notification_handler], recipe[sugarcrm-ce]]
[2014-09-29T14:30:26+02:00] INFO: Run List expands to [chef_handler,
notification_handler, sugarcrm-ce]
[2014-09-29T14:30:26+02:00] INFO: Starting Chef Run for
e41bd7ad-f9fc-4a41-b7a7-419443b4575c
[2014-09-29T14:30:26+02:00] INFO: Running start handlers
[2014-09-29T14:30:26+02:00] INFO: Start handlers complete.
[2014-09-29T14:30:26+02:00] ERROR: Running exception handlers
[2014-09-29T14:30:27+02:00] ERROR: Exception handlers complete
[2014-09-29T14:30:27+02:00] FATAL: Stacktrace dumped to
/var/chef-solo/cache/chef-stacktrace.out
[2014-09-29T14:30:27+02:00] FATAL: NoMethodError: undefined method `'
for nil:NilClass
~
Thanks & regards,
indra K
When installing sugarcrm-ce cookbook, it shows no method error.I ve added their dependencies cookbook and am testing that in a linux platform of ubuntu,
[2014-09-29T14:30:25+02:00] INFO: *** Chef 11.4.4 ***
[2014-09-29T14:30:26+02:00] INFO: Setting the run_list to [“recipe[chef_handler]”, “recipe[notification_handler]”, “recipe[sugarcrm-ce]”] from JSON
[2014-09-29T14:30:26+02:00] INFO: Run List is [recipe[chef_handler], recipe[notification_handler], recipe[sugarcrm-ce]]
[2014-09-29T14:30:26+02:00] INFO: Run List expands to [chef_handler, notification_handler, sugarcrm-ce]
[2014-09-29T14:30:26+02:00] INFO: Starting Chef Run for e41bd7ad-f9fc-4a41-b7a7-419443b4575c
[2014-09-29T14:30:26+02:00] INFO: Running start handlers
[2014-09-29T14:30:26+02:00] INFO: Start handlers complete.
[2014-09-29T14:30:26+02:00] ERROR: Running exception handlers
[2014-09-29T14:30:27+02:00] ERROR: Exception handlers complete
[2014-09-29T14:30:27+02:00] FATAL: Stacktrace dumped to /var/chef-solo/cache/chef-stacktrace.out
[2014-09-29T14:30:27+02:00] FATAL: NoMethodError: undefined method `[]’ for nil:NilClass
~
Thanks & regards,
indra K
Looks like your "sugarcrm-ce" cookbook depends on some attributes from
elsewhere. Assuming it's the version that's on supermarket, it looks like
it needs an attribute from the apache cookbook.
I thought just having the apache cookbook in the metadata of the
sugarcrm-ce cookbook (which it is) was enough, but maybe try adding
"recipe[apache2]" to your run-list?
When installing sugarcrm-ce cookbook, it shows no method error.I ve
added their dependencies cookbook and am testing that in a linux platform
of ubuntu,
[2014-09-29T14:30:25+02:00] INFO: *** Chef 11.4.4 ***
[2014-09-29T14:30:26+02:00] INFO: Setting the run_list to
["recipe[chef_handler]", "recipe[notification_handler]",
"recipe[sugarcrm-ce]"] from JSON
[2014-09-29T14:30:26+02:00] INFO: Run List is [recipe[chef_handler],
recipe[notification_handler], recipe[sugarcrm-ce]]
[2014-09-29T14:30:26+02:00] INFO: Run List expands to [chef_handler,
notification_handler, sugarcrm-ce]
[2014-09-29T14:30:26+02:00] INFO: Starting Chef Run for
e41bd7ad-f9fc-4a41-b7a7-419443b4575c
[2014-09-29T14:30:26+02:00] INFO: Running start handlers
[2014-09-29T14:30:26+02:00] INFO: Start handlers complete.
[2014-09-29T14:30:26+02:00] ERROR: Running exception handlers
[2014-09-29T14:30:27+02:00] ERROR: Exception handlers complete
[2014-09-29T14:30:27+02:00] FATAL: Stacktrace dumped to
/var/chef-solo/cache/chef-stacktrace.out
[2014-09-29T14:30:27+02:00] FATAL: NoMethodError: undefined method `'
for nil:NilClass
~
Thanks & regards,
indra K