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

     
    • 0 Vote(s) - 0 Average

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

    Windows/Jellyfin issue: SQLite Error 8: 'attempt to write a readonly database'.
    pongscript
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:Philippines
    #14
    2025-04-02, 10:31 PM
    I did encounter this, after modifying the library.db using sql lite editor(to remove duplicates). though I created a backup before modifying anything. then when i encounter this error I tried to revert back to original library.db, but still got same error.

    what i found out that the permission on the file was altered somehow. So I go to File Properties->SecurityTab->Advanced
    then change the owner to NETWORK SERVICE, I am running it as a service but if you are running it as a user-startup-app, then you might need to check the order file in the folder to get the correct owner.

    if all else fail, just add "everyone" with all permission(this is generally safe as long as the parent folder is still have proper permission). you still need to inherit the parent folders permission, this will be an additional permission on top for this specific file. but if you could identify the correct user that would be preferrable.

    you might also need to shutdown jellyfin first, or restart it after the modification, I always shutdown jellyfin before I do anything on the files, to ensure I wont get a race event(where jellyfin is trying to do something on the file and I will get an outdated file in the end due to that).
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    SQLite Error 8: 'attempt to write a readonly database'. - by drnickriviera - 2023-08-22, 12:18 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by Venson - 2023-08-22, 12:56 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by drnickriviera - 2023-08-22, 01:02 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by Venson - 2023-08-22, 01:04 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by drnickriviera - 2023-08-22, 01:20 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by Venson - 2023-08-22, 01:24 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by TheDreadPirate - 2023-08-22, 03:17 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by drnickriviera - 2023-08-22, 03:26 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by TheDreadPirate - 2023-08-22, 04:27 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by drnickriviera - 2023-08-22, 04:47 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by drnickriviera - 2023-08-23, 12:26 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by TheDreadPirate - 2023-08-23, 03:33 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by drnickriviera - 2023-08-23, 06:35 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by pongscript - 2025-04-02, 10:31 PM
    RE: SQLite Error 8: 'attempt to write a readonly database'. - by Petrus Vermaak - 2025-04-28, 06:32 AM

    • 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