# Library scan removes tv content

**URL:** <https://forums.plex.tv/t/library-scan-removes-tv-content/887096>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [September 2, 2024, 12:45pm UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096 "2024-09-02T12:45:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisb34](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@chrisb34](https://forums.plex.tv/u/chrisb34)\
**Post date:** [September 2, 2024, 12:45pm UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096/1 "2024-09-02T12:45:38Z")

</div>

Server Version#: 1.40.5.8921  
Player Version#: unknown  
I just did a library scan on my TV and the scan removed 30% in its first pass. I thought I did something wrong so I re-did the scan and the the remaining 68% was removed in the second scan. I now only have about six TV shows left. Please add a restore previous version in the tools (with a reason to roll back question, so when this happens we can get our server working again and you guys know what went wrong). Can anyone help me with finding how to do a manual roll back? The last time I did one was on a Mac about 12 years ago, now i’m back on a 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:** [September 2, 2024, 12:53pm UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096/2 "2024-09-02T12:53:46Z")

</div>

[https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/)

Are your media files stored on an external hard drive, or maybe a file server/NAS?

---

<div class="post-metadata">

**Author:** ![chrisb34](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@chrisb34](https://forums.plex.tv/u/chrisb34)\
**Post date:** [September 2, 2024, 2:47pm UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096/3 "2024-09-02T14:47:53Z")

</div>

Sorry for any confusion. It’s the library that has shrunk when doing a scan. (The actual files are still on the NAS).

---

<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:** [September 2, 2024, 2:51pm UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096/4 "2024-09-02T14:51:02Z")

</div>

I thought so.

Are you allowing your hard drives to spin down while they’re idle?  
If you do, you want to disable “Empty trash automatically after every scan”.

Also, if your file names and the folder organization of your tv show files don’t follow the recommended structure, adding more files may sometimes to cause Plex to misrecognize whole folders of files as belonging to the same series/ or even episode.  
[https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/](https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/)

---

<div class="post-metadata">

**Author:** ![chrisb34](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@chrisb34](https://forums.plex.tv/u/chrisb34)\
**Post date:** [September 2, 2024, 10:41pm UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096/5 "2024-09-02T22:41:28Z")

</div>

Thanks, No NAS drive seams to be spinning all the time. I have been a member since start up so file names are not an issue, but I have found now that my PC with Plex Server cant find my NAS dive as a drive letter now. This is why the server thinks I don’t have anything. I can still access the NAS settings menu through the IP address just not the drive letter. So that is my next issue to fix.

---

<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:** [September 3, 2024, 5:43am UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096/6 "2024-09-03T05:43:06Z")

</div>

> [@chrisb34](#):
>
> I have been a member since start up so file names are not an issue

I’ve seen enough samples and logs of long-time users to take that conclusion with a ton of salt. 🙂

> [@chrisb34](#):
>
> but I have found now that my PC with Plex Server cant find my NAS dive as a drive letter now.

Does the Plex icon appear in the task tray area? If it doesn’t, PMS could be running under a different Windows user account.  
And drive letters for network shares are stored in the user account.  
If you stop PMS, log out of Windows, reboot the machine, then first log into the user account that you are regularly using, are the drive letters back?

Maybe you want to switch to UNC paths instead. These are a requirement anyway if you are running PMS as a Windows service.

> [@How to add files on a NAS to a Plex library on Windows](https://forums.plex.tv/t/how-to-add-files-on-a-nas-to-a-plex-library-on-windows/197062/1):
>
> If you have installed Plex Media Server on your Windows computer, you add shares on your NAS this way: Surf to the media on your NAS using the Windows file explorer: click into the address bar of file explorer once and press CTRL+C to copy the so-called ‘UNC path’ into the Windows clipboard. Then switch into Plex Web and [create a new library](https://support.plex.tv/hc/en-us/articles/200288926-Creating-Libraries "create a new library"). (or edit an existing one) On the ‘Add Folder…’ tab, click on ‘Browse for Media Folder’ in the resulting window, delete everything from th…

---

<div class="post-metadata">

**Author:** ![chrisb34](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@chrisb34](https://forums.plex.tv/u/chrisb34)\
**Post date:** [September 3, 2024, 10:00am UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096/7 "2024-09-03T10:00:15Z")

</div>

I finally got it all working again. I had to remove my network connection (where I had the issue with) and re-instate that drive again. Once that was done, I was able to re-scan my TV library and all is coming back now with the details of whats watched and whats not, so all is good. Not sure if the update had some affect but I was able to roll back to a known working version, which I will stay with for now

---

<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:** [December 2, 2024, 10:00am UTC](https://forums.plex.tv/t/library-scan-removes-tv-content/887096/8 "2024-12-02T10:00:36Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
