Updating Plex changes shares permissions

Every time I update Plex to the latest version (plex pass) It kicks all of the other users off of my shared plex folder so that they can’t access it. This is becoming increasingly more annoying. Can it be changed so that when Plex is installed it doesn’t modify existing permissions?

How are you updating plex on the syno? For mine I just download the package and then go to update and do the update manually, I have done this about 10 times over the past couple of years with my syno, no issues with the loss (somehow something it or you’re doing is deleting or removing the preferences.xml file which is causing it to think it’s a new server is our guess.

@trumpy81

  1. I have a synology DS415+
  2. I’m currently on the latest beta 6, however this also occurred on all versions of DSM 5
  3. I’ve experienced this issue with all versions of plex for the last 6 - 12 months (ever since moving my server to my Synology NAS)
  4. No, I just use the manual update package and upload the new installer
  5. I only change them back to what they were before (re-enable group permissions for administrators and users)
  6. When I install Plex Media Server it takes ownership of the entire share (dedicated to Plex)

@jmcgeejr
I update Plex by downloading the official plex pass release from the Plex website, and then manually install it in the Synology Package Center

@trumpy81

That seems to have worked (have just updated to latest version again).

I went through and set the permissions in the terminal instead of through Synology web page and it seems to have worked. I don’t quite understand why it didn’t hold by doing it through the Synology web page but it’s working for now. I don’t know whether this will have any impact on the fact that the folder shares are now just 777 so surely anyone could connect to this share? Also it is now owned by the admin account as opposed to the root account so I don’t know if there will be any issues there.

My folder structure is laid out as Plex recommends (same as you’ve noted in Q5)

Reopening an old thread, because I could not find anything newer.

I am having this same exact problem, and the information above seems to be out of date. Does someone have a solution for this so that my permissions are not deleted every time I do a Plex update on my NAS?

Which permissions get changed, the Plex share?

If so, you don’t put media in it. It’s for PMS’s use only.

I have made it visible to facilitate easy access for Logs.
It is not intended for media storage.

In an upcoming update, The Plex share will be renamed to PlexData to help avoid any confusion as well as have the description changed to “Plex Media Server Metadata”

I have the same problem with Plex changing my permissions every update.

I think I have set my folders up incorrectly.

They are as follows:

/Plex
/Plex/Library
/Plex/tmp_transcoding
/Plex/Media/Movies/movie title/movie title.mkv
/Plex/Media/Movies/movie title/Plex Versions/Optimised for Mobile/movie title.mkv
/Plex/Media/Music/Artist/album title/song title.m4a

Do I follow the instructions here https://support.plex.tv/articles/201154537-move-media-content-to-a-new-location/ to create a structure as follows:

/Plex
/Plex/Library
/Plex/tmp_transcoding
/Media/Movies/movie title.mkv
/Media/Movies/Plex Versions/Optimised for Mobile/movie title.mkv
/Media/Music/Artist/album title/song title.m4a

Do all optimised versions just go into one folder?

/Media/Movies/Plex Versions/Optimised for Mobile

Will Plex find the Optimised Versions? ie I won’t have to encode them all again.

When the installer runs, if the Plex share isn’t owned by user plex, I reset it.
I do this to guarantee user plex has access to its metadata.

There should be nothing but metadata in the Plex share.
I only make it visible to make extracting logs possible with the GUI on those times when PMS fails to start.

To avoid confusion, I will be renaming the Plex share to PlexData soon.
To further this point, I will also be placing warning message in the Plex share.

You need to move your media files out of the share to a proper “Media” share.

Thank you for your reply.

So the second folder structure is correct? What about my optimisation question? I really don’t want to have to redo it, it takes weeks.

This structure:

/Media/Movies/movie title.mkv
/Media/Movies/Plex Versions/Optimised for Mobile/movie title.mkv
/Media/Music/Artist/album title/song title.m4a

is very close to perfect.

Perfect would be:

/Media/Movies/Name (Year)/Name (Year).ext
/Media/Movies/Name (Year)/name_of_the_extra-interview.ext  (or other appropriate extra type)

/Music/Artist/AlbumTitle/Disc 1/01 -  Title.ext       ( /Disc 01 ) is not needed for single CD albums) 

Each movie in its own directory allows you to put extras in with the movie.
If you don’t have any extras, then you don’t need it.

I use FileBot and setup the master structure. It takes about 5 minutes and it’s done

for movies:
/nas/Movies/{n} ({y})/{n} {y}

for episodes:
/nas/Television/{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}

n = Name
s = season (.pad(2) pads with leading zeros to 2 digits)
t = given title

Filebot performs the lookup before I even move the media into the shares. Plex never sees an ill-formed name

I understand. Thank you.

Do you know the answer to my question regarding whether I will have to re-encode? Because that’s a deal breaker.

If you use FileBot to rename, it just renames and restructures your media files.
Nothing is touched otherwise.

I have followed your advice given above and here Plex Media Server security changes for Synology users and now I have a problem with my optimised versions. Plex does not recognise the optimised versions as such in the new folder structure. Plex marks them as ‘Original’ copies. That means Plex will not correctly automatically select them for playback when needed. It also means when I create a new automatic optimisation task for that library Plex wants to re-optimise everything!

I said it was a deal breaker. I asked you three times about it and you ignored it. You have stitched me up.

All I changed was the DEFAULT permission of the folders (shares)
I went the extra step for you and others in your situation to show how to have a separate Optimized folder/share. (2nd post of the notice)

If it is seeing them as different, What did you do wrong?

Show me the names and structures you created.

As additional:

If you changed the permission to R/W , which is now under YOUR control (what I changed was who had control), you wouldn’t have had to move a thing.

/Media/Movies/movie title/movie title.mkv
/Optimised/Movies/movie title/Plex Versions/Optimized for Mobile/movie title.mp4

Hello?

Just manually updated to PMS 1.15.8.1163 on Synology DS918+, and the Plex share priviledges were reset back to default. It’s no big deal because it takes no time to switch it back.

I do have a question though…is there some technical reason why the Plex media should be on a separate share than the metadata one? I didn’t really want to have two separate Plex shares on the NAS, so I setup the library folders on the metadata share. Seems to be working just fine.

It’s incredibly poor form to give out bad advice and then when someone follows it to their detriment to leave them high and dry.

I paid a lot of money for this software and the support sucks.

10-4. Thanks, trumpy81!

Edit: I just read Q5, and while the information is useful, it doesn’t give a specific reason “why” the media and metadata should be segregated, other than the Plex shared folder being “resevered for Plex system files…”.

I think since my server is running fine (outside of having to change permissions back after every PMS upgrade), I’ll just leave it the way it is. Everything is backed up on a separate drive just in case.

Apologies for the slight thread hijack. Back to your previously scheduled topic.