# Update Libraries doesn't remove data for files deleted

**URL:** <https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255>\
**Category:** General Discussions\
**Created:** [July 12, 2016, 2:56pm UTC](https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255 "2016-07-12T14:56:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![david11917](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/david11917/32/82053_2.png) [@david11917](https://forums.plex.tv/u/david11917)\
**Post date:** [July 12, 2016, 2:56pm UTC](https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255/1 "2016-07-12T14:56:41Z")

</div>

On my windows PMS running 1.0.0.2261, when I delete a file in windows explorer and run Update Library, the media icon remains in the plex app and reads as unavailable. When I had PMS running on OSX the media icon was removed. Is there a way to get the Update Library function to remove the deleted media files media icons from the Plex app when updating library?

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [July 12, 2016, 3:26pm UTC](https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255/2 "2016-07-12T15:26:14Z")

</div>

Empty library trash  
[https://support.plex.tv/hc/en-us/articles/200289326-Emptying-Library-Trash](https://support.plex.tv/hc/en-us/articles/200289326-Emptying-Library-Trash)

---

<div class="post-metadata">

**Author:** ![Decked](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@Decked](https://forums.plex.tv/u/Decked)\
**Post date:** [July 13, 2016, 10:06am UTC](https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255/3 "2016-07-13T10:06:30Z")

</div>

Thanks, I’d been wondering how to do this.

---

<div class="post-metadata">

**Author:** ![david11917](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/david11917/32/82053_2.png) [@david11917](https://forums.plex.tv/u/david11917)\
**Post date:** [July 14, 2016, 4:24pm UTC](https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255/4 "2016-07-14T16:24:42Z")

</div>

That setting is already set on my PMS. Also, I’ve emptied trash manually. The icons do not appear with a trash symbol on them. They look as if they are playable, however they say Unavailable. The update library function doesn’t remove the data once the file is deleted from the drive. This worked flawlessly in OSX but not in windows.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [July 14, 2016, 5:20pm UTC](https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255/5 "2016-07-14T17:20:24Z")

</div>

You need to take a closer look at how you connected your libraries in Plex with actual folders/drives. [Edit your library](https://support.plex.tv/hc/en-us/articles/200289266-Editing-Libraries "Edit your library")(s) and go to the ‘Add folders’ tab to find out.  
Then compare this with the existing folders and drive letters you see in file explorer.  
If there is one library connected to a drive letter or folder which doesn’t exist anymore, you get the behaviour you’re experiencing.

Windows has the habit to ‘swap’ or ‘shift’ drive letters if you connect external drives in a different order. One or several external drives might have gotten different drive letters.  
You need to correct this in the control panel. [http://pcsupport.about.com/od/tipstricks/f/change-drive-letter.htm](http://pcsupport.about.com/od/tipstricks/f/change-drive-letter.htm)

---

<div class="post-metadata">

**Author:** ![sogalitno](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sogalitno/32/2985_2.png) [@sogalitno](https://forums.plex.tv/u/sogalitno)\
**Post date:** [October 27, 2016, 3:06am UTC](https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255/6 "2016-10-27T03:06:26Z")

</div>

thanks for this… i have had many problems with orphan titles (i use plex for a large library of music files) and have had to resort to deleting entire libraries and recreating them which is a nightmare.

---

<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:36pm UTC](https://forums.plex.tv/t/update-libraries-doesnt-remove-data-for-files-deleted/151255/7 "2020-01-07T21:36:59Z")

</div>


