nanohits 18 Posted June 21, 2021 Posted June 21, 2021 Hi, I am getting the following error after restarting Emby with the latest update , Scan media library failed 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.GetUserDataKeyId(String userDataKey, IStatement insertUserDataKeyStatement, IStatement getUserDataKeyStatement) at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTranscation(IDatabaseConnection db, List1 tuples) at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List1 items, Action1 afterSave, CancellationToken cancellationToken) at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List1 items, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.LibraryManager.CreateItems(List1 items, BaseItem parent, CancellationToken cancellationToken) at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService) at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(BaseItem[] children, IDirectoryService directoryService, IProgress1 progress, CancellationToken cancellationToken) at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService) at Emby.Server.Implementations.Library.LibraryManager.PerformLibraryValidation(IProgress1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
nanohits 18 Posted June 21, 2021 Author Posted June 21, 2021 Sorted. A restart of the computer fixed it. 1
deallier 8 Posted June 21, 2021 Posted June 21, 2021 Hi i am getting the same problem if i restart the server it sorts it out but after a day or so it comes back and i cant be restarting the server every few days. any ideas or help would be great thanks
Luke 42085 Posted June 30, 2021 Posted June 30, 2021 On 6/21/2021 at 1:54 PM, deallier said: Hi i am getting the same problem if i restart the server it sorts it out but after a day or so it comes back and i cant be restarting the server every few days. any ideas or help would be great thanks Hi, please try this and let us know if it helps: https://support.emby.media/support/solutions/articles/44002210894-corrupt-database Thanks.
Happy2Play 9783 Posted June 30, 2021 Posted June 30, 2021 On 6/21/2021 at 10:54 AM, deallier said: Hi i am getting the same problem if i restart the server it sorts it out but after a day or so it comes back and i cant be restarting the server every few days. any ideas or help would be great thanks Yes there is a known issue in 4.6.3.0, if you need immediate relief you can install beta 4.7.0.3 and then downgrade when 4.6.4.0 is released. Or wait and do the database lock fix as needed.
ArMaCampFlow 0 Posted September 23, 2022 Posted September 23, 2022 Hello Luke I have the same error and i can enter in your link i get 403 forbidden
Happy2Play 9783 Posted September 23, 2022 Posted September 23, 2022 2 minutes ago, ArMaCampFlow said: Hello Luke I have the same error and i can enter in your link i get 403 forbidden Not sure why you would be getting that error as it is working here. If you're getting "Corrupt: database disk image is malformed" in your server log you will need to reset your database. Steps to Reset Library Database & Load Fresh 1. Shutdown Emby 2. Change to the database location found above containing your database files 3. Rename library.db to library.corrupt 4. Restart Emby 5. Run a Full Library Scan If you are getting something different, we will need to see the server log. 1
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