S3 스토리지에 연결된 경우, Discourse는 이미 로컬에 있는 데이터를 마이그레이션할 수 있나요?

프론트엔드는 cooked 콘텐츠에 기반하여 이미지 주소를 가져오므로, 단순히 파일을 S3로 복사한 경우에도 브라우저는 여전히 로컬 저장소의 URL에서 이미지를 다운로드하려고 시도합니다.

로컬 저장소의 콘텐츠를 S3로 마이그레이션하는 가장 간단한 방법은 마이그레이션 스크립트 rake uploads:migrate_to_s3를 실행하는 것입니다.


The frontend retrieves images based on the cooked content, meaning that if you only copy the files to S3, the browser will still attempt to fetch images from the local storage URLs.

The simplest way to migrate content from local storage to S3 is to run the migration script rake uploads:migrate_to_s3.