• 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 SOLVED: SQLite Error 8: 'attempt to write a readonly database'.

     
    • 0 Vote(s) - 0 Average

    SOLVED: SQLite Error 8: 'attempt to write a readonly database'.

    unable to start jellyfin
    curiouscrumb
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    #1
    2024-12-27, 07:55 PM
    I am running Jellyfin through dockge on TrueNAS. After months of trouble-free service my jellyfin server started acting up Sometime on dec 24th.

    Not sure what changed around that time or if something I was doing caused problems.  I've googled around and have read explanations that the title indicates that the database may already be in use, but I only have one instance running on the entire system, and it is installed in a jail.

    Here are some log contents from what I'm seeing.

    jellyfin logfiles as it happened:

    https://pastebin.com/c22FSAnj


     I've since updated my NAS to a newer version and tried to re-install jellyfin in a different dockge instance in case that helped.  it did not. 

    In the dockge terminal today:
    https://pastebin.com/KcrhnHnx






    I do recall seeing Jellyfin saying something about 'migration'  on the 24th when I hadn't done anything to trigger such an action as far as I know. 

    I can access jellyfin config files through the shell, but am unable to start the server or access webui.  I've checked that the wizard flag is false in system.xml.  Other than nuking jellyfin and reinstalling I am all out of ideas.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-27, 09:07 PM (This post was last modified: 2024-12-27, 09:08 PM by TheDreadPirate. Edited 1 time in total.)
    Code:
    System.UnauthorizedAccessException: Access to the path '/config/data/metadata/library/96/966d6e9a18cf6b0b029c36237d1cb513/trickplay' is denied.
    ---> System.IO.IOException: Permission denied

    The user running Jellyfin doesn't have access to some of the /config directory, which can cause many weird issues. Make sure your user owns everything.
    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]
    curiouscrumb
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    #3
    2024-12-27, 11:20 PM
    huh, adding permissions fixed it. I have no idea how I ended up in this state but glad things are back up. thank you for stating the obvious.
    « 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