# Issues with adding files to library and matching

**URL:** <https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741>\
**Category:** Plex Media Server\
**Created:** [August 5, 2020, 12:24pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741 "2020-08-05T12:24:01Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Proteus777](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/proteus777/32/152177_2.png) [@Proteus777](https://forums.plex.tv/u/Proteus777)\
**Post date:** [August 5, 2020, 12:24pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/1 "2020-08-05T12:24:01Z")

</div>

Sounds like the same problem I am still having (for well over a month) I was told it was probably a permission problem but I had used a batch tool to correct that (to no avail) and have since moved everything onto a newly formatted plex cache SSD …and the permission issue doesn’t make sense if my music is still matching and movie/tv show agents are simply not finding anything. Naming is NOT an issue. [Plex dance](https://forums.plex.tv/t/the-plex-dance/197064) does NOT do anything to fix.  
I also tried to turn off “local media assets agents” and reorder the priority but they just pop back to where they were …also not sure if related but this has always been an issue however seems to be worse recently …remote access keep flipping to “not available” and back again to “Available” however it does not seem to be affecting people’s ability to connect or speed at which they connect at so I have learned to just ignore it.  
[Plex Media Server Logs\_2020-08-05\_05-16-40.zip](https://forums.plex.tv/uploads/short-url/k3Z0Xq9n6oNuzJmZ3zoWxLNCpM1.zip) (10.4 MB)

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [August 5, 2020, 12:33pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/2 "2020-08-05T12:33:02Z")

</div>

> [@Proteus777](#):
>
> I was told it was probably a permission problem

And it still appears to be a permissions problem:

```auto
WindowsError: [Error 5] Access is denied: u'\\\\?\\S:\\Plex Media Server\\Plug-in Support\\Caches\\com.plexapp.agents.thetvdb\\HTTP.system\\CacheInfo'

```

This is just one error of many of the same type in your TVDB agent log, all showing an inability to access a path under S:\Plex Media Server.

So, triple check your permissions, because Plex (or at least the agent) cannot write there. I’m not saying it’s the issue, but it’s an issue.

---

<div class="post-metadata">

**Author:** ![Proteus777](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/proteus777/32/152177_2.png) [@Proteus777](https://forums.plex.tv/u/Proteus777)\
**Post date:** [August 5, 2020, 12:35pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/3 "2020-08-05T12:35:08Z")

</div>

? I changed my path? It should say Z:\Plex Media Server  
 ![image](https://global.discourse-cdn.com/plex/original/3X/a/4/a4149e5b5adca8f869d505c073cbb03d16cfd487.png)

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [August 5, 2020, 12:39pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/4 "2020-08-05T12:39:09Z")

</div>

That’s not your Plex data directory location, that’s just where it stores backups of your database. The location of your Plex data directory is controlled by a registry key:  
HKEY\_CURRENT\_USER\Software\Plex, Inc.\Plex Media Server\LocalAppDataPath

---

<div class="post-metadata">

**Author:** ![Proteus777](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/proteus777/32/152177_2.png) [@Proteus777](https://forums.plex.tv/u/Proteus777)\
**Post date:** [August 5, 2020, 12:40pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/5 "2020-08-05T12:40:04Z")

</div>

Ok …but I looked everywhere in the settings. I thought there was somewhere else to enter a directory but I could not find it anywhere and gave up looking.

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [August 5, 2020, 12:41pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/6 "2020-08-05T12:41:08Z")

</div>

There used to be, but it was removed due to security concerns. This guide describes how to manually configure the location of the Plex data directory:

> [@\[HowTo\] An extended guide on how to move the Plex data folder on Windows](https://forums.plex.tv/t/howto-an-extended-guide-on-how-to-move-the-plex-data-folder-on-windows/197060):
>
> By default, Plex server stores all its own data on the system drive, in the AppData path of the Windows user. You might want to change that location, if your system drive is a small SSD or you are simply having capacity issues. Moving Plex data to a dedicated drive also makes it easier to retain your Plex server data when changing machines or re-installing Windows from scratch. For larger servers/collections, I recommend a dedicated, internal SSD drive. Exit/End/Quit/Close plex, using the t…

---

<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:** [August 5, 2020, 1:01pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/7 "2020-08-05T13:01:52Z")

</div>

Let’s not mix things up… (moved this conversation in its own thread)

---

<div class="post-metadata">

**Author:** ![Proteus777](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/proteus777/32/152177_2.png) [@Proteus777](https://forums.plex.tv/u/Proteus777)\
**Post date:** [August 5, 2020, 1:12pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/8 "2020-08-05T13:12:46Z")

</div>

It’s manually finding matches now …but it won’t apply it ☹  
I also tried doing the dance to no avail… it’s acting like it’s matched but "refresh is greyed and not meta data added.  
 ![image](https://global.discourse-cdn.com/plex/original/3X/5/c/5c152411047e3062ce0adee20e8b7e9a36b19182.jpeg)

---

<div class="post-metadata">

**Author:** ![Proteus777](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/proteus777/32/152177_2.png) [@Proteus777](https://forums.plex.tv/u/Proteus777)\
**Post date:** [August 5, 2020, 1:15pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/9 "2020-08-05T13:15:30Z")

</div>

Wait there it goes! …I popped the server one more time and it seems to working now!!! THANK YOU!!!

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [August 5, 2020, 1:39pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/10 "2020-08-05T13:39:38Z")

</div>

No problem, glad you got it working.

---

<div class="post-metadata">

**Author:** ![Proteus777](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/proteus777/32/152177_2.png) [@Proteus777](https://forums.plex.tv/u/Proteus777)\
**Post date:** [August 5, 2020, 1:47pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/11 "2020-08-05T13:47:11Z")

</div>

Might be some lag updating some of the metadata, activity isn’t spinning and refresh greyed but that is what it also did for the few it’s found already.  
Might have to dance it some more (found one I didn’t do the dance for and 2 I did) …and then hopefully it will be reliable once I start adding movies like normal.

---

<div class="post-metadata">

**Author:** ![Proteus777](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/proteus777/32/152177_2.png) [@Proteus777](https://forums.plex.tv/u/Proteus777)\
**Post date:** [August 5, 2020, 2:00pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/12 "2020-08-05T14:00:12Z")

</div>

Matching now happening in a timely manner 🙂

---

<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:** [November 3, 2020, 2:00pm UTC](https://forums.plex.tv/t/issues-with-adding-files-to-library-and-matching/620741/13 "2020-11-03T14:00:18Z")

</div>

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