Error code

SQLite SQLITE_IOERR

SQLITESQLITE_IOERR
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

an I/O error occurred on the disk.

How to fix it

  1. Check OS-level disk health with filesystem tools (e.g. fsck or chkdsk).
  2. Verify that the filesystem is mounted correctly and not in a degraded state.
  3. Move the database to a healthy storage device and restore from backup if the file is damaged.

Not affiliated with SQLite. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.