Jellyfin Forum
SOLVED: Media trying to be scanned in an old location - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: SOLVED: Media trying to be scanned in an old location (/t-solved-media-trying-to-be-scanned-in-an-old-location)



Media trying to be scanned in an old location - Swarfega - 2025-06-11

I temporarily set up a new media share (/cifs_share/music) but after having issues, I removed it. However, the logs suggest it's still trying to scan the media in this location.  It's not listed as a folder in any of my libraries.  Any ideas?


I cut this log down to two items as it repeats this for all artists.

Code:
[2025-06-11 10:29:00.621 +01:00] [ERR] [22] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/cifs_share/music/ArtistName"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/cifs_share/music/ArtistName'.
  at System.IO.Enumeration.FileSystemEnumerator`1.Init()
  at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
  at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
  at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
  at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
[2025-06-11 10:29:00.623 +01:00] [ERR] [22] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/cifs_share/music/ArtistName2"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/cifs_share/music/ArtistName2'.
  at System.IO.Enumeration.FileSystemEnumerator`1.Init()
  at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
  at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
  at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
  at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)



RE: Media trying to be scanned in an old location - Swarfega - 2025-06-11

Sorry, ignore this one. I think I have a fix.