Server Version#:1.22.1.4275
Player Version#:current web player
Since the last update none of my new media shows up in my library. I have made no changes. Any suggestions?
Server Version#:1.22.1.4275
Player Version#:current web player
Since the last update none of my new media shows up in my library. I have made no changes. Any suggestions?
usual culprits are:
I will check this out. All of my other content is still available. And in the same parent folder. When I tell plex to scan for more media it show a split second of activity.
Permissions are fine
database is fine
Files are named properly
in that case… what do your server logs say?
if you want to upload them, please verify your log preferences are set to debug (not verbose!!!), re-do the scan library files command, then download your logs from Settings > [Server Name] > Troubleshooting > Download Logs) and upload the resulting zip-file here.
Here you go. Thanks so much for helping.
Which files aren’t appearing?
There are “Permission denied” messages in the logs, as well as files that don’t match the naming conventions.
It would be helpful to know which items you’re focusing on.
example, neither of the blade movies show up. I changed the name of one of them to the simplest form, blade.1998.mkv
I am using Ubuntu 20.04 and permissions are wide open for the directory. I can access via FTP and do whatever else I need to do. Every movie is in the same directory so if I had permission issues I would have the same issues trying to access via FTP, or at least thats how I understand it.
I took one of the movies and moved it into a sub folder that already has a movie that is showing up in the library just fine. Plex still does not detect the new file.
Lastly, Plex can see the parent folder of the file when I organize the library by file structure.
Not exactly sure what you mean by “organizing the library by file structure”.
As for permissions… keep in mind every item in your file system has its own permissions – just because a parent folder can be seen doesn’t mean Plex can access the items in that folder.
You can check the Plex Media Scanner.log and Plex Media Server.log files for the folders/files that were giving permission errors during the previous scan.
Here is a big ole DUH. Don’t forget the -R when giving permissions in linux.
I only gave permissions to the parent folder, not all files and folders within the parent. Duh, working like a charm now.
Thanks so much for the help.
This is a permissions problem…
User plex (or whichever user PMS runs as) no longer has access down to see the content. Given it has pathnames, it has only partial.
example to fix
find /storage/movies1 -type d -exec chmod 755 {} \;
find /storage/movies1 -type f -exec chmod 644 {} \;
Logs:
Apr 04, 2021 23:05:38.086 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1 (parent: no)
Apr 04, 2021 23:05:38.091 [0x7f815ee80780] DEBUG - Skipping over directory '', as nothing has changed; removing 5 media items from map.
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Blade (1998) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Blade (1998) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/The Matrix (1999) [1080p] (parent: yes)
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/The Matrix (1999) [1080p]"
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/The Matrix Revolutions (2003) [1080p] (parent: yes)
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/The Matrix Revolutions (2003) [1080p]"
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/The Fifth Element (1997) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/The Fifth Element (1997) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Forrest Gump (1994) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Forrest Gump (1994) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Monster Hunter (2020) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Monster Hunter (2020) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Unhinged (2020) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Unhinged (2020) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.126 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/The Running Man (1987) [2160p] [4K] [WEB] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/The Running Man (1987) [2160p] [4K] [WEB] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/The Rhythm Section (2020) [2160p] [4K] [WEB] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/The Rhythm Section (2020) [2160p] [4K] [WEB] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Rocketman (2019) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Rocketman (2019) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Adverse (2020) [2160p] [4K] [WEB] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Adverse (2020) [2160p] [4K] [WEB] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Blade II (2002) (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Blade II (2002)"
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Black Hawk Down (2001) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Black Hawk Down (2001) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Apocalypse Now (1979) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Apocalypse Now (1979) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Braveheart (1995) [2160p] [4K] [BluRay] [5.1] [YTS.MX] (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::directory_iterator::construct: Permission denied: "/storage1/movies1/Braveheart (1995) [2160p] [4K] [BluRay] [5.1] [YTS.MX]"
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Scanner: Processing directory /storage1/movies1/Queen of the Damned (2002) [1080p] (parent: yes)
Apr 04, 2021 23:05:38.127 [0x7f815ee80780] DEBUG - Skipping over directory 'Queen of the Damned (2002) [1080p]', as nothing has changed; removing 1 media items from map.
If this does not remedy, adjust for /storage as well: chmod 755 /storage
Lastly, if storage on another device AND file permissions are correct, verify shared folder permissions on the storage device.
Note: Access via FTP is not the same as SMB or NFS. FTP logs in as you, not user ‘plex’.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.