• 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 Jellyfin won't start: SQLiteException disk I/O error

     
    • 0 Vote(s) - 0 Average

    Jellyfin won't start: SQLiteException disk I/O error

    cryotek7
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2023 Oct
    Reputation: 0
    #1
    2023-10-22, 04:54 PM
    Hi everyone,
    Ran into an issue with my Jellyfin install. Runs on an LXC container on Proxmox, Jellyfin installed on one ZFS pool, media on another ZFS pool. Restarting the container does not fix issue. There are no issues with hard drive health or disk space. From searching online I read that this error can be caused by many different problems (some mentioned in this bug thread), and have been going around in circles. Any help appreciated.

    [2023-10-22 13:43:58.007 +00:00] [INF] Jellyfin version: "10.8.3"
    [2023-10-22 13:43:58.049 +00:00] [INF] Environment Variables: ["[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_RESTART_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS]", "[JELLYFIN_RESTART_OPT, --restartpath=/usr/lib/jellyfin/restart.sh]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]"]
    [2023-10-22 13:43:58.058 +00:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
    [2023-10-22 13:43:58.060 +00:00] [INF] Operating system: "Linux"
    [2023-10-22 13:43:58.061 +00:00] [INF] Architecture: X64
    [2023-10-22 13:43:58.063 +00:00] [INF] 64-Bit Process: True
    [2023-10-22 13:43:58.063 +00:00] [INF] User Interactive: True
    [2023-10-22 13:43:58.063 +00:00] [INF] Processor count: 2
    [2023-10-22 13:43:58.063 +00:00] [INF] Program data path: "/var/lib/jellyfin"
    [2023-10-22 13:43:58.064 +00:00] [INF] Web resources path: "/usr/lib/jellyfin/bin/jellyfin-web"
    [2023-10-22 13:43:58.064 +00:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
    [2023-10-22 13:43:58.415 +00:00] [INF] Setting cache path: "/var/cache/jellyfin"
    [2023-10-22 13:43:58.450 +00:00] [INF] Loading assemblies
    [2023-10-22 13:43:58.642 +00:00] [INF] Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
    [2023-10-22 13:43:58.643 +00:00] [INF] Defined LAN exclusions : "[]"
    [2023-10-22 13:43:58.644 +00:00] [INF] Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
    [2023-10-22 13:43:58.660 +00:00] [INF] Using bind addresses: "[]"
    [2023-10-22 13:43:58.660 +00:00] [INF] Using bind exclusions: "[]"
    [2023-10-22 13:44:00.749 +00:00] [FTL] Error while starting server.
    IOError: SQLitePCL.pretty.SQLiteException: disk I/O error
      at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
      at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
      at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail)
      at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql)
      at SQLitePCL.pretty.DatabaseConnection.Execute(IDatabaseConnection This, String sql)
      at Emby.Server.Implementations.Data.BaseSqliteRepository.GetConnection(Boolean readOnly)
      at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager)
      at Emby.Server.Implementations.ApplicationHost.InitializeServices()
      at Jellyfin.Server.Program.StartApp(StartupOptions options)
    [2023-10-22 13:44:00.762 +00:00] [INF] Running query planner optimizations in the database... This might take a while
    [2023-10-22 13:44:00.948 +00:00] [INF] Disposing "CoreAppHost"
    [2023-10-22 13:44:00.959 +00:00] [INF] Received a SIGTERM signal, shutting down
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-10-22, 05:02 PM (This post was last modified: 2023-10-22, 05:14 PM by TheDreadPirate. Edited 1 time in total.)
    Make sure that the permissions on the directory containing your database hasn't changed. This is usually caused by jellyfin not being able to read AND write the file.

    Or possibly that the disk is full.
    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]
    « 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