mholin 23 Posted May 9, 2021 Posted May 9, 2021 Hi Guys last week I migrated a part of my movie collection from USB based drive letter S: to a NAS drive. after copying all files, I mounted drive letter S: to the proper dir on the NAS. Everything does look fine. emby can access the movies and does a playback as expected. but: after adding new movies to S:, the realtime "recognize new files" feature does not work. After starting manual rescan of library, I see this errors in embyserver.log: 2021-05-09 08:48:20.647 Info Server: http/1.1 Response 200 to ::1. Time: 1362ms. http://localhost:8096/emby/Users/babce17ad7414c179b8b2d2b7fd383ab/Items/7a2175bccb1f1a94152cbd2b2bae8f6d?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=60bd9b88-53e9-4791-b643-29f419ed6811&X-Emby-Client-Version=4.6.0.43 2021-05-09 08:48:23.538 Info Server: http/1.1 POST http://localhost:8096/emby/Items/7a2175bccb1f1a94152cbd2b2bae8f6d/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=60bd9b88-53e9-4791-b643-29f419ed6811&X-Emby-Client-Version=4.6.0.43. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 2021-05-09 08:48:23.558 Info Server: http/1.1 Response 204 to ::1. Time: 21ms. http://localhost:8096/emby/Items/7a2175bccb1f1a94152cbd2b2bae8f6d/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=60bd9b88-53e9-4791-b643-29f419ed6811&X-Emby-Client-Version=4.6.0.43 2021-05-09 08:48:23.689 Error App: Error validating images for v:\Emby-Server\programdata\root\default\Filme *** Error Report *** Version: 4.6.0.43 Command line: v:\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.19042 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: v:/Emby-Server/system/System.Private.CoreLib.dll Processor count: 32 Data path: v:\Emby-Server\programdata Application path: v:\Emby-Server\system System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path 'S:\emby_filme'. at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator`1.Init() at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options) at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized) at System.IO.Enumeration.FileSystemEnumerableFactory.FileInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized) at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption) at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive) at EmbyServer.Windows.WindowsFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive) at MediaBrowser.LocalMetadata.Images.LocalImageProvider.<GetImages>b__10_0(String i) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToArray() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.OrderedEnumerable`1.ToList() at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, LibraryOptions libraryOptions, IEnumerable`1 paths, Boolean arePathsInMediaFolders, IDirectoryService directoryService) at MediaBrowser.LocalMetadata.Images.CollectionFolderLocalImageProvider.GetImages(BaseItem item, LibraryOptions libraryOptions, IDirectoryService directoryService) at MediaBrowser.Providers.Manager.ItemImageProvider.<>c__DisplayClass5_0.<ValidateImages>b__0(ILocalImageFileProvider i) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList() at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, LibraryOptions libraryOptions, IEnumerable`1 providers, IDirectoryService directoryService) at MediaBrowser.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, LibraryOptions libraryOptions, CancellationToken cancellationToken) Source: System.IO.FileSystem TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean) 2021-05-09 08:48:38.897 Error BaseItem: Error refreshing owned items for S:\emby_filme *** Error Report *** Version: 4.6.0.43 Command line: v:\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.19042 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: v:/Emby-Server/system/System.Private.CoreLib.dll Processor count: 32 Data path: v:\Emby-Server\programdata Application path: v:\Emby-Server\system System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path 'S:\emby_filme'. at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator`1.Init() at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized) at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized) at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive) at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path) at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken) Source: System.IO.FileSystem TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean) I used the "restart server" option, but the problem persists. But after "shutdown server" and restart from windows, everything is ok again, drive S: is crawled, and the new movies are listed. any suggestions? what is the problem with accessing the network drive S:? bye Michael
Luke 42081 Posted May 9, 2021 Posted May 9, 2021 Hi, it looks the server is unable to access your s drive. I would check and see if windows may have disconnected the mapped network drive. That's why we don't suggest using them.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now