Error: SQLite: database disk image is malformed

Description

Upon opening mailspring, the error presents -‘Error: SQLite: database disk image is malformed’
then it will close, reopent after a few seconds, and repeat.

I’ve had this problem on 3 different RHEL7 and Centos 7 installations and given up a few times (in the past 18 months).

To Reproduce…

Steps to reproduce the behavior:

  1. after registering my icloud email account, a gmail account and a bluehost IMAP account, I open mailspring.

Expected Behavior

Open and remain stable.

Screenshots

Screenshot from 2020-03-21 08-41-40
Screenshot from 2020-03-21 08-42-03
Screenshot from 2020-03-21 08-42-59

Setup

  • OS and Version: CentOS Linux release 7.7.1908 (Core)
  • Mailspring Version: 1.7.2