• 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 6: 'database is locked' on Jellyfin 10.9.3 via Docker

     
    • 0 Vote(s) - 0 Average

    SQLite Error 6: 'database is locked' on Jellyfin 10.9.3 via Docker

    SQLite Error 6: 'database is locked' on Jellyfin 10.9.3 via Docker
    nothingveryobvious
    Offline

    Member

    Posts: 112
    Threads: 44
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #1
    2024-05-27, 08:18 PM
    I am posting this thread because it is not exactly the same as this one: https://forum.jellyfin.org/t-library-sca...ling--6086

    I'm on Jellyfin 10.9.3 running on Docker Desktop 4.30.0 on a Mac Mini 2018 running Sonoma 14.5.

    Upon full library scan, scan fails after a few minutes and I get the following error:

    SQLite Error 6: 'database is locked'


    There are a number of GitHub issues with the same or similar problem (SQLiteError 5 or 6):
    - https://github.com/jellyfin/jellyfin/issues/11834
    - https://github.com/jellyfin/jellyfin/issues/11839
    - https://github.com/jellyfin/jellyfin/issues/11728
    - https://github.com/jellyfin/jellyfin/issues/11589 (lots of comments on this one)

    I even tried a fresh install of Jellyfin 10.9.3 and added one library. Same issue.

    I've since had to do a fresh install of 10.8.13. Any suggestions would be appreciated. Thank you.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-27, 09:53 PM
    Which of the suggested setting changes have you tried?

    I've seen both gnattu's suggestion to change the parallel library scan setting and also the trickplay thread setting to 1.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    nothingveryobvious
    Offline

    Member

    Posts: 112
    Threads: 44
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #3
    2024-05-28, 04:26 AM
    @TheDreadPirate

    I changed the parallel library scan to 1 and the result was the same. I don't use trickplay, so there was nothing to change.
    gnattu
    Offline

    Team Member

    Posts: 342
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #4
    2024-05-28, 05:14 AM
    Use a volume instead of a bind mount for docker desktop if are using bind mount.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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