# תמונות חסרות באתר discourse. בזמן שהן קיימות בתיקיית ההעלאות

**URL:** <https://meta.discourse.org/t/missing-images-in-discourse-website-while-they-exist-in-upload-folder/187489>\
**Category:** Product Support\
**Created:** [20 באפריל,‏ 2021,‏ 2:42pm UTC](https://meta.discourse.org/t/missing-images-in-discourse-website-while-they-exist-in-upload-folder/187489 "2021-04-20T14:42:47Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [23 באפריל,‏ 2021,‏ 5:39pm UTC](https://meta.discourse.org/t/missing-images-in-discourse-website-while-they-exist-in-upload-folder/187489/7 "2021-04-23T17:39:56Z")

</div>

I went further into the rake task `rake uploads:recover`. I think there is something wrong in the following line:

> <https://github.com/discourse/discourse/blob/e3b1d1a7183c2f68c4e9acdd2faac453d9430e1f/lib/upload_recovery.rb#L105>

as far as i understand here all files in `uploads/default/original` should be added to `@paths`. However I tried to print `@paths` into a file and I only see tombstone files is listed.

Am I missing something here? 🤔 @cvx

I think it should be like

```plaintext
concat(Dir.glob(File.join(
      Rails.root, "public", Discourse.store.upload_path,
      'original',
      '**',
      '*.*'
    )))

```

---

_[View the full topic](https://meta.discourse.org/t/missing-images-in-discourse-website-while-they-exist-in-upload-folder/187489)._
