• 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 SQLite Error: database is locked

     
    • 0 Vote(s) - 0 Average

    SQLite Error: database is locked

    ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
    pcm
    Offline

    Member

    Posts: 62
    Threads: 4
    Joined: 2024 May
    Reputation: 0
    Country:Uzbekistan
    #4
    2024-06-11, 06:21 PM (This post was last modified: 2024-06-11, 06:31 PM by pcm. Edited 11 times in total.)
    I kept having this *exactly same* issue too. I had (have) this issue on 1.9.2 and 1.9.3 (my current) and I had to change "Parallel library scan tasks limit" to 1 (it's 0 by default, which will set the number of scans to number of cpu-threads your computer can run).
    And that fixed the issue for me because now there is only one thread doing the library scan and writing to library.db file and hence no way to do get into a race condition/deadlock ... Not the most performant solution but got the job done for me. Be aware that your scans will take a lot longer but they'll complete guaranteed.
    You can find 'Parallel library scan tasks limit' config setting under "general" section in your admin-dashboard.
    1
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    SQLite Error: database is locked - by happyvoid - 2024-06-11, 04:52 AM
    RE: SQLite Error: database is locked - by crobibero - 2024-06-11, 09:34 AM
    RE: SQLite Error: database is locked - by happyvoid - 2024-06-11, 11:37 AM
    RE: SQLite Error: database is locked - by pcm - 2024-06-11, 06:21 PM
    RE: SQLite Error: database is locked - by happyvoid - 2024-06-14, 10:30 AM
    RE: SQLite Error: database is locked - by gnattu - 2024-06-14, 04:00 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