Auto scan for new media files in library folder not working

Server Version#: 1.42.1.10060 ( the only working with HW transcode for me )
Player Version#: (Android) 10.30.6.4151
I`m having issue with media sync.

From Plex Server point of view I have switched ON Library → Settings → 1st checkbox to auto scan library.

There is also auto scan each 12hours set.

Previously ( when I was on Synology ) new files in folders were discovered instantly and library was always up to date. Now on Qnap new files are not discovered. I need to manually scan library from player to refresh it. What can do done/checked to have it auto-scan by server side ?

I recommend running a repair on the Plex database to see if that resolves the issue. I highly recommend using DBRepair—I’ve used it to fix similar problems with great success.

Have you checked Inotify table size ( Synology FAQ - Questions, Answers, and How-To's - #22 by ChuckPa ) I am not thinking database corruption yet, as it does scan, just not automatically

Do you have simillar steps for Qnap?

@marcin_487

Yes, there is a QNAP equivalent.

I am writing it now and preparing it for the QNAP FAQ

@marcin_487

Quick Question:

Are we referring how to increase the Notify table size on QNAP
-or-
How to run DBRepair on QNAP?

I`m not aware where is the problem.
I can just see that refresh auto and scheduled is not working. System is quite fresh (few days). Library rather small.

Let’s start diagnosis from the beginning

  1. Settings - General - Show Advanced
    – Make certain DEBUG logging is enabled & VERBOSE is disabled.
    – SAVE if any changes

  2. Settings - Library - Show Advanced (Set it this way)

  3. Restart PMS

  4. Wait 3 minutes (Completely idle)

  5. Download the server logs (Settings - Troubleshooting - Download Logs)

  6. Attach the ZIP file it gives you here with your next post

Attaching

Looks like you may have at least a DNS issue Oct 24, 2025 13:05:22.319 [140027781606200] WARN - [HttpClient/HCl#cb2] HTTP error requesting GET https://v4.plex.tv/pms/:/ip (6, Couldn't resolve host name) (Could not resolve host: v4.plex.tv)

24.10.2025 around 13 there was issue with ISP modem. Later no issues but still PMS was not refreshing

Looking deeper, your file share seems odd: /share/ZFS530_DATA/.qpkg/CayinMediaViewer/CodexPackExt/share/Media and your file naming is really bad.

Hmm…

/share/ZFS530_DATA/.qpkg/CayinMediaViewer/CodexPackExt/”

this part was added automatically by PMS selection.

In fact path is:

/share/Media

Will adjust them manually and observe :slight_smile:

This was added by PMS? I don’t do that during installation because I have no visibility to other shared folders or packages

It looks like this.
I select to add media source. This is first what I see so I pick share as there are all shared folders on QNAP:

and it automatically set path as:

after selecting “Media” it set path:

On Qnap “Media” is set as shared folder so it is like top hierarchy one:

@marcin_487

I see the error.

On ZFS, each shared folder is UNDERNEATH the ZFSxxx_DATA name.
You have to look inside each one to find the real shared folder name.
( It is a royal “pain in the ******” but that’s how QNAP did it. Other ZFS implementations do it such that the dataset name is the shared folder name )

The app you’re using isn’t compatible. You can’t use it with PMS.

What you need to do. (what many do)

Either:

A: Create (painfully) each library section as it exists without using the app by browsing into the ZFSxxx_DATA directory first.

-OR-

B: (as many do)

  1. Create different folders under Media (which already exists)
  2. Move your media under that folder
  3. EDIT the Plex Library sections to point to the appropriate /share/ZFS18_DATA/xxxxx subfolder

Looks like that is this QTS file management logic :slight_smile:

CayinMediaViewer is Qnap app I`m not using but looks like it added “shortcut” folder in root path.

Edited paths and “ZFS18_DATA” is not needed.

Just instead of:

/share/ZFS530_DATA/.qpkg/CayinMediaViewer/CodexPackExt/share/Media

used:

/share/Media

Now I can see added file. In case there is still issue will reopen :slight_smile:

Thank you all :slight_smile: