I have multiple Synology NAS devices. I have one I typically use for Work, one for a plex media server, and one as a backup.
My NAS that is used for my Plex server was having connectivity issues. I made a directory on another NAS and moved all library items and plex media server library folders to another server.
I factory reset the server for my Plex media server. I reconfigured it and reinstalled plex. It is working correctly on the network.
I moved the folders back to the Plex NAS.
Plex does not seem to want to play or recognize most of this library or directories.
Any help or guidance on how to rectify this? I’m guessing it is a simple fix but not too familiar with what I should do.
Did you reassert all the permissions ? (UID/GID – USERID – of “PlexMediaServer” can be different from host to host. On DSM 6 machines, USERID of ‘Plex’ will almost always be different virtually guaranteed )
Additionally. When cross mounting media, it’s important to give ‘Everyone’ read-only permission and use NFS mounting. SMB between two Syno machines is painful to use
Did you reassert all the permissions ? (UID/GID – USERID – of “PlexMediaServer” can be different from host to host. On DSM 6 machines, USERID of ‘Plex’ will almost always be different virtually guaranteed )
On my synology NAS I have a share/directory named “Media” with sub folder for Movies, TV Shows, Etc.
I also have a share/directory for “PlexMediaServer” that is/was created by PLEX I believe.
I literally just moved both directories via a a PC file explorer from one Synology NAS to another. Then reset the original NAS and moved them back.
So no, did not reassert permissions. I was guessing there may be something like that or along those lines, but no idea what that is and how to do that.
Both Plex servers were running on Synology NAS’s that are running DSM 7
Moved by having mapped directories on my PC and literally just doing a drag and drop from a mapped system drive to another mapped system drive from NAS to NAS, just used the PC as the intermediary.
Sorry I did not know this would be an issue, I thought this would be a reasonable way to do this, but apparently not.
Windows PCs use SMB protocol. Ownership and permissions won’t have been preserved at all in the ‘Drag & Drop’ because SMB doesn’t understand Linux permissions.
By copying, you have a mirrored clone of the first.
If this is desired. and you’ll never have both on at the same time. then OK.
If you want both on, that’ll need addressing.
The steps you’ll need to do (there’s quite a few)
Stop Plex
Run this Scheduled Task to set the file ownership and permissions for all files (Plex’s internal files) which are in the PlexMediaServer shared folder.
After you receive the notification email of the task’s successful completion.
– Open FileStation
– Navigate to PlexMediaServer
– In the left panel, Right-Click PlexMediaServer → Properties → Permissions tab
Ensure PlexMediaServer shows here.
– If not, click Create, search down the list for PlexMediaServer
– Click anywhere else once to close that popup (it’s a bit fussy)
– Grant Read-Write permission to PlexMediaServer
Your final permissions minimally will have PlexMediaServer listed
( I have myself because of my development work )
In the lower left corner Apply to this folder, sub-folders and files - Check the box.
Down in the metadata are path-relative symbolic links.
These are something else that SMB protocol doesn’t understand.
(Windows symlinks aren’t the same as Linux symlinks)
Give it a “Scan Files” and a “Refresh all metadata”
If that doesn’t work, I have a procedure which will work but is more involved.
It makes sense that it will need to go through everything in the DB and recheck/update as appropriate.
Given that it’s playing tells me the symbolic links which were damaged during the SMB move have been recreated correctly (part of what the DSM 6 → DSM 7 process does)
If you look at “Plex/Migration.log” you’ll see the Symlinks step and the amount of time it needed to fix things.