If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Library scan not picking up duplicate files in multiple stores

popoloupopolou Posts: 7Members, Plex Pass Plex Pass

Hey all

x2 PMS servers both at v1.8.0.4109 on Centos 6.6 & 7.

I have a NAS serving media to both PMS servers. Each sees the common media store fine and accesses mixed content without issue. The Centos 7 box also has access to a local drive and each of its libraries are pointing to these two sources: the NAS (mounted over the 'net via SSH) and the local drive. Media plays from either location without issue (permissions not a problem).

I now want to move the media from the local drive to the remote NAS drive. The transfer works fine BUT (in the case of the Movies library) the Centos 7 box will not recognise a duplicate media file at the remote location. I want to keep the library data in the DB intact ('date added' for example) so the file is copied as opposed to move with one at both locations. Repeated media scans will not pick it up whereas the library is correctly pointing to both locations.

Does anyone have a suggestion for this behaviour?

Cheers
Pops

Best Answer

  • popoloupopolou Posts: 7Members, Plex Pass Plex Pass
    edited September 15 Accepted Answer

    Chuck

    Problem solved. In the end it was indeed a permissions issue. However, because the Plex server connects via SSH to the content server, options for UID and GID were needed for that connection as it did not grant the local mount sufficient permissions of the remote filesystem for RW access. So, when a file was moved across from the Plex server to the content server, it maintained the original (wrong) permissions. As a consequence, there was a mish-mash of permissions in each media folder which conflicted to prevent the scanner from doing its thing. This explains why some files worked and others didn't.

    So, a rather boring matter of permissions.

    Thanks for your efforts all the same.

    Pops

Answers

Sign In or Register to comment.