# After the latest upgrade some of images deleted. do you know why?

**URL:** <https://meta.discourse.org/t/after-the-latest-upgrade-some-of-images-deleted-do-you-know-why/66906>\
**Category:** Bug\
**Created:** [July 27, 2017, 7:05am UTC](https://meta.discourse.org/t/after-the-latest-upgrade-some-of-images-deleted-do-you-know-why/66906 "2017-07-27T07:05:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [July 27, 2017, 7:34am UTC](https://meta.discourse.org/t/after-the-latest-upgrade-some-of-images-deleted-do-you-know-why/66906/2 "2017-07-27T07:34:29Z")

</div>

Which version did you upgrade from? The missing images are returning a 404 from nginx which means they are missing from the uploads folder.

To get a list of missing images, you can run the following commands:

```plaintext
./launcher enter app
cd /var/www/discourse
bundle exec rake uploads:missing

```

From the list of missing images, you should do a search for those images in `/var/www/discourse/public/uploads/default/tombstone`. If the uploads have indeed been incorrectly moved to the tombstone, you can easily restore them by running

```plaintext
bundle exec rake uploads:recover_from_tombstone

```

---

_[View the full topic](https://meta.discourse.org/t/after-the-latest-upgrade-some-of-images-deleted-do-you-know-why/66906)._
