Yeah, sadly I don’t have the S3 credentials ![]()
I can reproduce the steps:
- Installed a new Discourse Forum with discourse_docker behind Traefik
- Did a backup of the old forum (including some old assets)
- Restored the backup on the new forum
- Forced HTTPS
- Got asset URLs out of the
dump.sql(from the backup)
egrep -o 'discuss-openhdfpv.eu-central-1.linodeobjects.com\/original\/1X\/[0-9a-z_]{0,}\.[0-9a-zA-Z]{0,}' ./dump.sql >> original.txtegrep -o 'discuss-openhdfpv.eu-central-1.linodeobjects.com\/optimized\/1X\/[0-9a-z_]{0,}\.[0-9a-zA-Z]{0,}' ./dump.sql >> optimized.txt
- Downloaded the assets:
cat optimized.txt | parallel --gnu "wget -nc -P ./optimized/1X/ {}"(same with original) - Removed the S3 configurations
rake posts:rebake
I can do SQL stuff at the database, when I know what to look for.