lordvader 2 Posted March 2 Share Posted March 2 Hey, Quite regularly my nfs paths become temporarily unavailble. During these instances, emby decides to clear the library (and then notifies trakt). Is there a way to stop it doing so? I'm running 4.9.0.0 beta in a docker container, on an ubuntu host. Here's a log snippet: 2024-03-02 09:13:06.629 Debug TaskManager: Queueing task RefreshMediaLibraryTask 2024-03-02 09:13:06.629 Debug TaskManager: Executing Scan media library 2024-03-02 09:13:06.654 Error App: Error in validateChildren for 31185 /media/4K ISO (Series) *** Error Report *** Version: 4.9.0.0 Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubunt Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: app/emby/system/System.Private.CoreLib.dll Processor count: 6 Data path: /config Application path: /app/emby/system System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/media/4K ISO (Series)'. 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 System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, EnumerationOptions enumerationOptions) at Emby.Server.Implementations.IO.ManagedFileSystem.EnumerateFileSystemInfos(DirectoryInfo dir, Boolean recursive) at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive, FileSystemCredentials credentials) at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntriesInternal(String path) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache) at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path) at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService) at MediaBrowser.Controller.Entities.Folder.GetNonCachedChildren(IDirectoryService directoryService, LibraryOptions libraryOptions) at MediaBrowser.Controller.Entities.BaseItem.ValidateChildrenInternal(IProgress`1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, BaseItem[] collectionFolders, LibraryOptions libraryOptions, Dictionary`2 newItemIds, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService) at Emby.Server.Implementations.Library.LibraryManager.ValidatePhysicalRoots(IProgress`1 progress, IDirectoryService directoryService, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean) 2024-03-02 09:13:06.684 Info App: Removing item from database, Type: Series, Name: Heroes Reborn, Path: /media/TV Shows/Heroes Reborn, Id: 207364 2024-03-02 09:13:06.720 Info App: Deleting path /config/metadata/library/68/6840075df7af2acb222165131fff46f8 2024-03-02 09:13:06.721 Info App: Deleting path /config/metadata/library/a3/a32af050a8947c21b99ffe5b85b05e35 2024-03-02 09:13:06.721 Info App: Deleting path /config/metadata/library/e5/e518d0e81265fab46b4065e68ab6bb37 2024-03-02 09:13:06.725 Info App: Deleting path /config/metadata/library/6d/6d06fe8c8f295816bd2b0119082c5fed 2024-03-02 09:13:06.726 Info App: Deleting path /config/metadata/library/5c/5c8fe58c1bc7d0a8f69bab2f5cd9d01d 2024-03-02 09:13:06.726 Info App: Deleting path /config/metadata/library/7a/7aefe411e87d5aa48cd53d53732d1345 2024-03-02 09:13:06.727 Info App: Deleting path /config/metadata/library/f1/f1927962cc979cf24fd984fbfb67b01c 2024-03-02 09:13:06.727 Info App: Deleting path /config/metadata/library/98/980433d745b8263caf413d0d191b639e 2024-03-02 09:13:06.727 Info App: Deleting path /config/metadata/library/20/20f0d02844563d986076bde4c2cb63bd ... ... ... 2024-03-02 09:13:57.417 Info Trakt: 0 Episode Deletes to Process 2024-03-02 09:13:57.417 Info Trakt: 0 Episode Adds to Process 2024-03-02 09:13:57.417 Info Trakt: 691 Series Deletes to Process 2024-03-02 09:13:58.520 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove 2024-03-02 09:14:00.652 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove 2024-03-02 09:14:02.239 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove 2024-03-02 09:14:03.816 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove 2024-03-02 09:14:05.332 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove 2024-03-02 09:14:06.944 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove 2024-03-02 09:14:08.812 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove 2024-03-02 09:14:10.453 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove 2024-03-02 09:14:13.116 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove Link to comment Share on other sites More sharing options...
Luke 37094 Posted March 6 Share Posted March 6 Hi there, please attach the complete emby server log file. Thanks. Link to comment Share on other sites More sharing options...
lordvader 2 Posted March 11 Author Share Posted March 11 Here you go embyserver-63844968079.txt Link to comment Share on other sites More sharing options...
Luke 37094 Posted March 16 Share Posted March 16 So to the server it looked likeĀ /media/TV Shows was empty. That's why it cleared everything out. Can the nfs mount configuration be changed so that it throws an error instead? When Emby Server gets an error back, then it won't delete anything. Link to comment Share on other sites More sharing options...
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