d0ly-q
Last Updated: February 25, 2016
·
1.601K
· boris
Beer avatar

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.

Say Thanks
Respond

1 Response
Add your response

12868
D0e37c5af9fb187186dcffd25ca53d7b

Tried it, didn't work for me! Do you have any other idea to solve this?

over 1 year ago ·