### Please describe your bug
Since the last two updates, I've been experiencing… issues when updating the library after adding mkv files.
Initially, when adding several new files at the same time, it would only add one to the library, without identifying the media (I had to use the manual identify function). I would then refresh again, and Jellyfin would find the second file. I would then identify it manually and then refresh again to allow it to find the next file.
Now, though, it doesn't find any new file and the scan would fail after a few seconds (see log).
I did not make any changes to the Synology NAS that has been running Jellyfin, nor to the Jellyfin server.
### Reproduction Steps
Scan all Libraries OR Scan individual library
No new media is added to the library
### Jellyfin Version
10.9.0
### if other:
_No response_
### Environment
```markdown
OS: Linux
Virtualization: Docker
Clients: Browser and Android
Browser: Firefox and Chrome
Jellyfin Version: 10.9.5
Playback: Direct Play
Reverse Proxy: none
Storage: local NAS
```
### Jellyfin logs
```shell
[2024-06-07 06:54:50.805 +00:00] [INF] [77] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Everybody Loves Hypnotoad", Path: "", Id: 1ed5db6d-60aa-fc5c-bee3-82310848ef0f
[2024-06-07 06:54:50.806 +00:00] [ERR] [80] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 06:54:51.576 +00:00] [INF] [38] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Comic-Con 2015 Writers Panel", Path: "", Id: e419b73c-1722-74a3-d0b5-b845199610c7
[2024-06-07 06:54:51.578 +00:00] [ERR] [32] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 06:54:51.766 +00:00] [INF] [80] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Unaired Pilot", Path: "", Id: 34837ec8-49b4-b8c2-ae10-a6799cdc2f5a
[2024-06-07 06:54:51.767 +00:00] [ERR] [105] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 06:54:51.848 +00:00] [INF] [105] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Comic-Con 2016 Writers Panel", Path: "", Id: 988af1c0-cd21-423f-0826-da7f82a79f88
[2024-06-07 06:54:51.849 +00:00] [ERR] [105] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 06:54:51.906 +00:00] [INF] [77] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Unraveling the Mystery: A Big Bang Farewell", Path: "", Id: 7e666515-2d7e-338d-6465-2bb8ec95ba98
[2024-06-07 06:54:51.906 +00:00] [ERR] [77] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 06:54:51.965 +00:00] [INF] [84] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "The Breakthrough Season (Documentary)", Path: "", Id: fbc595be-dd9b-c36d-9900-c578168c27e6
[2024-06-07 06:54:51.966 +00:00] [ERR] [84] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 06:54:51.993 +00:00] [INF] [79] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Comic-Con 2015 Writers Panel", Path: "", Id: e419b73c-1722-74a3-d0b5-b845199610c7
[2024-06-07 06:54:51.994 +00:00] [ERR] [79] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 06:54:51.996 +00:00] [ERR] [79] MediaBrowser.Providers.Manager.ProviderManager: Error refreshing item
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass69_0`1.<<RunTasks>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at MediaBrowser.Controller.Entities.Folder.RunTasks[T](Func`3 task, IList`1 children, IProgress`1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.RefreshCollectionFolderChildren(MetadataRefreshOptions options, CollectionFolder collectionFolder, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.RefreshItem(BaseItem item, MetadataRefreshOptions options, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.StartProcessingRefreshQueue()
[2024-06-07 06:54:59.486 +00:00] [ERR] [79] MediaBrowser.Providers.Manager.ProviderManager: Error refreshing item
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveImages(BaseItem item)
at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.RefreshCollectionFolderChildren(MetadataRefreshOptions options, CollectionFolder collectionFolder, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.RefreshItem(BaseItem item, MetadataRefreshOptions options, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.StartProcessingRefreshQueue()
[2024-06-07 06:56:57.542 +00:00] [WRN] [80] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "172.17.0.1" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-06-07 06:56:57.672 +00:00] [INF] [80] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "172.17.0.1" closed
[2024-06-07 07:45:23.151 +00:00] [INF] [60] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "172.17.0.1" request
[2024-06-07 07:45:35.177 +00:00] [ERR] [33] MediaBrowser.Providers.Manager.ProviderManager: Error refreshing item
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveImages(BaseItem item)
at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.RefreshCollectionFolderChildren(MetadataRefreshOptions options, CollectionFolder collectionFolder, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.RefreshItem(BaseItem item, MetadataRefreshOptions options, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.StartProcessingRefreshQueue()
[2024-06-07 07:47:19.808 +00:00] [INF] [31] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2024-06-07 07:47:21.765 +00:00] [INF] [68] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "List Of Celebrity Death Shots", Path: "", Id: 70980bea-a0a7-f00f-0b12-b11f763a1707
[2024-06-07 07:47:21.767 +00:00] [ERR] [68] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:21.821 +00:00] [INF] [61] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Unaired Pilot", Path: "", Id: eb634728-f079-5784-002f-9ea2e525abe2
[2024-06-07 07:47:21.823 +00:00] [ERR] [61] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:21.968 +00:00] [INF] [86] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Chi is Picked Up", Path: "", Id: 0f2c069c-883a-0947-5fa2-4883e65f973b
[2024-06-07 07:47:21.969 +00:00] [ERR] [86] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:21.980 +00:00] [INF] [31] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season 5", Path: "/media/TVShows/The Twilight Zone", Id: 4fb77b5a-2902-1cc1-7ac1-380943a065fa
[2024-06-07 07:47:21.999 +00:00] [INF] [86] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Why-Fi", Path: "", Id: 77cbb3fa-3792-03e2-df9a-9995eee229ec
[2024-06-07 07:47:22.002 +00:00] [ERR] [86] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:22.053 +00:00] [INF] [31] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "The Time Element (Pilot) from Desilu Playhouse", Path: "", Id: 9b913bb4-0f30-2e7c-bd0a-0482c7d8912d
[2024-06-07 07:47:22.055 +00:00] [ERR] [31] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:22.091 +00:00] [INF] [86] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Unaired Pilot", Path: "", Id: 34837ec8-49b4-b8c2-ae10-a6799cdc2f5a
[2024-06-07 07:47:22.092 +00:00] [ERR] [86] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:22.116 +00:00] [INF] [86] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Comic-Con 2015 Writers Panel", Path: "", Id: e419b73c-1722-74a3-d0b5-b845199610c7
[2024-06-07 07:47:22.117 +00:00] [ERR] [86] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:22.334 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Comic-Con 2016 Writers Panel", Path: "", Id: 988af1c0-cd21-423f-0826-da7f82a79f88
[2024-06-07 07:47:22.337 +00:00] [ERR] [71] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:22.394 +00:00] [INF] [73] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Unraveling the Mystery: A Big Bang Farewell", Path: "", Id: 7e666515-2d7e-338d-6465-2bb8ec95ba98
[2024-06-07 07:47:22.395 +00:00] [ERR] [73] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:22.490 +00:00] [INF] [73] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Comic-Con 2015 Writers Panel", Path: "", Id: e419b73c-1722-74a3-d0b5-b845199610c7
[2024-06-07 07:47:22.491 +00:00] [ERR] [73] MediaBrowser.Providers.Manager.ProviderManager: Invoking "RefreshCompleted" event handlers failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.DeleteVirtualItems[T](List`1 existingVirtualItems)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeason(Season season, IReadOnlyList`1 allEpisodesRemote)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.HandleSeries(Series series)
at Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider.OnProviderManagerRefreshComplete(Object sender, GenericEventArgs`1 genericEventArgs)
at MediaBrowser.Providers.Manager.ProviderManager.OnRefreshComplete(BaseItem item)
[2024-06-07 07:47:25.203 +00:00] [ERR] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(SqliteConnection db, String query, Guid value)
at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass69_0`1.<<RunTasks>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at MediaBrowser.Controller.Entities.Folder.RunTasks[T](Func`3 task, IList`1 children, IProgress`1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass69_0`1.<<RunTasks>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at MediaBrowser.Controller.Entities.Folder.RunTasks[T](Func`3 task, IList`1 children, IProgress`1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.AggregateFolder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.PerformLibraryValidation(IProgress`1 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-06-07 07:47:25.239 +00:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Failed after 0 minute(s) and 5 seconds
```
### FFmpeg logs
_No response_
### Please attach any browser or client logs here
_No response_
### Please attach any screenshots here
_No response_
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct