Plex Files Unavailable but they’re not missing

Ok, so now I am thinking it might be a Synology or Mac Mini issue. I am no expert, so maybe I am full of it here.

Thanks to the rec of Automounter, I installed and am now using that to mount my folder from my NAS.

So when I used the configuration assistant in Automounter, it gave me two options for the same network drive:

I selected the first one and it showed as both being configured.

I was a little confused, but it turns out the first one I selected is for Roon with the mount location of RoonMounts. Which explains how I can use Roon without actually mounting the drive on the desktop or finder.

It also showed the NAS as available.

So I removed that share and sever, and went back and used the configuration assistant to add the other instance of my NAS folder. But after adding it the sever shows as offline and the folder as not mounted.

I opened up a finder window and navigated around the folder on my NAS and bingo, now everything is available.

And that Mount Location is under volumes.

So I don’t know if this is the hibernation setting, or a setting I don’t know about in Sequoia. But something is up.

That being said, I have no issue with Roon which does recommend not mapping via Volumes and instead adds as a network share versus Plex just mapping a path via Volumes.

Plex

Roon

It even gives you a pretty firm warning if you try.

Maybe the Roon devs are on to something here…

So maybe there are some settings that can be tweaked in MacOS or Synology, but maybe Plex could implement a more reliable network mount solution similar to Roon.

I’m curious if folks using Jellyfin or Emby mount via network or the Volumes path.

2 Likes

Follow up, are we all doing it wrong?

From the Emby forum.

1 Like

I have found some differences on SMB client on Sonoma vs Sequoia. I want to share them, to see if it helps to the Plex team. With terminal, if I run the command:

smbutil statshares -m path_to_mountpoint

It has different output in Sequoia that in Sonoma.
Output from Mac mini with Sonoma 14.6.1:

pedro@Mac-mini-de-Pedro ~ % smbutil statshares -m /Users/pedro/NAS/NFS1 

==================================================================================================
SHARE                         ATTRIBUTE TYPE                VALUE
==================================================================================================
NFS1                          
                              SERVER_NAME                   NAS1._smb._tcp.local
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.1.1
                              SMB_ENCRYPT_ALGORITHMS        AES_128_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_128_GCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_GCM_ENABLED
                              SMB_CURR_ENCRYPT_ALGORITHM    OFF
                              SMB_SIGN_ALGORITHMS           AES_128_CMAC_ENABLED
                              SMB_SIGN_ALGORITHMS           AES_128_GMAC_ENABLED
                              SMB_CURR_SIGN_ALGORITHM       AES_128_GMAC
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              UNIX_SUPPORT                  TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              OS_X_SERVER                   TRUE
                              FILE_IDS_SUPPORTED            TRUE
                              DFS_SUPPORTED                 TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              SESSION_RECONNECT_TIME        0:0
                              SESSION_RECONNECT_COUNT       0

--------------------------------------------------------------------------------------------------

Output from MacBook Pro with Sequoia 15.0:

pedro@MacBook-Pro ~ % smbutil statshares -m /Volumes/NFS1

==================================================================================================
SHARE                         ATTRIBUTE TYPE                VALUE
==================================================================================================
NFS1                          
                              SERVER_NAME                   NAS1._smb._tcp.local
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.1.1
                              SMB_ENCRYPT_ALGORITHMS        AES_128_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_128_GCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_GCM_ENABLED
                              SMB_CURR_ENCRYPT_ALGORITHM    OFF
                              SMB_SIGN_ALGORITHMS           AES_128_CMAC_ENABLED
                              SMB_SIGN_ALGORITHMS           AES_128_GMAC_ENABLED
                              SMB_CURR_SIGN_ALGORITHM       AES_128_GMAC
                              COMPRESSION_IO_THRESHOLD      4096
                              COMPRESSION_CHUNK_LEN         262144
                              COMPRESSION_MAX_FAIL_CNT      5
                              WRITE_COMPRESSION_CNT         0
                              WRITE_CNT_LZ77Huff            0
                              WRITE_CNT_LZ77                0
                              WRITE_CNT_LZNT1               0
                              WRITE_CNT_FWD_PATTERN         0
                              WRITE_CNT_BWD_PATTERN         0
                              READ_COMPRESSION_CNT          0
                              READ_CNT_LZ77Huff             0
                              READ_CNT_LZ77                 0
                              READ_CNT_LZNT1                0
                              READ_CNT_FWD_PATTERN          0
                              READ_CNT_BWD_PATTERN          0
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              UNIX_SUPPORT                  TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              OS_X_SERVER                   TRUE
                              FILE_IDS_SUPPORTED            TRUE
                              DFS_SUPPORTED                 TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              SESSION_RECONNECT_TIME        0:0
                              SESSION_RECONNECT_COUNT       0

--------------------------------------------------------------------------------------------------

As you can see, Sequoia has new compression settings and other stuff that Sonoma does not have. Also, then man entry of nsmb.conf has more options in Sequoia.
Options of man nsmb.conf in Sonoma:

