Well, it works for showing the library, but Plex can access the files. Logs show a permission error. Permissions are:
drwxrwxrwx. 8 pysaumont 1001 4096 avril 22 2020 ./
drwxrwxrwx. 3 pysaumont 1001 33 mai 30 11:18 …/
drwxrwxrwx. 21 pysaumont 1001 4096 mai 7 2020 Books/
drwxrwxrwx. 103 pysaumont 1001 8192 déc. 27 2020 ‘Home Videos’/
drwxrwxrwx. 895 pysaumont 1001 36864 mai 30 11:13 Movies/
drwxrwxrwx. 253 pysaumont 1001 12288 avril 16 14:00 Music/
drwxrwxrwx 36 pysaumont pysaumont 12288 mai 4 2020 Pictures/
drwxrwxrwx. 386 pysaumont 1001 12288 mai 1 06:27 ‘TV Shows’/
Looking at the logs, I can see multiple errors such as:
May 31, 2022 10:32:14.586 [0x7fb752477b38] ERROR - Couldn’t check for the existence of file “/media/pysaumont/c71a07b4-1b19-4942-8fc6-0440c4a0ac8b/…/TV Shows/.grab”: boost::filesystem::status: Permission denied: “/media/pysaumont/c71a07b4-1b19-4942-8fc6-0440c4a0ac8b/…/TV Shows/.grab”
Looking at the directory, the file “/media/pysaumont/c71a07b4-1b19-4942-8fc6-0440c4a0ac8b/…/TV Shows/.grab” doesn’t exist, but I don’t understand why Plex couldn’t check for its existence.
If I try to scan the library, I get this:
May 31, 2022 10:40:03.221 [0x7f41f9233808] DEBUG - * Scanning /media/pysaumont/c71a07b4-1b19-4942-8fc6-0440c4a0ac8b/…/TV Shows
May 31, 2022 10:40:03.221 [0x7f41f9233808] ERROR - Couldn’t check for the existence of file “/media/pysaumont/c71a07b4-1b19-4942-8fc6-0440c4a0ac8b/…/TV Shows”: boost::filesystem::status: Permission denied: “/media/pysaumont/c71a07b4-1b19-4942-8fc6-0440c4a0ac8b/…/TV Shows”
May 31, 2022 10:40:03.221 [0x7f41f9233808] DEBUG - * Marking media not available in /media/pysaumont/c71a07b4-1b19-4942-8fc6-0440c4a0ac8b/…/TV Shows
May 31, 2022 10:40:03.239 [0x7f41f9233808] DEBUG - * Taking 6759 items out of the map (which has 6759 items) for being unavailable.
May 31, 2022 10:40:03.326 [0x7f41f9233808] DEBUG - * Taking 701 directories out of the map (which has 1009 dirs) for being unavailable.
May 31, 2022 10:40:03.326 [0x7f41f9233808] DEBUG - * Taking directory ‘’ (2498) out of map.
May 31, 2022 10:40:03.326 [0x7f41f9233808] DEBUG - * Taking directory ‘11.22.63’ (2499) out of map.
May 31, 2022 10:40:03.326 [0x7f41f9233808] DEBUG - * Taking parent directory ‘’ (2498) out of map.
May 31, 2022 10:40:03.326 [0x7f41f9233808] DEBUG - * Taking directory ‘13 Reasons Why/Season 1’ (2501) out of map.
May 31, 2022 10:40:03.327 [0x7f41f9233808] DEBUG - * Taking parent directory ‘13 Reasons Why’ (2500) out of map.
May 31, 2022 10:40:03.327 [0x7f41f9233808] DEBUG - * Taking parent directory ‘’ (2498) out of map.
May 31, 2022 10:40:03.327 [0x7f41f9233808] DEBUG - * Taking directory ‘24/Season 9’ (2503) out of map.
…
I thought perhaps Plex had trouble to access the disk (a raid 5 array), but I can still change images for individual files by loading jpeg images that are in the same locations as the corresponding videos, so…?