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

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.


El frontend recupera las imágenes basándose en el contenido cocinado, lo que significa que si solo copia los archivos a S3, el navegador seguirá intentando obtener las imágenes de las URL de almacenamiento local.

La forma más sencilla de migrar el contenido del almacenamiento local a S3 es ejecutar el script de migración rake uploads:migrate_to_s3.