Keyword                 Section        Default        Comment
                             A B C          Values
     addr                    - + -                         DNS name or IP address of server
     nbtimeout               + + -          1s             Timeout for resolving a NetBIOS name
     minauth                 + + -          NTLMv2         Minimum authentication level allowed
     port445                 + + -          both           How to use SMB TCP/UDP ports
     streams                 + + +          yes            Use NTFS Streams if server supported
     soft                    + + +          no             Force all mounts to be soft
     notify_off              + + +          no             Turn off using notifications
     kloglevel               + - -          0              Turn on smb kernel logging
     protocol_vers_map       + + -          7              Bitmap of SMB Versions that are enabled
     signing_required        + + -          no             Turn on smb client signing
     signing_alg_map         + + -          no             Bitmap of SMB 3.1.1 signing algorithms that are enabled
     signing_req_vers        + + -          6              Bitmap of SMB Versions that have signing required
     validate_neg_off        + + -          no             Turn off using validate negotiate
     max_resp_timeout        + + -          30s            Max time to wait for any response from server
     submounts_off           + + +          no             Turn off using submounts
     dir_cache_async_cnt     + + -          10             Max async queries to fill dir cache
     dir_cache_max           + + -          60s            Max time to cache for a dir
     dir_cache_min           + + -          30s            Min time to cache for a dir
     max_dirs_cached         + + -          Varies         Varies from 200-300 depending on RAM amount
     max_cached_per_dir      + + -          Varies         Varies from 2000-10000 depending on RAM amount
     netBIOS_before_DNS      + + +          no             Try NetBIOS resolution before DNS resolution
     mc_on                   + + -          yes            Turn on SMB multichannel (allow more than one channel per session)
     mc_prefer_wired         + + -          no             Prefer wired NIC's over wireless in multichannel mode
     encrypt_cipher_map      + + -          15             Bitmap of SMB 3.1.1 encryption algorithms that are enabled
     force_sess_encrypt      + + -          no             Force session encryption
     force_share_encrypt     + + -          no             Force share encryption
     connect_to_sharedisk    + - -          yes            Allow connection to a server in disk share mode

Options of man nsmb.conf in Sequoia:

Keyword                 Section        Default        Comment
                             A B C          Values
     addr                    - + -                         DNS name or IP address of server
     nbtimeout               + + -          1s             Timeout for resolving a NetBIOS name
     minauth                 + + -          NTLMv2         Minimum authentication level allowed
     port445                 + + -          both           How to use SMB TCP/UDP ports
     streams                 + + +          yes            Use NTFS Streams if server supported
     soft                    + + +          no             Force all mounts to be soft
     notify_off              + + +          no             Turn off using notifications
     kloglevel               + - -          0              Turn on smb kernel logging
     protocol_vers_map       + + -          7              Bitmap of SMB Versions that are enabled
     signing_required        + + -          no             Turn on smb client signing
     signing_alg_map         + + -          no             Bitmap of SMB 3.1.1 signing algorithms that are enabled
     signing_req_vers        + + -          6              Bitmap of SMB Versions that have signing required
     validate_neg_off        + + -          no             Turn off using validate negotiate
     max_resp_timeout        + + -          30s            Max time to wait for any response from server
     submounts_off           + + +          no             Turn off using submounts
     dir_cache_async_cnt     + + -          10             Max async queries to fill dir cache
     dir_cache_max           + + -          60s            Max time to cache for a dir
     dir_cache_min           + + -          30s            Min time to cache for a dir
     max_dirs_cached         + + -          Varies         Varies from 200-300 depending on RAM amount
     max_cached_per_dir      + + -          Varies         Varies from 2000-10000 depending on RAM amount
     netBIOS_before_DNS      + + +          no             Try NetBIOS resolution before DNS resolution
     mc_on                   + + -          yes            Turn on SMB multichannel (allow more than one channel per session)
     mc_max_channels         + + -          9              Max channels between client and server
     mc_srvr_rss_channels    + + -          4              Max RSS channels per server interface
     mc_clnt_rss_channels    + + -          4              Max RSS channels per client interface
     mc_prefer_wired         + + -          no             Prefer wired NIC's over wireless in multichannel mode
     encrypt_cipher_map      + + -          15             Bitmap of SMB 3.1.1 encryption algorithms that are enabled
     force_sess_encrypt      + + -          no             Force session encryption
     force_share_encrypt     + + -          no             Force share encryption
     connect_to_sharedisk    + - -          yes            Allow connection to a server in disk share mode
     comp_algorithms_map     + + -          0xf            Bitmap of compression algorithms that are enabled
     comp_chaining_disable   + + -          no             Disable chained compression
     comp_io_threshold       + + -          4096           Min IO size to use compression (4096 - 1048576)
     comp_chunk_len          + + -          256KB          Chained write chunk size for processing
     comp_max_fail_cnt       + + -          5              Max times write compression can fail before disabling for that file
     comp_exclude_list       + + -                         Comma separated list of file extensions to not compress
     comp_include_list       + + -                         Comma seperated list of file extensions to override default exclusion list

