Sounds like you might have a permission issue.
PMS is running under a specific system/functional user on your NAS. That user needs access to your media in order for Plex to see / catalogue your files.
What version of DSM do you have installed on that Synology NAS?
That’ll define which user you need to give access (and where to do it).