# New Libraries showing has empty

**URL:** <https://forums.plex.tv/t/new-libraries-showing-has-empty/876399>\
**Category:** Plex Media Server\
**Tags:** server-synology, library-management\
**Created:** [April 29, 2024, 9:17pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399 "2024-04-29T21:17:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgauthier72](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jgauthier72](https://forums.plex.tv/u/jgauthier72)\
**Post date:** [April 29, 2024, 9:17pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/1 "2024-04-29T21:17:34Z")

</div>

Server Version#: 1.40.2.2395-7000

Hi,  
I have a problem creating new libraries. On my Synology, I have created a new Shared Folder. I ensured that the Plex user has access to this share. Then I have configured the library in Plex and add the folder /Volume1/[my shared folder].

But Plex keep showing it as empty. I have tried to scan library files and nothing works. I have tons of files in this folder. Is there anything additional security I must add to these files?

thanks

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [April 29, 2024, 9:22pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/2 "2024-04-29T21:22:42Z")

</div>

What version of DSM are you running on the NAS and to what „Plex“ user did you grant access to the share?

> [@Synology FAQ - Questions, Answers, and How-To's](https://forums.plex.tv/t/490215/25):
>
> FAQ 19: Setting permissions to allow Plex access to media files Before beginning, it’s important to remember one key point; Plex doesn’t have any special privileges on Synology except for being able to access the Video Transcoding acceleration hardware. It cannot read any of your files unless you expressly grant permission. This is a fundamental principle of Linux (which Synology uses for DSM) Because of how Synology grants permission, access to files is broken into two different …

---

<div class="post-metadata">

**Author:** ![jgauthier72](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jgauthier72](https://forums.plex.tv/u/jgauthier72)\
**Post date:** [April 29, 2024, 9:29pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/3 "2024-04-29T21:29:09Z")

</div>

Dsm 7.1.1.  
I have tested plex user with read-only, then read-write. Same result ☹

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [April 29, 2024, 9:30pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/4 "2024-04-29T21:30:33Z")

</div>

Make sure you’re granting access to `PlexMediaServer`.

---

<div class="post-metadata">

**Author:** ![jgauthier72](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jgauthier72](https://forums.plex.tv/u/jgauthier72)\
**Post date:** [April 29, 2024, 10:43pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/5 "2024-04-29T22:43:36Z")

</div>

I have set R/W on it. Still no result. Here is what i see in the log:

Performing a scan with ‘Plex Photo Scanner’ (language: xn virtual: 0).  
Apr 29, 2024 18:18:15.788 [139635070430008] DEBUG - \* Scanning /volume1/Pictures  
Apr 29, 2024 18:18:15.788 [139635070430008] ERROR - Failed to create iterator to “/volume1/Pictures”: **Permission denied**  
Apr 29, 2024 18:18:15.788 [139635070430008] DEBUG - \* Marking media not available in /volume1/Pictures  
Apr 29, 2024 18:18:15.798 [139635070430008] DEBUG - \* Taking 0 items out of the map (which has 0 items) for being unavailable.  
Apr 29, 2024 18:18:15.808 [139635070430008] DEBUG - \* Taking 0 directories out of the map (which has 0 dirs) for being unavailable.  
Apr 29, 2024 18:18:15.809 [139635070430008] DEBUG - Activity: updated activity a26ea214-a11e-4c9e-8858-977cae43fba2 - completed 99.0% - Scanning Photos  
Apr 29, 2024 18:18:15.809 [139635070430008] DEBUG - Removing 0 media items that were left.  
Apr 29, 2024 18:18:15.809 [139635070430008] DEBUG - Removing 0 directories that were left.  
Apr 29, 2024 18:18:15.810 [139635070430008] DEBUG - Activity: updated activity a26ea214-a11e-4c9e-8858-977cae43fba2 - completed 100.0% - Scanning Photos

I also did another test with a new share, everyone is read-write on it. I added one file in it. Then created a Test library pointing to this shared folder. Same problem.  
I am puzzled!

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 29, 2024, 11:41pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/6 "2024-04-29T23:41:41Z")

</div>

Can you please download the [Server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) ZIP file (settings - _server_ - troubleshooting - download logs)

Attach that zip file here.

Be advised, Your pasted log excerpt shows where the problem is:

> Apr 29, 2024 18:18:15.788 [139635070430008] ERROR - Failed to create iterator to “/volume1/Pictures”: Permission denied

Please also screenshot the permissions you assigned to /Pictures shared folder.

---

<div class="post-metadata">

**Author:** ![jgauthier72](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jgauthier72](https://forums.plex.tv/u/jgauthier72)\
**Post date:** [April 30, 2024, 3:08pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/7 "2024-04-30T15:08:25Z")

</div>

@ChuckPa I think I have found the problem.

When you indicated " Make sure you’re granting access to `PlexMediaServer`", I thought it meant to give access plex account to the PlexMediaServer Shared Folder, which I did but didn’t work.

While investigating more carefully this morning, I found there is “system internal user” created by Plex Media Server package named “ **PlexMediaServer** ”. This account doesn’t show up in the “User & Group” app. However, in the Permissions of a Shared Folder, there is an option to filter “System internal user” and there we see this PlexMediaServer system account. I gave it R/W **and now my library scan works!**

I am not clear though even after i went to some of the FAQ. Do we still need the “plex” user when we have upgraded to DSM 7? I still have it… Same question for the plex Shared Folder? (based on timestamps of the files in it, it feels it has not been used since I have upgraded to DSM 7 a few years ago. My Plex shared folder is not empty.

Can the plex user and plex Shared Folder be deleted when we are on DSM 7? I’d prefer to keep things lean and remove everything that is no longer needed, which confused me when I configured things as I had been used to manage PMS for years on DSM 6.

I have found this from one of your posts: What’s changed in DSM 7  
– Plex shared folder and structure → PlexMediaServer shared folder and structure  
– “Plex” username no longer used → “PlexMediaServer” (system internal user) used

So, it seems I can remove the plex account and delete the plex shared folder right?

thanks @ChuckPa !

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 30, 2024, 4:03pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/8 "2024-04-30T16:03:49Z")

</div>

On DSM 7, the `plex` username is abandoned. Synology forced the change.  
You may delete user `plex`.

The new username, which has a new shared folder, is `PlexMediaServer`.  
DSM 7 introduced a ‘System Internal User’ class for apps. We were forced to abide by the new rules.

Look in the Syno FAQ.  
There is a DSM 7-specific section

> [@Synology FAQ - Questions, Answers, and How-To's](https://forums.plex.tv/t/synology-faq-questions-answers-and-a-few-how-tos/490215/37):
>
> FAQ 29 - DSM 7 - Give PlexMediaServer access to your media When you migrate to DSM 7, are installing a server for the first time, or just adding a new shared folder / sub-folder for media , folks forget to read the popup at the end of every installation which tells them about how to set permissions. This FAQ shows in detail how to do what those instructions state. When might you need to perform these steps? When upgrading, changing permissions from Plex to PlexMediaServer is overlook…

Did you “click right through” the “Installation Successful” message? 😉🤣

---

<div class="post-metadata">

**Author:** ![jgauthier72](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jgauthier72](https://forums.plex.tv/u/jgauthier72)\
**Post date:** [April 30, 2024, 5:19pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/9 "2024-04-30T17:19:34Z")

</div>

Possibly indeed i did the upgrade without reading all disclaimers 😁 That was a while ago…

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 30, 2024, 6:04pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/10 "2024-04-30T18:04:50Z")

</div>

I know we’re all very busy …

That’s why I print it at the end of EVERY installation.

LOL

Glad you got it resolved 👋

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 29, 2024, 6:05pm UTC](https://forums.plex.tv/t/new-libraries-showing-has-empty/876399/11 "2024-07-29T18:05:22Z")

</div>

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