pdulvp / jellyfin-qnap

Jellyfin server packaging for QNAP NAS
https://jellyfin.org
519 stars 33 forks source link

无法刷新媒体库,无法修改媒体库设置 #85

Open 0Lynk opened 6 months ago

0Lynk commented 6 months ago

描述: 由于qnap无法安装两个具有相同命名的软件,所以我从原来另一个作者构建的jellyfin中备份了配置文件,卸载旧的后,将其粘贴到了目前新安装的jellyfin构建中。 一开始它运行有些异常,不能实时更新新增的媒体和nfo文件,但刷新媒体库依然可用。 前几天qnap系统进行了一次更新。 到现在为止无论新的还是旧的文件都已经完全无法更新,刷新媒体库会立刻失败,同时无法修改媒体库的配置。

LOG:

[2024-05-27 13:14:45.090 +08:00] [WRN] [10] Jellyfin.Networking.Manager.NetworkManager: "110.228.235.87": External request received, no matching external bind address found, trying internal addresses. [2024-05-27 13:14:45.094 +08:00] [WRN] [10] Jellyfin.Networking.Manager.NetworkManager: "110.228.235.87": External request received, but no external interface found. Need to route through internal network. [2024-05-27 13:14:47.216 +08:00] [WRN] [3] Jellyfin.Networking.Manager.NetworkManager: "110.228.235.87": External request received, no matching external bind address found, trying internal addresses. [2024-05-27 13:14:47.216 +08:00] [WRN] [3] Jellyfin.Networking.Manager.NetworkManager: "110.228.235.87": External request received, but no external interface found. Need to route through internal network. [2024-05-27 13:14:47.680 +08:00] [INF] [10] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "110.228.235.87" request [2024-05-27 13:15:16.326 +08:00] [WRN] [16] Jellyfin.Networking.Manager.NetworkManager: "110.228.235.87": External request received, no matching external bind address found, trying internal addresses. [2024-05-27 13:15:16.326 +08:00] [WRN] [16] Jellyfin.Networking.Manager.NetworkManager: "110.228.235.87": External request received, but no external interface found. Need to route through internal network. [2024-05-27 13:15:16.908 +08:00] [INF] [27] Emby.Server.Implementations.Library.LibraryManager: Validating media library [2024-05-27 13:15:18.730 +08:00] [WRN] [27] MediaBrowser.Controller.Entities.BaseItem: Library folder "/share/CACHEDEV1_DATA/.qpkg/jellyfin/database/data/playlists" is inaccessible or empty, skipping [2024-05-27 13:15:19.063 +08:00] [ERR] [24] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/share/CACHEDEV1_DATA/.qpkg/Jellyfin/DB/root/default/合集" System.IO.DirectoryNotFoundException: Could not find a part of the path '/share/CACHEDEV1_DATA/.qpkg/Jellyfin/DB/root/default/合集'. at System.IO.Enumeration.FileSystemEnumerator1.Init() at System.IO.Enumeration.FileSystemEnumerable1..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.<>c.b5_0(String p, IFileSystem fileSystem) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument) at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path) at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts) at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations) at MediaBrowser.Controller.Entities.CollectionFolder.GetFileSystemChildren(IDirectoryService directoryService) at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken) [2024-05-27 13:15:19.063 +08:00] [ERR] [27] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/share/CACHEDEV1_DATA/.qpkg/Jellyfin/DB/root/default/电影" System.IO.DirectoryNotFoundException: Could not find a part of the path '/share/CACHEDEV1_DATA/.qpkg/Jellyfin/DB/root/default/电影'. at System.IO.Enumeration.FileSystemEnumerator1.Init() at System.IO.Enumeration.FileSystemEnumerable1..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.<>c.b5_0(String p, IFileSystem fileSystem) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument) at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path) at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts) at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations) at MediaBrowser.Controller.Entities.CollectionFolder.GetFileSystemChildren(IDirectoryService directoryService) at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken) [2024-05-27 13:15:19.377 +08:00] [ERR] [27] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task System.IO.DirectoryNotFoundException: Could not find a part of the path '/share/CACHEDEV1_DATA/.qpkg/Jellyfin/DB/root/default/合集'. at System.IO.Enumeration.FileSystemEnumerator1.Init() at System.IO.Enumeration.FileSystemEnumerable1..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.<>c.b5_0(String p, IFileSystem fileSystem) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument) at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path) at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts) at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations) at MediaBrowser.Controller.Entities.CollectionFolder.RequiresRefresh() at MediaBrowser.Providers.Manager.MetadataService2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken) at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken) at MediaBrowser.Controller.Entities.Folder.RefreshChildMetadata(BaseItem child, MetadataRefreshOptions refreshOptions, Boolean recursive, IProgress1 progress, CancellationToken cancellationToken) at MediaBrowser.Controller.Entities.Folder.<>cDisplayClass69_01.<<RunTasks>b__1>d.MoveNext() --- End of stack trace from previous location --- at MediaBrowser.Controller.Entities.Folder.RunTasks[T](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken) at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken) at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken) at MediaBrowser.Controller.Entities.UserRootFolder.ValidateChildrenInternal(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.LibraryManager.ValidateTopLibraryFolders(CancellationToken cancellationToken, Boolean removeRoot) at Emby.Server.Implementations.Library.LibraryManager.PerformLibraryValidation(IProgress1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) [2024-05-27 13:15:19.379 +08:00] [INF] [27] Emby.Server.Implementations.ScheduledTasks.TaskManager: "扫描媒体库" Failed after 0 minute(s) and 2 seconds