Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plex stopped scanning new media

Featured Replies

has anyone had it where their plex docker just stopped scanning some libraries? my TV and animie is still scanning /updating but my movies just arent scanning the folders anymore i verified the data is being moved from radarr to the correct location but plex just wont find the data. i also ran the fix common problems thinking it was a permission problem but it didnt find anything.

unraid-plex-diagnostics-20250214-0025.zip

  • Community Expert

in plex empty the trash for all of your libaries

image.png.54efefef33b144bc90e10a32a79200b6.png


Under trouble shoothing run the optimize database and clean bundles

image.thumb.png.7283afbf66d012c3065b3c9872cbcfde.png

 

then go back to the libraries and rescan for media...

image.png.8e3ba18fc704b5bb243583b3640fcf2f.png

 

Unraid diags are no good here as this is a file access or internal plex issues... Unless you have bad media file accesses permissions...

stop all dockers and run docker safe perms. and.or run 


 

chmod 777 -R *
chown nobody:users -R *

in the library that your missing content...

you may have content that merged with other media files... and may need to unmerge and fix the metadata...

  • Author

i tried all the stuff you mentioned above including looking for duplicates to see if it merged some data and none of that resolved my issue.  i have pulled the logs from plex itself im a little unsure of whats going on here its like plex doesnt see updates to the folder.

Plex Media Server Logs_2025-02-14_20-07-27.zip

  • Author

looking a bit closer and it looks like my TV and Animie sections are updating as well. see below for example 

 

image.thumb.png.cd1e5b9d4ed67d20f8ab783a84bb72bb.png

  • Author

Fixed it. TY for the help it turns out the Plex DB was corrupted

 

  • 4 months later...
On 2/15/2025 at 3:14 AM, zarken said:

Fixed it. TY for the help it turns out the Plex DB was corrupted

 

How did you find out the database was corrupt?

  • Author

I don't recall all the steps I had went through and what forum I had ended up on exactly but there are some instructions you can find on repairing the db or you can use one from built in backup you can restore by renaming the backup to the live db name.

  • Community Expert
15 hours ago, nerbonne said:

How did you find out the database was corrupt?


I get notfied on my cell pohone when plex is loged into the account that claimed the docker runnig it. It will notify you... Tehre are other ways to run a check against the sql file for plex to see if its corupted..

https://support.plex.tv/articles/repair-a-corrupted-database/

To check for corruption in your Plex database, you can use the PRAGMA integrity_check; command within the SQLite console that Plex uses. If the database is corrupted, you might see error messages, and you can then attempt to repair it using commands like VACUUM or by restoring from a backup. 

Here's a more detailed breakdown:

1. Accessing the SQLite Console:

  • Stop Plex Media Server:

    Ensure Plex Media Server is not running before making any database changes. 

  • Locate the database:

    Find the com.plexapp.plugins.library.db file, typically located in the Plug-in Support/Databases folder within your Plex Media Server data directory. 

  • Open the console:

    You'll need to use a tool like sqlite3 or the Plex database repair script, like DBRepair on GitHub, to access the database. 

2. Checking for Corruption:

  • Run the integrity check: Inside the SQLite console, execute the command PRAGMA integrity_check;.

  • Analyze the output: If the database is valid, the output will be "ok". If there are errors, you'll see specific messages indicating the type and location of the corruption. 

3. Repairing the Database (if necessary):

  • Try VACUUM:

    Execute the command VACUUM; to rebuild the database structure and potentially fix errors. 

  • Restore from backup:

    If the integrity check reveals significant corruption, consider restoring a recent backup of your database. Plex automatically backs up the database regularly if scheduled tasks are enabled. 

  • Use a repair tool:

    Tools like DBRepair can automate the process of checking, repairing, and optimizing the database. 

4. Post-Repair Steps:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.