# Rebake did not actually revert the URLs back to local

**URL:** https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289
**Category:** Support
**Created:** [27 juli 2018 om 13:26 UTC](https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289 "2018-07-27T13:26:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [27 juli 2018 om 13:26 UTC](https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289/1 "2018-07-27T13:26:46Z")

</div>

I had images migrated from s3 to local successfully and posts rebaked as well! however, the image URLs are still from s3 bucket and not from the server. New uploads are served from server however old uploads are being served from s3!

am I missing something?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [27 juli 2018 om 13:30 UTC](https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289/2 "2018-07-27T13:30:11Z")

</div>

> [@Pictures from s3 to local machine](https://meta.discourse.org/t/pictures-from-s3-to-local-machine/78807/3):
>
> run the uploads:migrate\_from\_s3 rake task.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [27 juli 2018 om 13:31 UTC](https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289/3 "2018-07-27T13:31:06Z")

</div>

That’s already done!  
after that the posts rebake task is also run!

both have completed successfully without any errors.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [27 juli 2018 om 13:54 UTC](https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289/4 "2018-07-27T13:54:31Z")

</div>

Seems like `download remote images to local` is going to do it’s thing!

I see some 400+ tasks scheduled there so maybe I just have to wait a couple more hours?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [27 juli 2018 om 19:23 UTC](https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289/5 "2018-07-27T19:23:01Z")

</div>

[https://meta.discourse.org/t/how-to-let-discourse-load-images-from-local-after-youve-downloaded-them-back-to-server/93307/6?u=vinothkannans](https://meta.discourse.org/t/how-to-let-discourse-load-images-from-local-after-youve-downloaded-them-back-to-server/93307/6)

It may not work since the uploads are not in external URL format.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [27 juli 2018 om 19:25 UTC](https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289/6 "2018-07-27T19:25:55Z")

</div>

It didn’t work, at last I had to roll back to a point where uploads to s3 were enabled.  
I lost almost a day’s data in this. I hope the rake task is fixed soon so that this doesn’t happens to others.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [24 februari 2021 om 04:36 UTC](https://meta.discourse.org/t/rebake-did-not-actually-revert-the-urls-back-to-local/93289/7 "2021-02-24T04:36:39Z")

</div>


