Vagrant-LAMP-Stack icon indicating copy to clipboard operation
Vagrant-LAMP-Stack copied to clipboard

could not find recipe server for cookbook mysql

Open ivellios opened this issue 10 years ago • 1 comments

After running vagrant up I get an error about mysql cookbook, but I don't know how to fix it.

==> projectname: Recipe Compile Error
==> projectname: ================================================================================
==> projectname: 
==> projectname: Chef::Exceptions::RecipeNotFound
==> projectname: --------------------------------
==> projectname: could not find recipe server for cookbook mysql
==> projectname: 
==> projectname: [2015-01-30T07:51:08+00:00] ERROR: Running exception handlers
==> projectname: [2015-01-30T07:51:08+00:00] ERROR: Exception handlers complete
==> projectname: [2015-01-30T07:51:08+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out

ivellios avatar Jan 30 '15 08:01 ivellios

I also got this issue.

Solution is to:

lock the cookbook versions in metadata.rb:

depends 'mysql', '~> 5.0' 

delete the Berksfile.lock then vagrant up --provision

dustinpitcher avatar Feb 06 '15 00:02 dustinpitcher