I am running Plex (offline, no PlexPass) inside an iocage jail on FreeNAS 11.3-U3.2.
I have a readonly moint point to my music share (on the ZFS volume).
The problem I have is that PMS does not detect any external deletions in my music library.
I would expect it to show mp3s, flacs as deleted (with the recycle icon) so that I can empty the trash and the orphaned files are gone. But that does not happen.
I have tried Scan, Analyze, Refresh. Nothing works, all the deleted music is still there. And if I click on one of the deleted songs it displays an error message that it cannot be played back (obviously).
I also tried Settings/Library, Scan my library automatically and/or Run partial scan when changes are detected. Nothing makes any difference.
The only thing that works is changing the library path alltogether (e.g. adding a “2”), saving and then editing it again and removing the “2”. Then it scans anew. But from scratch - all the existing media files are gone, too. That cannot be the solution
In terms of library settings I have tried both the scanners “Plex Music” (with Plex Music agent) and “Plex Music Scanner” (with Last.fm agent). Doesn’t work with either of them. (At the moment I prefer the old “Plex Music Scanner / Last.fm” combination, as it allows me to have a bunch of various artists in a single folder and still correctly shows their covers)
The interesting thing is that with movies and with TV Series that does work just fine - just not for music
It worked fine in the 1.13.x version, in some of the future versions that must have gone buggy.
What can I do to get this working?
Thanks in advance!
Server Version#: 1.19.3.2852 and also the latest
Player Version#: n/a
Did you delete all of the files in the folder that the library points to? If so, Plex will treat this as an unavailable drive and will not alter the library. You need to leave at least 1 file (any file) so PMS does not see an empty folder.
I have a root /media/audio/music that the library is mapped to (read only from zfs storage).
Inside this audio root directory there are many child folders of which many have more child folders. fully qualified it looks like this:
/media/audio/music/something/a
/media/audio/music/something/a/1
/media/audio/music/something/b (0 files)
/media/audio/music/something/b/1 (0 files)
/media/audio/music/something/b/1/I (2 files)
/media/audio/music/something/b/1/II (3 files)
/media/audio/music/something/c/ (80 files) ***
/media/audio/music/something/d/e/f/…
and so on…
I did delete the folder marked with a ***.
(Actually technically I just moved it completely outside the scope of /media/audio, so that PMS must think it to be deleted.)
But the rest of the library is intact, so there should be no reason, that PMS should think that the entire drive has become unavailable.
[Is there a technical limit definied when it comes to maximum path depths in which crawling/deletion detections is performed?]
It also doesn’t seem to be deterministic - I tried the same thing just a few minutes ago and then it worked ?!? I don’t know, it might have something to do with different Scanner / Agent settings (right now I am on the old “Plex Music Scanner” and Last.fm agent combination, because of this issue: Various Artists cover with Plex Scanner )
That might have an impact on why it worked now…
Or it might be due to the fact, that I upgraded the iocage jail from FreeBSD 11.3-RELEASE-p9 to 11.3-RELEASE-p10.
Very strange… I will continue watching, if it reoccurs *g
Ok, then my first guess was wrong. Deleting/Moving that folder should have been fine.
Was the agents different before? Changing the agent in the library setting doesn’t affect exiting content, only new content, so this shouldn’t have mattered either.