Automatically scan library inconsistent

Server Version#: 1.16.6.1592
Player Version#: N/A

After moving to a new computer (Windows 10) and several Plex server updates later I am now getting inconsistent scans on either newly added or deleted content. Basically if I add a new item (or delete an existing one), which can be movies, shows, music, etc, then it does not always show up in (get removed from) my library.

  • if I do a manual Scan Library Files then it always works
  • I have gone through the process of going into my settings > library, turning the options of ‘Scan my library automatically’ and ‘Run a partial scan when changes are detected’ off and then on again but this only sometimes corrects the issue and then only for a little bit

My server is setup to use a network path to my attached USB external drive where my media is located. I don’t have any issues with this setup for any other Plex features so I’m not sure this is the issue (and as mentioned above the manual scan works).

From the logs is there any specific file you need to help debug this or should I attach the whole zip file? Is there any private info that I should remove before posting to this public forum or can I just PM it to a dev?

The automatic detection of changes to your files generally works on a local file system but not on external drives or network shares (e.g. through SMB, NFS, AFP).

From https://support.plex.tv/articles/200289306-scanning-vs-refreshing-a-library/#toc-1

Update my library automatically

Typically, the most desirable way to keep your libraries up to date is using the Update my library automatically feature. This uses capabilities of the operating system to detect when content has changed and then initiate a library scan.

Note: In most cases, this should work for content on local filesystems. It will generally not work for network shares mounted via SMB, NFS, AFP, or similar.

If you have this option enabled and library scans don’t happen automatically (you should wait 60 seconds after all activity on the drive finishes), automatic updates may not be supported on your operating system/filesystem and you may wish to use periodic updates instead.

I have had external drives for years without issues so I suppose it is being flaky due to the recently changes I had done to use network paths in my libraries instead of the actual drive letter allocations (e.g. F:\media instead of network_share/media).

The automatic scanning does not work if you use network paths.

Changing back to a local drive letter sorted everything out and now things are back to working as expected.

@tom80H, @anon18523487

Thank you both for the quick replies and the info :slight_smile:

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