I cleared out my logs to get a fresh set for debugging and now all of the sudden my server is back up and running.
Iâve seen that happen. Donât be discouraged.
When it happens again, Grab the DEBUG logs ZIP file (You do have DEBUG logging enabled?)
Nope, Plex is not running
Sorry for the delay (busy here IRL).
Refresh the browser window,
Open Package Center
-It shoud show as stopped-
Attempt to start Plex.
No worries, I appreciate the time youâr taking to help me!!
Iâve been able to start Plex, but itâs still the old version 1.25.6.5577 and not 1.26.0.xxxx I was trying to install. I would have loved to bring better newsâŠ
Edit 5h later: I just tried to run the update to 1.26.0 again and it worked flawless now. I donât know what happened, but it worked. Thanks a lot @ChuckPa for all the advice!
Iâm running DSM 7.1 update 1 with the latest plex server installed (1.26.1) and Iâve noticed an issue whereby when logged in to plex.tv and go to add a directory I have access to a usb drive shared folder which is limited to only one admin account. My Nvidia shield server canât access it but my plex server can. Synology tech support did a screenshare to confirm and agreed all settings looked right and couldnât solve this. Curious if there may be something Iâm missing or if this is a security hole that needs patched?
Try this one.
- Open FileStation
- Right click on the shared folder for the USB drive.
- Properties
- Permissions
- If you donât see âEveryoneâ listed, right click the dropdown and add it.
- Save that
- Check the box âApply to this folder sub-folders and filesâ
- Save that too
Thanks for the reply but I think I wasnât clear maybe. I have access to the usb drive which i should not have access to. I have no problem accessing the folder I need to and getting everything working there as expected. The issue is I have a private backup USB drive for system files and it is not shared with plex yet plex can see it and the files in it when Iâm logged in to plex.tv and go to add a directory.
Thanks for clarifying. I thought you meant a lack of access.
Plex will only see the files if:
-
Youâve given System Internal User
PlexMediaServerpermission to read it (DSM controls this through the shared folder permissions) -
You added the folder path to that USB drive. ( You control this by which folder(s) you tell Plex to look in.
Did you mistakenly have Plex look at /volumeUSB1 (or whatever the name is)
and give it permission ?
On both DSM 6 and DSM 7, Plex is non-prileged. It wonât go anywhere not instructed to further constrained by assigned permissions for the shared folder(s) of which the USB drive is mounted in DSM as a temporary shared folder (Control Panel - Shared Folder)
No, as I was saying plex doesnât have permission to that USB backup drive, only system admin does, no users at all. See attached. Looking under that folder for the backup drive and âsystem internal userâ there is nothing with access. My only thought is that plex was installed on the NAS from the admin account, as thatâs the only account that can load applications. I do have a user account called Plex and it is only authorized to see one folder, and the backup folder as you can see is not one. Iâm fairly proficient w/ DSM and their tier 2 support guy via screenshare also looked and could not identify an issue with settings. Thatâs not saying we both didnât miss something, but doesnât appear to be anything obvious.

Itâs important we separate things here:
- DSM 6 â User
Plex- Not used in DSM 7. Delete if desired. - DSM 7 â System Internal User
PlexMediaServer- is the new username (DSM 7 mandated)
It doesnât matter which username installed PMS. PMS runs under its own username and obeys Linux/DSM file access rules.
Speaking to file access where it shouldnât be â
On DSM, there is SynoACL mode and Linux mode. ACLs are set via the GUI (as you show).
Entering the DSM ssh shell and issuing a chmod as root will DISABLE ACLs and revert to Linux mode (chmod flags control the access).
example: bash-4.4# chmod 755 /volumeUSB1/usbshare1-1
In this scenario, The GUI will show the ACLs but Linux chmod flags take priority. A directory listing will show the ACL was cleared (removed) from the file/dir by the chmod command. (this is how Syno works)
Please examine below:
drwxr-xr-x 2 root root 4096 Jul 5 2021 .system_info
drwxrwxrwt 14 root root 2000 May 7 12:53 tmp
drwxr-xr-x 12 root root 4096 Apr 7 18:24 usr
drwxr-xr-x 15 root root 4096 Apr 25 18:03 var
drwxr-xr-x 12 root root 4096 Apr 7 18:25 var.defaults
drwxr-xr-x 47 root root 4096 May 2 20:41 volume1
drwxr-xr-x 5 root root 4096 Apr 25 18:03 volume2
bash-4.4# cd volume2
bash-4.4# ls -la
total 68
drwxr-xr-x 5 root root 4096 Apr 25 18:03 .
drwxr-xr-x 23 root root 4096 May 2 20:41 ..
-rw------- 1 root root 10240 Apr 25 02:49 aquota.group
-rw------- 1 root root 11264 Apr 25 02:49 aquota.user
drwxrwxrwx+ 3 root root 4096 Feb 17 19:25 @eaDir
-rw------- 1 root root 20480 Oct 26 2021 synoquota.db
drwxrwxrwx 2 root root 4096 May 1 20:14 @tmp
d---------+ 10 root root 4096 Feb 17 20:32 UHD
bash-4.4#
-
For the first entries (which are the end of the
ls -la /listing) observe volume1 and volume2 have Linux permissions set by DSM. This is normal and expected. -
Now observe the listing from volume2.
â This is how a normal DSM 7 ACL looks
d---------+ 10 root root 4096 Feb 17 20:32 UHD
â The lack of permission bits means no access in Linux mode
â The + at the end means an ACL is attached.
Now we come to your external drive.
Is it NTFS / FAT32 formatted?
Please ssh into the NAS and get a ls -la listing of / and /volumeUSB1 (? â whichever USB drive you reference in this thread)
I was able to SSH in using terminal but wasnât able to pull up the files you wanted. The name of the folder is Nas Backup and itâs in usb disk 1. I just want to confirm doing this wonât change anything and if so can be changed back if need-be? If you can send me the command line to enter I can check this.
This usb drive is formated in ExFat so it would be more easily accessible from other computers. However, I put in another usb drive to test and formatted it differently and it too was able to be viewed through Plex. I do have a few plex servers and they all access the same share folder on the NAS. The only server thatâs allowed in to the USB drive is the synology server so this further serves as proof the settings are correct on my permissions.
This exists on every linux based system (which DSM is one of).
Please try again.
ExFat does not support ANY permission control. Itâs Wide Open.
The most likely reason your shield canât see it is because of sharing status and general sharing permissions.
If PMS on the NAS sees the drive when it shouldnât, itâs because one of PMSâs library sections is pointing to it.
As for the shared folder Nas Backup on USB disk 1,
you can easily see how DSM handles things by (again at the ssh prompt),
typing ls -la /volumeUSB* (confirm the exact name(s) of USB drives by typing
ls -la / at the shell prompt)
Now youâll get a listing of all USB drives attached to it
The NAS doesnât see the drive when it should know, only when logged in to plex through plex.tv (or local IP for plex) is the usb with restrictions seen.
Also, please note I pointed out with formatting different with another usb drive plex also saw it.
See attached.
Thanks.
Now we see you have two USB volumes.
The drwxrwxrwx means:
d - This is a directory
rwx - Linux mode permissions for the file owner (which is admin)
rwx - Linux mode permissions for the file group assignment (which is all users in this case)
rwx - Linux mode permissions for all others (not the owner and not a member of the users group).
There is no + at the end. ExFAT does not support ACLs.
This means: the entire contents of usbshare is wide open for anything to access it
To get back to your original problem âPlex has access to itâ (your private data),
You must now look at which folders are listed in the library section(s) where youâve found your private data showing up.
When I go to add a new library and select the folder I Have access to see everything on volume 1. Everything.
When you add folders (Folder browser of Library EDIT)
Do you SEE all the folders listed? â Thatâs expected
If you click on one of the shared folders and add it to Plex,
Do yo SEE your contents added in the right hand pane of the folder browser?
Thatâs correct. Thatâs what I mean by everything.
Which of my questions please ?
I asked 2 questions.


