• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Media scan fails at the end in 10.9.x

     
    • 0 Vote(s) - 0 Average

    Media scan fails at the end in 10.9.x

    Happened in 10.9.0 and still in 10.9.2
    Iskelderon
    Offline

    Member

    Posts: 75
    Threads: 19
    Joined: 2024 Feb
    Reputation: 1
    Country:Germany
    #1
    2024-05-18, 03:34 PM (This post was last modified: 2024-05-18, 03:35 PM by Iskelderon. Edited 1 time in total.)
    Whenever I want to do a full scan of my libraries (I use mixed video libraries on a mostly per-country basis), the final step now always is a database error message, but the server continues to run just fine after that. I can see that the task is then marked with a red "(Failed)" and whatever work it wanted to do in that final step, is probably lost when it couldn't access the database correctly.
    Code:
    [2024-05-18 17:23:04.419 +02:00] [INF] [74] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "E:\Video_other\CN"
    [2024-05-18 17:23:04.419 +02:00] [INF] [40] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "E:\Video_other\D"
    [2024-05-18 17:23:04.419 +02:00] [INF] [13] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "E:\Video"
    [2024-05-18 17:23:04.419 +02:00] [INF] [46] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "E:\Video_other\J"
    [2024-05-18 17:23:04.419 +02:00] [INF] [65] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "E:\Video_other\K"
    [2024-05-18 17:23:04.419 +02:00] [INF] [36] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\Audiobooks"
    [2024-05-18 17:23:04.420 +02:00] [INF] [75] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\Video"
    [2024-05-18 17:23:04.420 +02:00] [INF] [55] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\Video_other\D"
    [2024-05-18 17:23:04.420 +02:00] [INF] [31] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "D:\Libation Books\Books"
    [2024-05-18 17:23:04.420 +02:00] [INF] [96] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "G:\Audio"
    [2024-05-18 17:23:04.420 +02:00] [INF] [86] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\Video_other\J"
    [2024-05-18 17:23:04.420 +02:00] [INF] [48] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "G:\Audiobooks"
    [2024-05-18 17:23:04.420 +02:00] [INF] [57] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "G:\Video"
    [2024-05-18 17:23:04.420 +02:00] [INF] [37] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "G:\Video_other\ESP"
    [2024-05-18 17:23:04.420 +02:00] [INF] [21] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "G:\Video_other\D"
    [2024-05-18 17:23:04.420 +02:00] [INF] [41] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "G:\Video_other\NL"
    [2024-05-18 17:23:04.420 +02:00] [ERR] [66] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
      at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
      at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
      at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters)
      at Microsoft.Data.Sqlite.SqliteTransaction..ctor(SqliteConnection connection, IsolationLevel isolationLevel, Boolean deferred)
      at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(IReadOnlyList`1 items, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Library.LibraryManager.CreateItems(IReadOnlyList`1 items, BaseItem parent, 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.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)
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Media scan fails at the end in 10.9.x - by Iskelderon - 2024-05-18, 03:34 PM
    RE: Media scan fails at the end in 10.9.x - by mcgregormx - 2024-05-18, 07:46 PM
    RE: Media scan fails at the end in 10.9.x - by TheDreadPirate - 2024-05-18, 10:49 PM
    RE: Media scan fails at the end in 10.9.x - by Iskelderon - 2024-05-19, 12:42 AM
    RE: Media scan fails at the end in 10.9.x - by TheDreadPirate - 2024-05-19, 01:08 AM
    RE: Media scan fails at the end in 10.9.x - by Iskelderon - 2024-05-19, 01:17 AM
    RE: Media scan fails at the end in 10.9.x - by Iskelderon - 2024-05-19, 09:37 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode