Server Version#: 1.16.6.1592-b9d49bdb7
Player Version#:
I’m using Synology NAS 416 (latest DSM, DSM 6.2.2-24922 Update 3). That has (amongst other folders) a shared folder Music with all my music files, which I want to add to my Plex library.
I have Plex Server (version above) manually installed on my NAS. The “plex” user has sufficient permissions (read-only) to the shared folder Music.
But when I try to add folders to my library on Plex, the Music folder appears to be empty. Other shared folders, and their subfolders, are visible - although I have not set the permissions for those folders.
I really don’t know what the problem is. I had it working some months ago, but I hadn’t re-installed Plex since a severe disk failure (and subsequent reinstallment of my NAS).
Are you using the system-provided Music shared folder or are you using one of your own making music ?
Synology-created shared are problematic (polite way to say “a royal pain”).
DEBUG logs (the ZIP) would allow me to confirm what’s happening when you go to add the shared folder to a music library. If any errors there, it will show in the log.
To reproduce.
Verify: DEBUG on, VERBOSE off
Now attempt to add the library again
Get back to the dashboard after it refuses
Settings - Server - Troubleshooting - Download Logs
This command worked, but nothing is permitted. The third command line runs through all of my files (thousands and thousands), but each line states: “Operation not permitted”.
You missed Step #6 at the prompt, type: sudo -su root
The entire sequence again:
admin@ds418j's password:
Could not chdir to home directory /var/services/homes/admin: No such file or directory
admin@ds418:/$
admin@ds418:/$
admin@ds418:/$ sudo -su root
sh-4.3# cd /volume2
sh-4.3# chmod -R o+r .
chmod: changing permissions of ‘./aquota.user’: Operation not permitted
chmod: changing permissions of ‘./aquota.group’: Operation not permitted
sh-4.3#
I have been delving deeper into this, bc I really want it fixed. It appears that the permissions in Plex (browsing for a folder with media in it) does NOT AT ALL correspond with the permissions set in Synology. Plex can browse two folders that don’t have any rights for user Plex, only to admins.
I’ve been turning permissions on and off to test, e.g. giving Plex no rights at all to any of the shared folders. But Plex can still browse those two folders.
I have a suspicion that the permissions are set elsewhere.
We must use admin to sign in with. Synology has restricted it this way.
The password when using sudo -su root is the admin password again (which you assigned).
a. Neither of my systems ask for password when I type sudo -su root
b. If yours does, use the admin username password.
For a while I was able to see my folder structure (but unable to add subfolders to my Library), but now Plex is warning me for insecurities (“Unable to connect to securely”), and my Synology does not want port 22 assigned to SSH.
I’m giving up with Plex. I want to reset everything to how it was. I also want to revert what I did with “sudo -su root” and the three commands above, because I’m afraid some settings are no longer secure now.