# Old image uploads become broken images

**URL:** https://meta.discourse.org/t/old-image-uploads-become-broken-images/47236
**Category:** Support
**Created:** [7월 13, 2016, 6:38오후 UTC](https://meta.discourse.org/t/old-image-uploads-become-broken-images/47236 "2016-07-13T18:38:57Z")
**Posts on this page:** 1
**Showing post:** 64

<div class="post-metadata">

### Author: ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)
#### Post date: [5월 24, 2021, 5:20오전 UTC](https://meta.discourse.org/t/old-image-uploads-become-broken-images/47236/64 "2021-05-24T05:20:41Z")

</div>

저도 정확히 같은 문제를 겪고 있습니다. `UploadRecovery.new(dry_run: true).recover` 명령을 실행해 보니 수백 개, 아니 수천 개의 게시글에서 깨진 이미지가 발견되었습니다.

도와주세요.

```plaintext
Warning /t/topic/456/1 had an incorrect 4c067c2b3757c09af171ed76201f7bdd8ec07790 should be 10f5a203236958e81afbfe79562d5ced6c12e714 storing in custom field 'rake uploads:fix_relative_upload_links' can fix this
Warning /t/topic/456/1 had an incorrect 39226a90d91a7632131f92a1a160a0869bc820f3 should be 7d44ab5d3927eeaedb9c365bb42ed1b98225e314 storing in custom field 'rake uploads:fix_relative_upload_links' can fix this
Warning /t/topic/456/1 had an incorrect ccbe4133898e379cbe058f524c6898e75aec2de4 should be 8b0f3b2409846ce3c0d9aa828b9a455ed3efb6d2 storing in custom field 'rake uploads:fix_relative_upload_links' can fix this
Warning /t/topic/456/1 had an incorrect 0180975c4c6253ebb34541f0b52e29c2d8160ad8 should be 71f93bc6995bba955e43c253bae4e5ffa25b2e8d storing in custom field 'rake uploads:fix_relative_upload_links' can fix this
Warning /t/topic/456/1 had an incorrect e3b7e0ce02df2e74e18b6a401fa8a5c6b83d6025 should be 0c668ab11398b347859bc7e341007a85b781cfa4 storing in custom field 'rake uploads:fix_relative_upload_links' can fix this
Warning /t/topic/459/1 had an incorrect 1bad7e81b296be3dc778d3da9dfb2e9916ae3f7d should be 883da7ce2bbdf5e0e240298fdd6cfb199342c2e5 storing in custom field 'rake uploads:fix_relative_upload_links' can fix this
Warning /t/topic/459/1 had an incorrect 1bad7e81b296be3dc778d3da9dfb2e9916ae3f7d should be 883da7ce2bbdf5e0e240298fdd6cfb199342c2e5 storing in custom field 'rake uploads:fix_relative_upload_links' can fix this
Warning /t/topic/459/1 had an incorrect a4c88be04d29dc7a5ab6335a5b173d96a964b000 should be e95a89ba54ffeb8f814401629e29994325c6b018 storing in custom field 'rake uploads:fix_relative_upload_links' can fix this

```

이것은 전체 목록이 아닙니다.

참고: `rake uploads:fix_relative_upload_links`는 아무것도 해결해주지 않습니다.

1. `rake posts:rebake`를 실행한 후 이미지가 깨졌습니다. 이전에 rebake를 수행하기 전에는 작은 아이콘으로 표시되어 있었고, 클릭해야만 전체 이미지가 보였습니다.

@pfaffman @gerhard @vinothkannans

---

_[View the full topic](https://meta.discourse.org/t/old-image-uploads-become-broken-images/47236)._
