Il comando rake uploads:migrate_to_s3 fallisce perché la variabile d’ambiente DISCOURSE_S3_CDN_URL è vuota.
Come posso risolvere?
Non sto utilizzando una CDN, quindi non sono sicuro di cosa inserire.
Aiutatemi, per favore.
Il comando rake uploads:migrate_to_s3 fallisce perché la variabile d’ambiente DISCOURSE_S3_CDN_URL è vuota.
Come posso risolvere?
Non sto utilizzando una CDN, quindi non sono sicuro di cosa inserire.
Aiutatemi, per favore.
I think there’s an issue with how Discourse handles this. When you move uploads to S3 and set the DISCOURSE_S3_CDN_URL env variable, Discourse tries to fetch assets from S3 too. I had to move uploads and assets to S3 + Cloudfront to make it work, but it shouldn’t be needed since you only want uploads to be on S3
You can check this thread to see if it helps.