How do I move my s3 upload bucket from one provider to another?

You want to inspect the Upload objects:

cd /var/discourse
./launcher enter app
rails c
Upload.order(Arel.sql('RANDOM()')).limit(10).pluck(:id, :url)
1 Like