Leap upgrade fails: sqlite3.DatabaseError: database disk image is malformed Print

  • 0

Symptoms

ELevate fails in stage 3 with the following error.

sqlite3.DatabaseError: database disk image is malformed

 

Description

The error occurs when the /var/lib/leapp/leapp.db SQLite database is corrupt. The database must be removed before rerunning the upgrade.

 

Workaround

  1. Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
  2. Delete the leapp.db SQLite database.
    /bin/rm /var/lib/leapp/leapp.db
  3. Restart the upgrade.
    /usr/local/cpanel/scripts/elevate-cpanel --continue

 

Additional resources

leapp fails with `sqlite3.DatabaseError: database disk image is malformed`


Was this answer helpful?
Back

Send Message