Problem: Plex Server Installed on Synology NAS (DSM 7) Unable to add any library files

  1. NAS Model: DS920+
  2. DSM Version installed: DSM 7.0.1-42218
  3. PMS version: 1.25.2.5319

As a note, this is my second time through attempting on my NAS.

For this second try, I installed the Plex Beta through my Synology DS920+ Package Center, then Manually installed the current update as required in the instructions. Adding the correct permissions for ‘PlexMediaServer’ under System Internal Users, as screenshotted, and proceeded.

I also went back into the File Station, and ensured the ‘Apply to this folder, sub-folders, and files’ was checked after I verified the permissions were present.

I have been so far unable to add any files to my library, I identify the library and the correct folder, but nothing appears when I hit the ‘Scan Library Files’ button

I limited this attempt to one Media folder with two movie files in it (properly named) but still have not been able to add any files to the library. Apologies if I missed something simple, but I don’t think I did. Log files attached at bottom, standing by for questions, thank you!

Plex Media Server Logs_2022-01-02_13-21-18.zip (185.0 KB)

1 Like

Did you make certain the permisions were applied to this folder, sub-folders, and files?

Hello,

Yes, verified that Read/Write permissions were applied to all subordinate files/folders as seen in screenshot:

No change in the Library.

Let’s completely redo the media addition so the logs grab it.

  1. Move the media out to somewhere Plex doesn’t see it
  2. Scan files
  3. Empty Trash
  4. Clean Bundles
  5. Now move the media back into position
  6. Scan files again
  7. Let the scan complete
  8. Download the logs ZIP file.

Please provide a link to that ZIP file.

(You’ll be able to upload the ZIP directly after the 3rd day)

Thank you for your assistance in troubleshooting, have completed above steps and the .ZIP file link is below:

Plex Media Server Logs_2022-01-02_20-13-51.zip (252.7 KB)

@espadaecruz

Thank you for the logs.

When you installed and upgraded PMS for DSM 7, did you interrupt it at any point along the way?

I ask because a major folder, required in all plex servers , is missing.

Jan 02, 2022 20:10:42.781 [0x7fe3f1c86b38] ERROR - Error cleaning media bundles: boost::filesystem::directory_iterator::construct: No such file or directory: "/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Media/localhost"

If you didn’t interrupt it, did you or do you have any 3rd party scripting / tools which go into the Plex Metadata directory?

Did you place any of your media files there or in the PlexMediaServer directory?

This type error message only occurs when PMS’s data structures are compromised by either a 3rd party tool or by placing media in the PlexMediaServer shared folder.

How interesting, I definitely heeded the forum posts and did not consciously add anything to that folder. Fortunately, I’ve only had this NAS for a short while, so I know it was not used for anything besides attempting to set up this media server and files.

Unfortunately I’m not program-savvy enough to know if another computer process may have interrupted the install. I’ve been cleaning this laptop up, so do you think it is worth it to uninstall and try a (from scratch) Plex installation, then try the same add-remove-add diagnostic?

Or perhaps is there a way to repair the current install? Thank you again!

@espadaecruz

We can effect a fresh install without actually doing the hassle.

  1. Stop Plex
  2. Open FileStation
  3. Open PlexMediaServer shared folder
  4. Rename AppDataAppData.old
  5. Start Plex
  6. Let it sit for 2-3 minutes before doing anything. (it has to create all the data folders)
  7. Open an incognito browser window (important)
  8. In that window, open the IP address of the Synology directly.
    http://192.168.1.107:32400/web ← This is the link to it.
  9. It will load up,
  10. “Got it”
  11. Start the setup.
  12. When you get to the point of assigning a server name, Give it one you recognize. We do this because your old server will still exist in the Plex.tv listing. We want to be able to distinguish which is which.
  13. Continue through the setup normally – setting options as you wish
  14. Add only 1 library section for now.
  15. When you get to the dashboard, it should now be running normally and adding the new media / metadata

Please advise me of your progress.

Hello ChuckPa, I attempted the instructions twice, but still don’t have any files appearing in the library. I tried your media add-remove-add diagnostic, with logs below if it helps.

Otherwise, please advise if there is anything else I can do to troubleshoot.

Plex Media Server Logs_2022-01-06_21-58-16.zip (139.9 KB)

@espadaecruz

May I ask what \\Media\Movies_KID_FRIENDLY is?

I think you’re trying to type in the path name instead of clicking to it ??

Jan 06, 2022 21:58:00.211 [0x7fcf37b07b38] DEBUG - Scanning Movies using en-US(Plex Movie) with 0 current media items and 1 section locations in the database.
Jan 06, 2022 21:58:00.211 [0x7fcf37b07b38] DEBUG - Performing a scan with 'Plex Movie' (language: en-US virtual: 0).
Jan 06, 2022 21:58:00.211 [0x7fcf37b07b38] DEBUG -   * Scanning \\Media\Movies_KID_FRIENDLY
Jan 06, 2022 21:58:00.211 [0x7fcf37b07b38] DEBUG -   * Marking media not available in \\Media\Movies_KID_FRIENDLY
Jan 06, 2022 21:58:00.211 [0x7fcf37b07b38] DEBUG -   * Taking 0 items out of the map (which has 0 items) for being unavailable.
Jan 06, 2022 21:58:00.211 [0x7fcf37b07b38] DEBUG -   * Taking 0 directories out of the map (which has 0 dirs) for being unavailable.
Jan 06, 2022 21:58:00.211 [0x7fcf37b07b38] DEBUG - Activity: updated activity f1e83463-1b7b-4403-8f3c-1aafcfc23cb4 - completed 99.0% 

You’re typing windows pathnames. They don’t work with Linux.

Why not click on them?

Like this? ( I will add my “Movies” shared folder which is on Volume 1 )

Start at the top, scroll down and click 'volume1

Notice is has /volume1 at the top. Now scroll down and find movies

Now you see /volume1/Movies on the top bar. In the right pane are all the movies in that shared folder.

For you ,.

/volume1/Media/Movies_KID_FRIENDLY

is how it should look

Now you click ADD

Success! I knew I had missed something easy. I had copied/pasted for the Folder name before, I think I accidentally did the same for the path instead of selecting from the file structure.

Thank you again for your time and patience, ChuckPa.

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