Scan media library a échoué

#1

Bonjour,

J’ai déposé hier un nouveau fichier dans mon dossier Vidéo, j’ai ensuite fait une mise à jour de ma bibliothèque, elle ne s’exécute pas (plusieurs tentatives) j’obtient le message “Scan media library a échoué”

Si je clique sur le petit point d’exclmation, je me retrouve avec ce message

Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc) at SQLitePCL.pretty.StatementImpl.MoveNext() at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItem(BaseItem item, BaseItem topParent, String userDataKey, IStatement saveItemStatement) in /repo/Emby.Server.Implementations/Data/SqliteItemRepository.cs:line 1071 at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTranscation(IDatabaseConnection db, List1 tuples) in /repo/Emby.Server.Implementations/Data/SqliteItemRepository.cs:line 669 at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func2 f, TransactionMode mode) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action1 action, TransactionMode mode) at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List1 items, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.LibraryManager.UpdateItems(List1 items, BaseItem parent, ItemUpdateType updateReason, CancellationToken cancellationToken) in /repo/Emby.Server.Implementations/Library/LibraryManager.cs:line 1910 at Emby.Server.Implementations.Library.LibraryManager.UpdateItem(BaseItem item, BaseItem parent, ItemUpdateType updateReason, CancellationToken cancellationToken) in /repo/Emby.Server.Implementations/Library/LibraryManager.cs:line 1947 at MediaBrowser.Controller.Entities.BaseItem.UpdateToRepository(ItemUpdateType updateReason, CancellationToken cancellationToken) in /repo/MediaBrowser.Controller/Entities/BaseItem.cs:line 2314 at MediaBrowser.Providers.Manager.MetadataService2.SaveItem(MetadataResult1 result, LibraryOptions libraryOptions, ItemUpdateType reason, CancellationToken cancellationToken) in /repo/MediaBrowser.Providers/Manager/MetadataService.cs:line 221 at MediaBrowser.Providers.Manager.MetadataService2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken) in /repo/MediaBrowser.Providers/Manager/MetadataService.cs:line 199 at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken) in /repo/MediaBrowser.Controller/Entities/BaseItem.cs:line 1420 at MediaBrowser.Controller.Entities.Folder.RefreshChildMetadata(BaseItem child, MetadataRefreshOptions refreshOptions, Boolean recursive, IProgress1 progress, CancellationToken cancellationToken) in /repo/MediaBrowser.Controller/Entities/Folder.cs:line 568 at MediaBrowser.Controller.Entities.Folder.RefreshMetadataRecursive(List1 children, MetadataRefreshOptions refreshOptions, Boolean recursive, IProgress1 progress, CancellationToken cancellationToken) in /repo/MediaBrowser.Controller/Entities/Folder.cs:line 535 at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService) in /repo/MediaBrowser.Controller/Entities/Folder.cs:line 505 at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService) in /repo/MediaBrowser.Controller/Entities/Folder.cs:line 346 at MediaBrowser.Controller.Entities.AggregateFolder.ValidateChildrenInternal(IProgress1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService) in /repo/MediaBrowser.Controller/Entities/AggregateFolder.cs:line 178 at Emby.Server.Implementations.Library.LibraryManager.ValidateTopLibraryFolders(CancellationToken cancellationToken) in /repo/Emby.Server.Implementations/Library/LibraryManager.cs:line 1067 at Emby.Server.Implementations.Library.LibraryManager.PerformLibraryValidation(IProgress1 progress, CancellationToken cancellationToken) in /repo/Emby.Server.Implementations/Library/LibraryManager.cs:line 1086 at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress1 progress, CancellationToken cancellationToken) in /repo/Emby.Server.Implementations/Library/LibraryManager.cs:line 1050 at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) in /repo/Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs:line 430

Avez vous eu déjà ce problème ?

Merci

#2

Please keep all posts in English.

I have not seen your error before, it’s something to do with the database, but it does not have a lot of detail.

#3

I am sory, i speak english hardly

I do not understand, I did not change the configuration of the database.

Is it possible to reset the databases without removing the videos ?

By the way, the following command does not execute

sudo docker-compose stop jellyfin

By the way, the following command does not execute