Internal SQL Error

I tried to update from version 1.2.13 to 1.2.18.
When trying to access kanboard by broser, I get this error message:

Internal Error: SQL Error: SQLSTATE[HY000]: General error: 11 database disk image is malformed

Php version on my server is 7.4.

I also tried the manual SQL migration. Migration works without any issue. But use of kanboard still fails with the same error message.