Error App: Error creating StrmAssistant.Plugin
*** Error Report ***
Version: 4.8.10.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 6.12.15-orbstack-00304-gd0ddcf70447d (orbstack@builder) (ClangBuiltLinux clang version 19.1.4 (https://github.com/llvm/llvm-project.git
Framework: .NET 6.0.31
OS/Process: arm64/arm64
Runtime: system/System.Private.CoreLib.dll
Processor count: 10
Data path: /config
Application path: /system
SimpleInjector.ActivationException: SimpleInjector.ActivationException: No registration for type Plugin could be found and an implicit registration could not be made. Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
---> Error: no such column: Album - select type,Id,StartDate,EndDate,IsMovie,IsSeries,IsKids,IsSports,IsNews,IsRepeat,IsNew,IsPremiere,IsLive,CommunityRating,CustomRating,IndexNumber,IsLocked,PreferredMetadataLanguage,PreferredMetadataCountryCode,Width,Height,DateLastRefreshed,Name,Path,PremiereDate,Overview,ParentIndexNumber,ProductionYear,OfficialRating,SortName,RunTimeTicks,Size,Container,DateCreated,DateModified,guid,ParentId,IsInMixedFolder,DateLastSaved,LockedFields,OriginalTitle,CriticRating,SeriesName,Album,AlbumId,SeriesId,PresentationUniqueKey,Tagline,ProviderIds,Images,ProductionLocations,TotalBitrate,ExtraType,ExternalId,SeriesPresentationUniqueKey,Status,DisplayOrder,ThreeDFormat,ChannelNumber,RemoteTrailers,SortIndexNumber,SortParentIndexNumber,IndexNumberEnd,IsPublic from MediaItems where Id=15569
SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, ReadOnlySpan`1& tail)
at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql)
at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemByIdInternal(IDatabaseConnection db, Int64 id)
at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemById(Int64 id)
at Emby.Server.Implementations.Library.LibraryManager.GetItemById(Int64 id)
at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at MediaBrowser.Controller.Entities.UserRootFolder.GetItemsInternal(InternalItemsQuery query)
at MediaBrowser.Controller.Entities.Folder.GetItems(InternalItemsQuery query)
at MediaBrowser.Controller.Entities.Folder.GetChildren(InternalItemsQuery query)
at Emby.Server.Implementations.Library.LibraryManager.GetVirtualFolders(User user, Boolean includeRefreshState)
at Emby.Server.Implementations.Library.LibraryManager.GetVirtualFolders()
at StrmAssistant.Common.LibraryApi.UpdateLibraryPathsInScope(String currentScope)
at StrmAssistant.Common.LibraryApi..ctor(ILibraryManager libraryManager, IFileSystem fileSystem, IMediaMountManager mediaMountManager, IProviderManager providerManager, IUserManager userManager)
at StrmAssistant.Plugin..ctor(IApplicationHost applicationHost, IApplicationPaths applicationPaths, ILogManager logManager, IFileSystem fileSystem, ILibraryManager libraryManager, ISessionManager sessionManager, IItemRepository itemRepository, INotificationManager notificationManager, ILibraryMonitor libraryMonitor, IMediaSourceManager mediaSourceManager, IMediaMountManager mediaMountManager, IProviderManager providerManager, IMediaProbeManager mediaProbeManager, ILocalizationManager localizationManager, IUserManager userManager, IUserDataManager userDataManager, IFfmpegManager ffmpegManager, IMediaEncoder mediaEncoder, IJsonSerializer jsonSerializer, IHttpClient httpClient, IServerApplicationHost serverApplicationHost, IServerConfigurationManager configurationManager, ITaskManager taskManager)
at lambda_method52(Closure )
at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
at SimpleInjector.InstanceProducer.GetInstance()
--- End of inner exception stack trace ---
at SimpleInjector.InstanceProducer.GetInstance()
at SimpleInjector.Container.GetInstanceFromProducer(InstanceProducer instanceProducer, Type serviceType)
at SimpleInjector.Container.GetInstanceForRootType(Type serviceType)
at SimpleInjector.Container.GetInstance(Type serviceType)
at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Tuple`2 typeInfo)
Source: SimpleInjector
TargetSite: System.Object GetInstance()
InnerException: SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
Source: SQLitePCL.pretty
TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.ReadOnlySpan`1[System.Byte] ByRef)
at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, ReadOnlySpan`1& tail)
at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql)
at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemByIdInternal(IDatabaseConnection db, Int64 id)
at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemById(Int64 id)
at Emby.Server.Implementations.Library.LibraryManager.GetItemById(Int64 id)
at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at MediaBrowser.Controller.Entities.UserRootFolder.GetItemsInternal(InternalItemsQuery query)
at MediaBrowser.Controller.Entities.Folder.GetItems(InternalItemsQuery query)
at MediaBrowser.Controller.Entities.Folder.GetChildren(InternalItemsQuery query)
at Emby.Server.Implementations.Library.LibraryManager.GetVirtualFolders(User user, Boolean includeRefreshState)
at Emby.Server.Implementations.Library.LibraryManager.GetVirtualFolders()
at StrmAssistant.Common.LibraryApi.UpdateLibraryPathsInScope(String currentScope)
at StrmAssistant.Common.LibraryApi..ctor(ILibraryManager libraryManager, IFileSystem fileSystem, IMediaMountManager mediaMountManager, IProviderManager providerManager, IUserManager userManager)
at StrmAssistant.Plugin..ctor(IApplicationHost applicationHost, IApplicationPaths applicationPaths, ILogManager logManager, IFileSystem fileSystem, ILibraryManager libraryManager, ISessionManager sessionManager, IItemRepository itemRepository, INotificationManager notificationManager, ILibraryMonitor libraryMonitor, IMediaSourceManager mediaSourceManager, IMediaMountManager mediaMountManager, IProviderManager providerManager, IMediaProbeManager mediaProbeManager, ILocalizationManager localizationManager, IUserManager userManager, IUserDataManager userDataManager, IFfmpegManager ffmpegManager, IMediaEncoder mediaEncoder, IJsonSerializer jsonSerializer, IHttpClient httpClient, IServerApplicationHost serverApplicationHost, IServerConfigurationManager configurationManager, ITaskManager taskManager)
at lambda_method52(Closure )
at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
at SimpleInjector.InstanceProducer.GetInstance()
提交检查
描述 bug
docker-compose部署alist+emby,alist启动运行正常,元数据正常,emby启动报错。
完整错误可查看附件
error.log
重现步骤
No response
预期行为
No response
截图
No response
日志
设备 (请填写以下信息)
Mac
其他信息
环境:MacOS M4 + OrbStack