Checking if default already migrated...
7 of 14 uploads are not migrated to S3. S3 migration failed for db 'default'.
1 posts are not remapped to new S3 upload URL. S3 migration failed for db 'default'.
Looking for missing uploads on: default
0 post uploads are missing.
No posts require rebaking
Migrating uploads to S3 for 'default'...
Some uploads were not migrated to the new scheme. Please run these commands in the rails console
SiteSetting.migrate_to_new_scheme = true
Jobs::MigrateUploadScheme.new.execute(nil)
명령어를 몇 번이나 바꿔봤는데, 대부분 명령어에 ‘dualstack’ 단어를 추가하거나 제거하는 정도였고, Discourse 설정의 CDN URL 필드도 https://bxyzbucket1.s3.dualstack.ap-south-1.amazonaws.com으로 변경해 봤어요.
하지만 여전히 작동하지 않는 것 같았죠. 그러다 갑자기 OP에 언급된 두 개의 명령어를 rails 콘솔에서 다시 실행해 봤어요.
그때쯤 우연히 한 단계 더 진행한 것이, 명령어의 버킷 이름 뒤에 /uploads를 붙인 것이었어요.
그리고 ‘우연히’ (여기서 또 다른 '우연’이라는 단어가 필요하네요 :)) 성공했어요.
그래서 누가 이 문제 해결의 영웅인지 말하기 어렵네요.
그래도 들어줘서 감사합니다.
1 of 14 uploads are not migrated to S3. S3 migration failed for db 'default'.
1 posts are not remapped to new S3 upload URL. S3 migration failed for db 'default'.
이 오류는 무엇을 의미합니까? '로컬 >> S3’로 수천 장의 이미지를 이동해야 하는 경우 문제가 될 수 있습니까? @vinothkannans
여전히 " S3 migration failed for db ‘default’" 오류가 발생합니다.
게시글의 업로드/이미지는 버킷과 사이트에서 정상적으로 표시되지만, 사이트 로고 등(관리자 설정 > 브랜딩)은 누락되어 있고, 새 이미지로 업데이트하려고 해도 되지 않습니다. 단순히 빈 상태로만 남아 있습니다.
또한 (오류 없이) rake posts:rebake_uncooked_posts와 rake posts:rebake도 실행해 보았습니다.