이 문제는 백업에 S3 업로드와 로컬 업로드가 혼합되어 있기 때문일 수 있습니다. 제 전문 분야는 아니지만, 해당 오류를 우회할 수 있는 해결책과 관련 논의가 아래 주제에서 이루어지고 있습니다. 다만, 해당 해결책은 오류 수가 훨씬 적은 경우에 적용된 것이므로 이 점을 고려해 주시면 좋겠습니다:
Looking at the error message from your previous post, it’s the count on line 85 which is of interest. @Falco ’s suggestion for editing the script is to increase that count to ignore some number of failures.
The simplest way to achieve that is by entering the container and using sed to make an in-place substitution on that specific line.
cd /var/discourse
./launcher enter app
sed -i '85s/0/100/' lib/file_store/to_s3_migration.rb
Run the rake task again after that and it will ignore up to 100 “p…