# Миграция старых загрузок в MinIO

**URL:** <https://meta.discourse.org/t/migrate-old-uploads-to-minio/134780>\
**Category:** Self-hosting\
**Tags:** s3\
**Created:** [30.Ноябрь.2019 22:28:20 UTC](https://meta.discourse.org/t/migrate-old-uploads-to-minio/134780 "2019-11-30T22:28:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hosna](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hosna/32/99969_2.png) [@hosna](https://meta.discourse.org/u/hosna)\
**Post date:** [30.Ноябрь.2019 22:28:20 UTC](https://meta.discourse.org/t/migrate-old-uploads-to-minio/134780/1 "2019-11-30T22:28:20Z")

</div>

Я делаю что-то вроде этого:

`DISCOURSE_S3_BUCKET="abc" DISCOURSE_S3_REGION="minio" DISCOURSE_S3_ACCESS_KEY_ID="abc" DISCOURSE_S3_SECRET_ACCESS_KEY="abc" DISCOURSE_S3_ENDPOINT="my minio endpoint" rake uploads:migrate_to_s3`

Однако я получаю следующую ошибку:

Пожалуйста, укажите переменную окружения ‘DISCOURSE\_S3\_CDN\_URL’

---

_[View the full topic](https://meta.discourse.org/t/migrate-old-uploads-to-minio/134780)._
