Hosted to self-hosted migration: past uploads still reference discourse infra

Thank you Richard!

To clarify, by: Replace a string in all posts

Using

rake posts:remap["find","replace","string",true]

do

rake posts:remap[
  "https://cdck-file-uploads-europe1.s3.dualstack.eu-west-1.amazonaws.com/standard21/uploads/everviz/",
  "/uploads/default/"
]

The alternative replacer to relative would be `“https://forum.everviz.com/uploads/default/

Is the relative link what you’re thinking of?

e: correction of relative url with /

Oneliner:

rake posts:remap["https://cdck-file-uploads-europe1.s3.dualstack.eu-west-1.amazonaws.com/standard21/uploads/everviz/", "/uploads/default/"]