Run Plex Media Scanner as plex user from Synology DS1019+ NAS command line

Server Version#:1.19.1.2701-6327e27bf
Player Version#: Plex Web—General Version 4.22.3

Device: Synology DS1019+ NAS

I just got the above NAS, and I’m trying to figure out how to run the Plex Media Scanner from the command line on the NAS as the “plex” user. The install created plex user automatically, and also automatically set a password for it. When I try to “su” to the plex user to run a command, it asks me for a password which I don’t know. Is it safe to change the password to something that I would know and can use?


Michael

Michael,

  1. Why are you trying to run from the Command Line when Package Center handles that? It’s fully automatic as well as GUI driven. Secondarily, why just the scanner?

  2. As part of Package Center’s launch mechanism, and per Synology’s wishes, the scripts perform the su to user plex

  1. I am attempting to see if I could get scans of all my libraries to run concurrently rather than consecutively. It seems like via the GUI and just monitoring it, it looks like Plex is processing one library at a time. My music library is 1.2 TB with approximately 286 K songs. If it’s busy handling that one cause it’s large, it’ll delay others being scanned.
  2. Yes, I see that in the process list on the NAS.

You won’t be able to get them to run concurrently.
PMS won’t let you .

The Scanner process and the Server process work cooperatively.

If I may suggest? Enable Partial Scan in Settings - Server - Library.
It will check all the directory timestamps only unless it sees a change in that directory.

I have our entire QA library here (dummy entries for about 550K items). It processes the entire set in just under 1 minute.

OK. I have partial turned on. I also have “Include music libraries in automatic updates” turned on. Is that correct?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.