# "undefined method" Error When Running uploads:migrate\_to\_s3 Rake Task

**URL:** https://meta.discourse.org/t/undefined-method-error-when-running-uploads-migrate-to-s3-rake-task/106351
**Category:** Bug
**Created:** [12.Январь.2019 11:11:06 UTC](https://meta.discourse.org/t/undefined-method-error-when-running-uploads-migrate-to-s3-rake-task/106351 "2019-01-12T11:11:06Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Zyniker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zyniker/32/120004_2.png) [@Zyniker](https://meta.discourse.org/u/Zyniker)
#### Post date: [15.Январь.2019 23:28:10 UTC](https://meta.discourse.org/t/undefined-method-error-when-running-uploads-migrate-to-s3-rake-task/106351/3 "2019-01-15T23:28:10Z")

</div>

As best I can tell, this is a bug (probably somewhere in [this](https://github.com/discourse/discourse/blob/83a346cd6879be75e6e9312e6b9d6edee1ae2c7b/lib/tasks/uploads.rake) file) that will need to be fixed before we’ll be able to run the rake task successfully. Given the interactions in the [previous thread](https://meta.discourse.org/t/cannot-execute-the-rake-uploads-migrate-from-s3/78541/10), I would assume this is something that will need the attention of @sam or @zogstrip.

I perused the file, but, sadly, I don’t know enough Ruby to find the problem.

---

_[View the full topic](https://meta.discourse.org/t/undefined-method-error-when-running-uploads-migrate-to-s3-rake-task/106351)._
