Just can’t seem to get this to work. Old endpoint still in all the posts.
- Change “s3 Endpoint” in admin settings
- Rebaked all posts “rake posts:rebake”
- Cleared redis cache
After confirming the above didn’t work:
- rake posts:remap[‘old endpoint without http’, ‘new endpoint without http’]
- rebake all posts
- restarted container
- restarted whole server
after this didn’t work:
- edit sql replace all old endpoint with new endpoint in “posts” table in “raw” and “image_url” columns
- Rebake all posts
After all this, not only did the old posts retain the old endpoint, new posts with new attachments also has the old endpoint. “short-url” links also link to old endpoint.
What are the correct steps?