Move S3 image to local host

Dear all,

Could you support me how to move S3 storage to local host?

Thanks.

1 Like

I think the solution is:

cd /var/discourse
./launcher enter app
rake uploads:migrate_from_s3

Then disable site setting:
disable: enable s3 uploads

Then run:

rake posts:rebake

I haven’t tested it though, so you should wait for someone else to confirm.

3 Likes

@markersocial, found an error.
Any other advise?