mdxp/knife-backup

Error on restoring backup (migrate chef 10 to latest 11)

Closed this issue · 2 comments

WARNING: This will overwrite existing data!
Do you want to restore backup, possibly overwriting exisitng data? (Y/N) Y
=== Restoring clients ===
ruby: yajl_parser.c:151: yajl_do_parse: Assertion `(hand->stateStack).used > 0' failed.
Aborted

Restoring should be done on the new chef 11. (Transfer the backup from chef 10 to 11)

This error occurs if you are using an old version of chef-client (e.g. chef gem version 11.4.4) 11.6.0 upwards should work