• 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'.
    drnickriviera
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #1
    2023-08-22, 12:18 PM (This post was last modified: 2023-08-22, 01:19 PM by drnickriviera. Edited 1 time in total. Edit Reason: Task Manager snip added )
    Hi all. I hope you can help me with this problem. I've been using Jellyfin for a few years now with no issues - but I'm not a power-user by any means. I started having some problems with my database (constant spinning circle for days) after having to move my media after a lightning strike took out a computer. Eventually I decided to start from scratch. I totally removed Jellyfin and its install directories and installed version 10.8.10 using the Windows installer.

    Now HALF OF THE TIME when Jellyfin starts up it immediately crashes. Basically, Jellyfin starts, immediately crashes, click OK, exit Jellyfin from the tray and restart from the icon and it works fine from that point (although I think if you start stop it again you have to go through the same crash/no crash procedure).

    There are no entries in the Jellyfin log but the Windows Event Log shows the following. Does anyone know why this issue is sporadic, more importantly, how to fix it? It's not the end of the world but I'd like to see it go back to working flawlessly. Thanks in advance.

    Application: jellyfin.exe
    CoreCLR Version: 6.0.1623.17311
    .NET Version: 6.0.16
    Description: The process was terminated due to an unhandled exception.
    Exception Info: Microsoft.Data.Sqlite.SqliteException (0x80004005):
    SQLite Error 8: 'attempt to write a readonly database'.
       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.SqliteCommand.ExecuteReader()
       at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
       at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQuery(RelationalCommandParameterObject
    parameterObject)
       at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRaw(DatabaseFacade
    databaseFacade, String sql, IEnumerable`1 parameters)
       at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRaw(DatabaseFacade
    databaseFacade, String sql, Object[] parameters)
       at Jellyfin.Server.Program.StartApp(StartupOptions options)
       at Jellyfin.Server.Program.<Main>(String[] args)


    Attached Files Thumbnail(s)
       
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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