Automatic library scans seem to ignore .plexignore files

Server Version#: 1.41.0.8992
Player Version#: Plex Web 4.136.1

I’m running Plex Server on Ubuntu 22.04. I’ve got a Photos library. I want it to ignore the folders “thumbs” and “encoded-video”. In the root folder of that library, I have a .plexignore file with the following contents:

thumbs/*
encoded-video/*

When “Scan my library automatically” is disabled, I can manually perform a library scan, and this works as expected. When “Scan my library automatically” is enabled, it watches and generates thumbnails for both folders. If I disable automatic library scans, restart Plex Server, and manually scan the Photos library, and both folders will disappear. This is repeatable.

Is this a bug, or am I doing it wrong?

I use .plexignore at the directory level (which will match your need?)

[chuck@lizum tv.2007]$ cat .plexignore 
#
# Plex Ignore sample

# Ignore all series beginning with "The"
The*

# Ingore series with "Cities" in the name
*Cities*

# Ignor all series ending in "Science"
*Science

# ignore anything with a "Season" subdirectory  (wipes out that whole subdir)
*/Season *

[chuck@lizum tv.2008]$

Being at the root , this example hides “The Waltons”, series with the word “Cities” in the name, or ending in “Science” (which wipes out most of that section – :wink:

if you want to ignore (hide) any ‘thumbs’ directory (if the name is only ‘thumbs’
then you write

# Ignore 'thumbs'
thumbs

# Ingore 'thumbs' with trailing info
thumbs*

You’re not trying to ignore the contents of ‘thumbs’ (thumbs/*), you’re trying to ignore thumbs itself (which will include all below it as well) (thumbs).

After editing the .plexignore , “scan files”

Tried that. Doesn’t work for me. Once I enable “Scan my library automatically”, the thumbs folder and all its subfolders get watched/indexed/thumbnailed. This doesn’t happen when that option is disabled and I perform manual library scans.

My Photos media library is in /mnt/stuff/Media/Photos. The folder I want to ignore is /mnt/stuff/Media/Photos/thumbs. Here’s my .plexignore:

/mnt/stuff/Media/Photos$ cat .plexignore
thumbs
thumbs*
*/thumbs
*/thumbs/
*/thumbs/*
*/thumbs*/
*/thumbs*/*

Thank you for this. This takes investigation into a different part of PMS. This feels like it might be a bug and is something to test further

I’ll reply after I build a new photos library

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