Chef: EOFError - end of file reached
Yesterday got this error on Chef server. As this is a quick pro-tip, let's take a look at the solution:
- Delete all cookbooks with the problem:
# knife cookbook delete --purge <cookbook>
# knife cookbook bulk delete --purge '.+'
- Once deleted, add them again:
# knife cookbook upload -a
Go to have a cup of tea. It will take some time depending on the amount of cookbooks you have.
Written by Boris Quiroz
Related protips
1 Response
Tried it, didn't work for me! Do you have any other idea to solve this?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Chef
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#