Server Version#: 1.19.2.2737
Player Version#: Plex Web 4.32.1
This morning I deleted almost 500 mp3 files from my hard drive. I then did a Scan Library Files on my Music library. Only about 20 tracks disappeared from the library. I can browse to the other tracks in the Plex player, and when I try to play them, I get an error. Makes sense since they’re not there.
If I select Delete on the track through Plex Web, then it goes away. It would be a significant effort to manually delete all of the removed tracks through the Web UI, though. Any thoughts as to why a Scan is not removing these tracks?
Inspect the ‘Add Folders’ tab when you edit yoru music library.
Does any one of the folder paths in there now point to a folder that is no longer there or is completely empty?
I guess possibly… Plex is running in an LXC container. The media is in a ZFS pool managed by the host OS. The storage is mounted in the LXC config file. Not sure what mounting technology is used under the hood.
(With my limited Linux knowledge) I think you are good with ZFS. It is used by many people in conjunction with Plex.
If you have ‘debug logging’ activated in your Plex server, let it do another scan of the music library (and only the music library please!), then let it finish the scan (can sometimes take quite long, with a large library), then fetch the logs (whole ZIP please) and post it here.
Do you have a path or filename from one of the deleted items, please?
I am trying to find the right log file, even though you have alredy 30 versions in there. (which is great!)
I have 3 music libraries. The other two are for Christmas music and for school-related music / audio files. Neither of the other libraries overlaps on folders. Each of the other 2 libraries has their own folder for media files.
Thanks for your help up to this point. I’ve decided to just bite the bullet and go through my collection deleting the files manually. It won’t take forever.
I have saved off the database in the “weird” state, in case anyone is motivated to contact me for additional debugging in the future. I have also noticed another oddity while manually removing the offending tracks. Some of my albums (especially video game music) have lost the title to all tracks EXCEPT for the files that I deleted. Not sure if this is a clue or not. It’s easy to get the info back by refreshing metadata.
Yes, this behaviour is known for albums without a “match”. The cause of which is still unclear, because it is very hard to reproduce and catch evidence in log files.
So far, it is assumed that it happens during the nightly metadata refreshes in Scheduled Tasks.