# New files not adding to Plex

**URL:** <https://forums.plex.tv/t/new-files-not-adding-to-plex/709623>\
**Category:** Plex Media Server\
**Tags:** server-mac, plex-web\
**Created:** [April 15, 2021, 4:10pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623 "2021-04-15T16:10:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![elcappytan](https://avatars.discourse-cdn.com/v4/letter/e/ec9cab/32.png) [@elcappytan](https://forums.plex.tv/u/elcappytan)\
**Post date:** [April 15, 2021, 4:10pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/1 "2021-04-15T16:10:03Z")

</div>

Server Version#: Version 1.22.2.4282  
Player Version#: Version 4.55.0

About 4 days ago, my Plex stopped detecting any new files from my computer. All of the old files still play, however. I’ve reset the server and computer numerous times to no avail. I also tried to start a new library and Plex could not find any files from it. No updates or scans worked either. Any solutions?

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [April 15, 2021, 7:12pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/2 "2021-04-15T19:12:18Z")

</div>

This sometimes happens if the Plex database is corrupted.

Pull the log files from your Plex Media Server. [Settings](https://app.plex.tv/desktop/#!/settings/web/general) → Troubleshooting → Download Logs.

FYI, your server should be set for debug, not verbose, logging. See [Settings](https://app.plex.tv/desktop/#!/settings/web/general) → Server\_Name → Settings → General. Select `Show Advanced`. Check the box next to `Enable Plex Media Server debug logging`. Uncheck the box next to `Enable Plex Media Server verbose logging`.

Unzip the file and open the `Plex Media Server.log` file with a text editor/reader.

Look for error messages indicating database corruption, such as those containing `ERROR - SQLITE3` or `ERROR - Database corruption`. Some examples:

```auto
Jul 05, 2020 19:36:56.959 [0x7f59f1b85740] ERROR - SQLITE3:(nil), 11, database corruption at line 64817 of [bf8c1b2b7a]
Jul 05, 2020 19:36:56.959 [0x7f59f1b85740] ERROR - SQLITE3:(nil), 11, statement aborts at 10: [select max(max(metadata_items.changed_at),max(metadata_items.resources_changed_at)) from metadata_items] database disk image is malformed
Jul 05, 2020 19:36:56.978 [0x7f59f1b85740] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed

```

If the database is corrupt, you’ve three choices: repair, restore from a backup, or delete & start over.

If you delete the database you will have to re-create your libraries and re-share them with any users. Your media is not touched during the process.

If you’ve a backup of the database you can try restoring it. If the backup is not corrupt, you can then re-scan your libraries to pick up any additions since the date of the backup.

You can also try repairing the database. You will need to be comfortable with using Terminal and the command line for this option.

These support articles have additional information:

> **[Restore a Database Backed Up via 'Scheduled Tasks' | Plex Support](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/)**
>
> One of the many Scheduled Tasks that a Plex Media Server performs is to make regular backups of the core...

> **[Repair a Corrupt Database | Plex Support](https://support.plex.tv/articles/201100678-repair-a-corrupt-database/)**
>
> Though rare, it is possible for your main Plex Media Server database to become corrupted. For instance, it might happen...

> **[Reporting issues with Plex Media Server | Plex Support](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/)**
>
> How to Report an Issue If you believe you have found an issue in Plex Media Server, please report it...

---

<div class="post-metadata">

**Author:** ![elcappytan](https://avatars.discourse-cdn.com/v4/letter/e/ec9cab/32.png) [@elcappytan](https://forums.plex.tv/u/elcappytan)\
**Post date:** [April 16, 2021, 2:27am UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/3 "2021-04-16T02:27:17Z")

</div>

Thank you! Restoring a backed up database worked.

---

<div class="post-metadata">

**Author:** ![bmullan](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@bmullan](https://forums.plex.tv/u/bmullan)\
**Post date:** [May 13, 2021, 5:14pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/4 "2021-05-13T17:14:24Z")

</div>

@elcappytan I was relieved to read your post because I have the same exact problem on my ubuntu 20.04 ever since i update to Plex Server 1.22.x

I tried to follow the plex instructions to correct DB corruption but Step #2 kept failing

So I’m just going to rebuild my libraries…

---

<div class="post-metadata">

**Author:** ![dps14\_comcast\_net](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@dps14\_comcast\_net](https://forums.plex.tv/u/dps14_comcast_net)\
**Post date:** [May 20, 2021, 8:30pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/5 "2021-05-20T20:30:45Z")

</div>

FordGuy61

Thanks for the quick reply. Pulled down the logfiles (non-verbose) and reviewed them after requesting a “rescan”. What I found was a scan of all the existing files and no error messages – but the scan did not see the files that have not been recognized. Doesn’t seem like existing data base is corrupt. It’s more of an issue of the scan process not seeing the files recently added. The fact that the scan process has seen 74 files ok suggests that it’s not my naming convention that’s causing it to miss the files. Any other suggestions??

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [May 20, 2021, 8:56pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/6 "2021-05-20T20:56:17Z")

</div>

If the database was corrupt you would see the error messages in the log files.

It is possible Plex considers the video a duplicate and has combined it with another video.

Look at the library in [Plex Web](https://app.plex.tv/desktop/#!/). Click on “All” and choose “Duplicate” from the list.

If you’ve duplicates:

You can see which files are combined by pulling up the Get Info / [Media Info](https://support.plex.tv/articles/201998867-investigate-media-information-and-formats/#toc-1) window.

You can split the files by choosing Split Apart from the same menu where you see Get Info (You won’t see Split Apart listed unless files have been combined).

![Screenshot (641)](https://global.discourse-cdn.com/plex/original/3X/e/b/eb961bb63c3879b0be8097d4acd95f0b5a9f9e1d.png)

![Screenshot (642)](https://global.discourse-cdn.com/plex/original/3X/b/7/b73b44b935182c982d61faa4e2617cb22aa64308.png)

---

<div class="post-metadata">

**Author:** ![dps14\_comcast\_net](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@dps14\_comcast\_net](https://forums.plex.tv/u/dps14_comcast_net)\
**Post date:** [May 21, 2021, 1:07pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/7 "2021-05-21T13:07:47Z")

</div>

Great suggestion… I didn’t realize Plex had this capability. When I searched for duplicates, I found only one. The titles of 2 videos were similar. I had previously “repaired” this issue. Unfortunately, the “invisible” new adds did not show up in this diagnostic. They are still not being picked up by Plex. Any other suggestions?

---

<div class="post-metadata">

**Author:** ![blim5001](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@blim5001](https://forums.plex.tv/u/blim5001)\
**Post date:** [May 21, 2021, 1:27pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/8 "2021-05-21T13:27:34Z")

</div>

It might be worth checking the permissions on the ones that are not appearing and make sure they are the same as the ones that are working.

You could also try looking at your library in folder view and see if the missing items are there

---

<div class="post-metadata">

**Author:** ![dps14\_comcast\_net](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@dps14\_comcast\_net](https://forums.plex.tv/u/dps14_comcast_net)\
**Post date:** [May 22, 2021, 1:48pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/9 "2021-05-22T13:48:16Z")

</div>

Finally found the “lost” videos in Plex. Turns out that in addition to the "All’ choice in the filter for Home Video, there is also an “Unmatched” choice. When I chose that, the Invisible videos were there. When I appropriately changed their names, they sorted in the list as expected.

Thanks to all who helped me here! I never would have found this without help… It also seemed to matter that enough time had to pass for a “comprehensive audit” to occur in the data base. When I went to bed Friday night, Plex said there were 75 items in the data base. When I got up on Saturday morning, it said there were 78. That was the clue that something had changed. That never happened when I simply ran a “rescan the database” after adding a video.

Paul

---

<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:** [August 20, 2021, 1:48pm UTC](https://forums.plex.tv/t/new-files-not-adding-to-plex/709623/10 "2021-08-20T13:48:59Z")

</div>

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