Moving uploads to a different S3 location

I am trying to move discourse uploads to a new S3 location. I copied files say; from bucket1 to bucket2.
Newly added uploads get saved at the new bucket2 location, but previously uploaded images the system still shows from the bucket1, the old location. What should I do to show it from the bucket 2?

1 Like

Solved it this way.

 cd /var/discourse

 ./launcher enter app

discourse remap  // //

:tada: Brilliant! Iā€™d been considering how to do replacements in the various tables, but this solves is perfectly. Thanks for sharing.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.