# Media Stuck after being deleted

**URL:** <https://forums.plex.tv/t/media-stuck-after-being-deleted/151799>\
**Category:** General Discussions\
**Created:** [July 17, 2016, 12:28pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799 "2016-07-17T12:28:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrbiggbrain](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mrbiggbrain](https://forums.plex.tv/u/mrbiggbrain)\
**Post date:** [July 17, 2016, 12:28pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/1 "2016-07-17T12:28:51Z")

</div>

I deleted a number of TV episodes using Powershell because Media Center buddy did not like my Nvidia driver and caused discoloration, which took me a few weeks to catch up to. All in all i got rid of about 250 episodes which was fine as they should eventually re-record, however it has been 3 weeks and they still show in Plex (Without the trashcan) even after multiple refreshes/updates, emptying of trashcans, etc. When trying to play I get an error to check the media exists.

This is driving me crazy! In the past deleting the content and refreshing has been enough, but now I am not sure if doing it with powershell or the large number has broken something.

---

<div class="post-metadata">

**Author:** ![Riza.Dav](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@Riza.Dav](https://forums.plex.tv/u/Riza.Dav)\
**Post date:** [July 17, 2016, 12:48pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/2 "2016-07-17T12:48:40Z")

</div>

Check in the filesystem that those files are definitely gone.  
from within plex  
run an update library (not refresh library)  
then clean bundles  
then empty trash

---

<div class="post-metadata">

**Author:** ![mrbiggbrain](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mrbiggbrain](https://forums.plex.tv/u/mrbiggbrain)\
**Post date:** [July 17, 2016, 2:33pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/3 "2016-07-17T14:33:26Z")

</div>

Files are definitely gone. I have been running update library, no change, did the steps you recommended (I had done them previously but did again in your order), still no luck.

---

<div class="post-metadata">

**Author:** ![Riza.Dav](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@Riza.Dav](https://forums.plex.tv/u/Riza.Dav)\
**Post date:** [July 17, 2016, 2:37pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/4 "2016-07-17T14:37:22Z")

</div>

were these optimised videos thru plex ?

---

<div class="post-metadata">

**Author:** ![mrbiggbrain](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mrbiggbrain](https://forums.plex.tv/u/mrbiggbrain)\
**Post date:** [July 17, 2016, 2:53pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/5 "2016-07-17T14:53:47Z")

</div>

Nope, I never optimize my videos. They where just MP4 files in a folder.

---

<div class="post-metadata">

**Author:** ![Riza.Dav](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@Riza.Dav](https://forums.plex.tv/u/Riza.Dav)\
**Post date:** [July 17, 2016, 3:07pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/6 "2016-07-17T15:07:02Z")

</div>

out of curiosity can you delete them from within plex - u may need to enable owner privilages in plex to delete.  
i cant say ive had this issue myself. then again i delete thru the plex system if i need to.

---

<div class="post-metadata">

**Author:** ![astrofisher](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/astrofisher/32/9053_2.png) [@astrofisher](https://forums.plex.tv/u/astrofisher)\
**Post date:** [July 17, 2016, 3:36pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/7 "2016-07-17T15:36:15Z")

</div>

Support article in case you haven’t seen it: [Why does content I deleted on my drive still show up?](https://support.plex.tv/hc/en-us/articles/201447966-Why-does-content-I-deleted-on-my-drive-still-show-up-)

I would look at the Plex Media server.log and check to see if the database is corrupt - should be signs in that log if this is the case.

---

<div class="post-metadata">

**Author:** ![mrbiggbrain](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mrbiggbrain](https://forums.plex.tv/u/mrbiggbrain)\
**Post date:** [July 17, 2016, 4:53pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/8 "2016-07-17T16:53:35Z")

</div>

Checked the logs and do not see anything about corrupt database. Checked SQLITE database using SQLite tools, it was ok. So I just removed the database and started from scratch, will probably take a while to find the ~10K media items but they should be fine.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 7, 2020, 9:38pm UTC](https://forums.plex.tv/t/media-stuck-after-being-deleted/151799/9 "2020-01-07T21:38:25Z")

</div>


