# New server setup - libraries not scanning

**URL:** <https://forums.plex.tv/t/new-server-setup-libraries-not-scanning/674437>\
**Category:** Remote Access\
**Tags:** server-linux\
**Created:** [January 4, 2021, 9:50pm UTC](https://forums.plex.tv/t/new-server-setup-libraries-not-scanning/674437 "2021-01-04T21:50:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Timmehtimtims](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/timmehtimtims/32/113821_2.png) [@Timmehtimtims](https://forums.plex.tv/u/Timmehtimtims)\
**Post date:** [January 4, 2021, 9:50pm UTC](https://forums.plex.tv/t/new-server-setup-libraries-not-scanning/674437/1 "2021-01-04T21:50:53Z")

</div>

Server Version#: 1.21.1.3842  
Player Version#: N/A

I setup a new plex server on linux in docker. During the install I claimed the server, but had to use `ssh -N -L localhost:32400:localhost:32400 user:IP` in order to access and setup the server as it would not grant me access to the server through the normal URL. I’ve had to do this in the past so wasn’t a problem.

This time however, I add the libraries and when it goes to scan them, it does not perform a scan. Nothing happens. I’ve attached logs below. Any help greatly appreciated 🙂

(File removed)

---

<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:** [January 4, 2021, 9:56pm UTC](https://forums.plex.tv/t/new-server-setup-libraries-not-scanning/674437/2 "2021-01-04T21:56:51Z")

</div>

Looks like it scanned exactly 2 movies:

1. Jimmy Westwood Amerikan Hero (2016)
2. Fruitvale Station (2013)

However it was scanning those folders as it couldn’t determine any changes?!

If there’s more movie folders with content, this could be a permission issue (w/ Plex not having permission to see their content).

---

<div class="post-metadata">

**Author:** ![Timmehtimtims](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/timmehtimtims/32/113821_2.png) [@Timmehtimtims](https://forums.plex.tv/u/Timmehtimtims)\
**Post date:** [January 4, 2021, 10:02pm UTC](https://forums.plex.tv/t/new-server-setup-libraries-not-scanning/674437/3 "2021-01-04T22:02:11Z")

</div>

Hmm… That’s bizarre. There are lots of films in that directory. However, when I browse to that directory in Plex (add library directory), it only shows those two movies.

What might I need to change in the docker permissions setup?

Out of interest, if it can see them, why won’t it add them? Is that because it thinks they’re in the library already?

---

<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:** [January 4, 2021, 10:08pm UTC](https://forums.plex.tv/t/new-server-setup-libraries-not-scanning/674437/4 "2021-01-04T22:08:06Z")

</div>

Could be because it has permission to see the 2 folders but not their content

# 

**Edit:**  
Have you already checked the notes on permissions in the Plex docker page?

> **[plexinc/pms-docker - Users/Groups](https://github.com/plexinc/pms-docker#usersgroups)**
>
> Plex Media Server Docker repo, for all your PMS docker needs.

---

<div class="post-metadata">

**Author:** ![Timmehtimtims](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/timmehtimtims/32/113821_2.png) [@Timmehtimtims](https://forums.plex.tv/u/Timmehtimtims)\
**Post date:** [January 4, 2021, 10:52pm UTC](https://forums.plex.tv/t/new-server-setup-libraries-not-scanning/674437/5 "2021-01-04T22:52:18Z")

</div>

Yes, permissions are set correctly in the container to 1000.

I found that the issue was the my drive was not mounted correctly. 👍

---

<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:** [April 4, 2021, 10:52pm UTC](https://forums.plex.tv/t/new-server-setup-libraries-not-scanning/674437/6 "2021-04-04T22:52:23Z")

</div>

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