# \`rake uploads:migrate\_to\_s3\` braucht etwas Liebe

**URL:** <https://meta.discourse.org/t/rake-uploads-migrate-to-s3-needs-some-love/109497>\
**Category:** Bug\
**Created:** [18. Februar 2019 um 22:55 UTC](https://meta.discourse.org/t/rake-uploads-migrate-to-s3-needs-some-love/109497 "2019-02-18T22:55:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [18. Februar 2019 um 23:59 UTC](https://meta.discourse.org/t/rake-uploads-migrate-to-s3-needs-some-love/109497/2 "2019-02-18T23:59:18Z")

</div>

> [@pfaffman](#):
>
> There is no `GlobalSetting.use_s3?` , but a `GlobalSetting.use_s3`

```plaintext
[1] pry(main)> GlobalSetting.use_s3
NoMethodError: undefined method `use_s3' for GlobalSetting:Class
Did you mean? use_s3?

```

> [@pfaffman](#):
>
> the ENV variables have changed, as `DISCOURSE_S3_BUCKET` has been replaced by `DISCOURSE_S3_UPLOAD_BUCKET` .

> <https://github.com/discourse/discourse/blob/c08b2ddecfaed0f0ab3e3b30743b55d5f5230fb2/config/discourse_defaults.conf#L170>

The code in the rake task is still valid from what I can tell. Did you run into any specific problems that made you bring up the issues above?

---

_[View the full topic](https://meta.discourse.org/t/rake-uploads-migrate-to-s3-needs-some-love/109497)._
