# Problemen met het wijzigen van de locatie voor het uploaden van bestanden/afbeeldingen naar de S3-server vanuit lokale opslag

**URL:** https://meta.discourse.org/t/issues-with-changing-file-image-upload-location-to-s3-server-from-local-storage/187255
**Category:** Support
**Created:** [18 april 2021 om 06:19 UTC](https://meta.discourse.org/t/issues-with-changing-file-image-upload-location-to-s3-server-from-local-storage/187255 "2021-04-18T06:19:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![seshu\_ram](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seshu_ram/32/140015_2.png) [@seshu\_ram](https://meta.discourse.org/u/seshu_ram)
#### Post date: [18 april 2021 om 06:19 UTC](https://meta.discourse.org/t/issues-with-changing-file-image-upload-location-to-s3-server-from-local-storage/187255/1 "2021-04-18T06:19:52Z")

</div>

I was facing a lot of storage issues with my discourse website. Hence, I tried setting up an S3 Server so that I can upload my images/files/backups onto the server.

I followed all the steps in the guide attached below to go about doing this  
[Setting up file and image uploads to S3 - howto / sysadmin - Discourse Meta](https://meta.discourse.org/t/setting-up-file-and-image-uploads-to-s3/7229)

However, none of my backups are getting uploaded to the S3 Server. Is there a way I can go about fixing this? Any possible troubleshooting mechanisms?

---

<div class="post-metadata">

### Author: ![Pravi](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@Pravi](https://meta.discourse.org/u/Pravi)
#### Post date: [18 april 2021 om 09:35 UTC](https://meta.discourse.org/t/issues-with-changing-file-image-upload-location-to-s3-server-from-local-storage/187255/2 "2021-04-18T09:35:50Z")

</div>

Have you tried, the below command after you have configured everything?

```
rake uploads:migrate_to_s3
rake posts:rebake

```

---

<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: [18 april 2021 om 12:06 UTC](https://meta.discourse.org/t/issues-with-changing-file-image-upload-location-to-s3-server-from-local-storage/187255/3 "2021-04-18T12:06:25Z")

</div>

I recommend following [Using Object Storage for Uploads (S3 & Clones)](https://meta.discourse.org/t/using-object-storage-for-uploads-s3-clones/148916).

If your backups are not on S3 then you’re going something wrong.

---

<div class="post-metadata">

### Author: ![seshu\_ram](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seshu_ram/32/140015_2.png) [@seshu\_ram](https://meta.discourse.org/u/seshu_ram)
#### Post date: [21 april 2021 om 04:33 UTC](https://meta.discourse.org/t/issues-with-changing-file-image-upload-location-to-s3-server-from-local-storage/187255/4 "2021-04-21T04:33:20Z")

</div>

Thank you. Will check this out!

---

<div class="post-metadata">

### Author: ![seshu\_ram](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seshu_ram/32/140015_2.png) [@seshu\_ram](https://meta.discourse.org/u/seshu_ram)
#### Post date: [21 april 2021 om 04:33 UTC](https://meta.discourse.org/t/issues-with-changing-file-image-upload-location-to-s3-server-from-local-storage/187255/5 "2021-04-21T04:33:39Z")

</div>

Unfortunately, this didn’t work.
