# Exception during restore: EXCEPTION: undefined method \`\[\]' for nil:NilClass

**URL:** <https://meta.discourse.org/t/exception-during-restore-exception-undefined-method-for-nil-nilclass/34019>\
**Category:** Product Support\
**Created:** [2015 年 10 月 1 日午後 10:47 UTC](https://meta.discourse.org/t/exception-during-restore-exception-undefined-method-for-nil-nilclass/34019 "2015-10-01T22:47:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ckamps](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@ckamps](https://meta.discourse.org/u/ckamps)\
**Post date:** [2015 年 10 月 2 日午後 6:51 UTC](https://meta.discourse.org/t/exception-during-restore-exception-undefined-method-for-nil-nilclass/34019/5 "2015-10-02T18:51:42Z")

</div>

Turns out that contrary to the name of the downloaded file being `tar.gz`, it was actually in `tar` format. Consequently, upon upload and attempting to restore, the restore process failed. Entered the container, made the `tar.gz` a real `tar.gz` and the restore process proceeded.

---

_[View the full topic](https://meta.discourse.org/t/exception-during-restore-exception-undefined-method-for-nil-nilclass/34019)._
