oh for old images (not a brand new forum) you need to run the rake task:
cd /var/discourse
./launcher enter app
rake uploads:migrate_to_s3
then rebake the local uploads:
rake posts:rebake_match["/uploads/default/original/"]
thanks for reminding me, i will add this to my R2 object storage documentation