Plex on DSM Synology 412+ (both systems up to date) is not updating/finding newly added tv shows.

Hello,

i have a DS412+ DSM-Version: DSM 6.1.5-15254 Update 1 and do run a plex media server 1.12.0.4829-6de959918
on it.

since last week (i guess after a few updates of many other applications.) it stopped adding newly added tvshows and movies to the server. even tho i do manually scan. stop and rerun the app and did shut down the whole system.

i am not sure what else to do so that plex finds the newly added tv shows and movies…

please halp…
merci

you could check in System Management | Users if the “plex” user still exists and has access to the restricted plex folder as well as to your media.

@tom80H said:
you could check in System Management | Users if the “plex” user still exists and has access to the restricted plex folder as well as to your media.

no. sorry - did not work. i had to change user rights to - and now i did set everything on read and write - but still - no update from the library. all the newly added media is not getting detected .

Hello and thanks for help,

it was late yester day when i started. but however i manged q7 and q3.
then i did run the app on synology and i assigned movie and tv show folder to plex and the server started to update the library.

however - i did not create a plex user - i was logged in as admin - not sure why i do use plex user - did i fcuk something up there? - stil the plex server runs and i can acces it locally and via remote (from my mobile app.)

but still - the issue is not resolved. the medialibrary scan did just detect all tvshows and movies from older then 2 weeks ago. the newly added ones from the last 2 weeks were not found.

not sure what went wrong there? please advise.

Hello and thanks again,
first - i am using filebot for a long time already on my mac to rename all tvshows. great app - and so far it worked fine.

and no i did not do q18 cause i do not know how to:
where to find the terminal on my dsm - or how to enter the command lines - and what are they for?

plus i have tow media folders - /videos and /tv-shows. - so i have to do it with both?
cna’t i just change it in the user preference for the plex user?

edit:
its strange - there is a date - 8.3.2018 and any file older than that it will not recogince and find - when adding it to the library. any file younger it will. (so - if i delete an old file and add it again - library will update; if a add a new file, library will not find it.) maybe this might be a hint.

thanks for your patience.

well i managed to connect to server via terminal. the servers name is boxxxy. i have my tv shows on volume 1 and my videos (movies) on volume 2.
whatever i type i always get an error message. or at least - nor sure whats going on here…
looks like its not finding the drive…

can you help out please…

admin@boxxxy:~$ sudo -su root

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:
sh-4.3# cd Volume 1
sh: cd: Volume: No such file or directory
sh-4.3# find ./tv-shows -type d -exec chmod 755 {} ;
find: ./tv-shows': No such file or directory sh-4.3# find ./tv-shows -type f -exec chmod 644 {} \; find:./tv-shows’: No such file or directory
sh-4.3# chown -R admin:users tv-shows
chown: cannot access ‘tv-shows’: No such file or directory
sh-4.3# cd Volume1
sh: cd: Volume1: No such file or directory
sh-4.3# find ./tv-shows -type d -exec chmod 755 {} ;
find: ./tv-shows': No such file or directory sh-4.3# find ./tv-shows -type f -exec chmod 644 {} \; find:./tv-shows’: No such file or directory
sh-4.3# chown -R admin:users tv-shows
chown: cannot access ‘tv-shows’: No such file or directory
sh-4.3#

@mawe_

The name is /volume1 not Volume 1

@trumpy81 @ChuckPA

many thanks - how can i repay you? :wink:
helping a noob in need is highly aprechiated…

All I ask is “Learn, Grow, and Pass it forward” just like it was done for me.

Hey, looks like the solution is just a temporary one - and i do not know how to fix it. - when i add new files to the mediathek folders it will not recognice them unless i run the code in terminal. then it will find the newly addes files immediately.

how can make a permanent fix?

There’s something about how you’re adding media files to the Synology.

On Synology, user plex is a member of group users. When in a share where you’ve given permission for user Plex to read the files, this secondary group association users is what allows Plex to read the files. (DSM controls top level access)

If you have an automation program adding the files, it will need to adjust permissions to each file it adds or we make a change to the file system permissions to enforce the desired permissions. The choice is yours.

If using a program to place the files, you want Directories = 755 permission, Files = 644 permission.
If you wish to use Linux native inheritance to enforce this, I will show you how to set it up. Once set, it will take care of itself (self propagating)

the permissions for plex user for tv-shows and videos is set to read and write.

i normally copy them into videos and tv-shows folder myself and then rename them via file bot.

i would like to do the second part

@ChuckPA said:
If you wish to use Linux native inheritance to enforce this, I will show you how to set it up. Once set, it will take care of itself (self propagating)

becuase it always was like this - since years now - i did just gopy the files into the folder and plex media server recogniced them. and since a few weeks this does not work anymore.

You’ve been doing regular DSM updates and regular Plex updates ?

Something changed. Linux is predictable (unlike Windows)

always do updates - everything is up do date.

not sure which settings got changed - but also saw recently that when i connect me via smb - (finder on mac) - newly added files to this folders have a small lock in front of the icon - see picture - and i can not change - even tho i am connected via as admin.

after i do run the code in terminal the small lock is gone and plex recognices the files.