Hope it helps to the team!

3 Likes

Feels like part of this thread conversation may have gone off-track somewhat, so let’s summarize what we currently know (please further clarify or correct anything that I may get wrong!):

  • the issue occurs only on MacOS 15.0 (Sequoia). Rolling back to the previous MacOS version (14.x) with the same Plex server version no longer has the issue.
  • it appears to impact large media libraries with items over 1000. Smaller media libraries are not impacted.
  • issue is specific to media libraries hosted on Synology network shares (? - is this confirmed, or is it any SMB / NFS shares with large media libraries from MacOS 15.0?)

Confirmed workarounds / reproduceable behavior:

  • default library scan will flag items (possibly ‘half’ of the large media library) as missing. Re-adding the same network path in the library settings forces it to rescan and restore the ‘missing’ items. Immediately performing a default library scan will still result in items being flagged as missing.
  • keeping a Finder window open to the affected media library directory on the MacOS Plex server seems to allow the default library scan to work as expected

Obviously, Apple has made some sort of change to the network volume config in MacOS 15.0 that is impacting Plex’s ability to scan and see all items.

Keeping or refreshing an ‘active’ connection to the network share in MacOS seems to temporarily alleviate the issue.

Other applications running on the same MacOS machine as Plex that connect to and read the same network shares and media library content do not appear to be impacted (such as Radarr, Sonarr, etc.) They seemingly are able to continue to read the entire network volume content.

So - what is different with how Plex scans this network volume vs. other applications? What has changed in MacOS 15.0 regarding network volumes?

Tagging @Atomatth and @drzoidberg33 for a possible progress update into this ongoing investigation.

Thanks everyone for your continued input and support! A great community effort in working through this issue!

5 Likes

Curious about Volumes vs network mounts in app. Are people using Volumes for Sonarr and Radarr?

My Plex server, Radarr, and Sonarr services all run on the same Mac Mini and they all reference the same network share from my Synology NAS that I connect via the standard MacOS Finder interface and is then referenceable as /Volumes/Media.

Is there an alternate way of connecting a network share in MacOS that I could try that doesn’t get mounted under volumes?

2 Likes

I’m no expert, but I think it needs to be done or allowed within the app.

In Roon, I need to enter the path for the server and enter in my user name, password, and the workgroup. It mounts on its own. I think my Time Machine also does this. No need to have the shared folder on my NAS mounted on my desktop.

1 Like

It looks like Emby uses the same sort of set up as Roon?

https://emby.media/support/articles/Optional-Network-Paths.html

1 Like

In Sonarr and Radarr on my system, I just select the /Volumes/Media path to point it to my media libraries on the NAS (as it’s mounted there in MacOS).

1 Like

Ah. Gotcha.

1 Like

Off topic… but just out of interest are you running the rr’s in docker on the mac? I run the rr’s on the syno and just use the mac for tautulli and some other stuff, I kept running into permission issues when trying to setup the rr’s on the mac.

On topic… keeping finder window open with the directories in tabs seem to be making plex stable for me.

1 Like

I didn’t say you didn’t. Can we just stay on topic. Your personal attacks serve no purpose in solving this problem.

1 Like

I’ve been fine for years with more than 1000 files to index. This is new, Hbrennan.

I got AutoMounter too but there doesn’t appear to be a way to mount multiple SMB paths to the NAS. I does the map to the root of the shared area but I couldn’t find a working config to mount 2 different paths down to the affected directories.

Why stay with Sonoma? Because a rollback means a nuke-and-pave. Ugh.

2 Likes

This is more directed to the Plex devs.

I 100% agree. I’ve been using Plex with a NAS for the last 4 years (been enjoying Plex since 2014) and never had this issue. I’ve already fresh installed Sequioa again the other day and started from scratch with my library and I am not rolling back again. Running a few other things like SoftRAID and Roon on the same machine and it is a PITA.

From my novice understanding this seems like a Plex issue in implementation on MacOS and how network drives are handled. Volumes versus UNC/SMB in Sequioa.

I don’t know how big this user base is to Plex’s overall user base, but it seems like a bug worth fixing.

The workaround for not auto scanning is working fine for now, but it would be great to have this solved in one of the upcoming releases.

4 Likes

The auto scanning works perfectly if you keep finder windows open to each affected library folder. This my “permanent” fix until Plex can locate and tweak the code, and/or something on the macOS side changes. Whichever the issue is, doesn’t matter to me, just want some sort of resolution at some point. But the workaround I’m using has been pretty much set it and forget it.

2 Likes

Chiming in a little late due to no internet from hurricane … but as others have stated before, problem is “temporarily” resolved when keeping the finder window open during a manual scan. Auto scan and empty trash is disabled.

2 Likes

same for me.

1 Like

To be clear it’s not ONLY Synology, I’ve reported the issues on my system which uses QNAP NASs

3 Likes

Apple dropped 15.0.1 today. Anyone try it just to see if anything with this issue changed?

1 Like

Same issue of some media being marked as unavailable? Same workarounds work?