# 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:** [27 يوليو 2017، 7:05ص 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:** 13

<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:** [8 أغسطس 2017، 1:59ص UTC](https://meta.discourse.org/t/after-the-latest-upgrade-some-of-images-deleted-do-you-know-why/66906/13 "2017-08-08T01:59:02Z")

</div>

> [@tgxworld](#):
>
> I’ll have a look. bundle exec shouldn’t be causing that error and is a bug IMO.

Turns out you have to run `bundle exec` with the right permissions, `su discourse -c "bundle exec rake uploads:missing"`

---

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