Jellyfin Forum
Jellyfin MacOS can't read mounted drive - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin MacOS can't read mounted drive (/t-jellyfin-macos-can-t-read-mounted-drive)



Jellyfin MacOS can't read mounted drive - Dom - 2025-02-17

Hey guys!

So I did this whole setup with a Mac Mini, a external drive RAID and all that and it was kind of working (until it stopped working due to a problem with the RAID).

Now I'm trying to re-scan my media library with no success, since Jellyfin doesn't "read" the Mounted Drive.

Behavior in the UI:
  1. Go to add new Media Library
  2. Click "Add Folder"
  3. Scroll down to the Mounted Drive
  4. Click on the Mounted Drive Path
  5. Nothing will happen, the drop down will disappear, nothing changing.

Note: I can write the path down by hand but it will be the same as an empty folder.

Looking at the logs, this is the error that the steps above return:

Code:
[ERR] [33] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Invalid argument : '/Volumes/DRIVE/System Volume Information'". URL "GET" "/Environment/DirectoryContents".

If I go and add the path by hand, the logs show the following error while trying to scan:

Code:
[ERR] [18] MediaBrowser.Providers.Folders.FolderMetadataService: Error validating images for "/Volumes/DRIVE/Media Library/Series"
System.IO.IOException: Invalid argument : '/Volumes/DRIVE/Media Library/Series/Series Folder Name'
  at System.IO.FileStatus.ThrowOnCacheInitializationError(ReadOnlySpan`1 path)
  at System.IO.FileSystemInfo.Create(String fullPath, String fileName, Boolean asDirectory, FileStatus& fileStatus)
  at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext()
  at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
  at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
  at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd[TArg](TKey key, Func`3 valueFactory, TArg factoryArgument)
  at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
  at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(BaseItem item, Boolean includeDirectories, IDirectoryService directoryService)
  at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IDirectoryService directoryService)
  at MediaBrowser.Providers.Manager.ItemImageProvider.<>c__DisplayClass7_0.<ValidateImages>b__0(ILocalImageProvider i)
  at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
  at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable`1 providers, ImageRefreshOptions refreshOptions)
  at MediaBrowser.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)


Some details:
  • I'm running latest stable (10.10.6)
  • Installed using the DMG
  • Already tried removing everything (configs and all) and doing a fresh install (because my original old install stopped working)
  • Tried with 10.10.5 and 10.10.4 with no success (since those were working when I did the setup fresh from scratch)
  • Jellyfin does have "Files & Folders: Removable Volumes" enabled on Settings > Privacy & Security.
  • From Finder I can copy/delete/play any files on the mounted volume, so I can access it freely and do as I please.


Any help would be greatly appreciated. I think it may be some sort of permission error but I honestly don't know.


RE: Jellyfin MacOS can't read mounted drive - gnattu - 2025-02-18

> Jellyfin does have "Files & Folders: Removable Volumes" enabled on Settings > Privacy & Security.

This is probably not enough as that one could be given to your old server binary and Jellyfin was not designed to work with per-folder access control that is not unix permissions based. You can try go to full disk access, add the jellyfin app, restart jellyfin and try again.


RE: Jellyfin MacOS can't read mounted drive - Dom - 2025-02-18

(2025-02-18, 01:38 AM)gnattu Wrote: > Jellyfin does have "Files & Folders: Removable Volumes" enabled on Settings > Privacy & Security.

This is probably not enough as that one could be given to your old server binary and Jellyfin was not designed to work with per-folder access control that is not unix permissions based. You can try go to full disk access, add the jellyfin app, restart jellyfin and try again.


Thanks for your reply.

Gave "Full Disk Access" permissions to Jellyfin and restarted the app, same behavior.
Restarted the machine even, same behavior as before.


RE: Jellyfin MacOS can't read mounted drive - gnattu - 2025-02-18

That exception is due to an unknown io error returned from the system when the server trying to access that path. Since you said that that drive was having problems before, I would *think* there is still problem with that . Have you tried using something else as external to check if jellyfin can read from that? I would assume it can if it is not being prevented by permission/system access control. You said you can access the file in finder, but how was that folder being mounted? It is a bit hard to debug because dotnet hides the raw error number returning from the filesystem.