# Command line restore for web only container can't load thor

**URL:** <https://meta.discourse.org/t/command-line-restore-for-web-only-container-cant-load-thor/68570>\
**Category:** Development\
**Tags:** two-container\
**Created:** [August 22, 2017, 10:36pm UTC](https://meta.discourse.org/t/command-line-restore-for-web-only-container-cant-load-thor/68570 "2017-08-22T22:36:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [August 22, 2017, 10:36pm UTC](https://meta.discourse.org/t/command-line-restore-for-web-only-container-cant-load-thor/68570/1 "2017-08-22T22:36:58Z")

</div>

I just tried to do a restore on a web\_only container and it whines that it can’t load `thor` when it tries to `load_rails`. (If you don’t actually try to restore, it doesn’t fail --and OMG, how awesome is it that it suggests filenames and you can then copy and paste from a list!!! 👍 I don’t know how long that’s been there, but I was psyched to find it.)

```plaintext
root@web-only:/var/www/discourse# script/discourse restore ning-import-2017-08-22-172513-v20170803123704.tar.gz
/usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- thor (LoadError)
        from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from script/discourse:3:in `<main>'

```

---

_[View the full topic](https://meta.discourse.org/t/command-line-restore-for-web-only-container-cant-load-thor/68570)._
