Symptoms
When accessing the Horde Webmail interface, you are prompted with an error and you are unable to login.
Description
When accessing the Webmail interface for Horde, the interface fails to load with:
SQLSTATE[HY000]: General error: 11 database disk image is malformed
Details have been logged for the administrator.
Workaround
Verify the SQLite database is not corrupted, and if it is, move the current database and rebuild it.
/usr/local/cpanel/3rdparty/bin/sqlite3 /home/$user/.cphorde/horde.sqlite
sqlite> .tables
Error: database disk image is malformed
sqlite> .q
mv /home/$user/.cphorde/horde.sqlite{,.backup.$(date +%Y-%m-%d)}
I want to:
|
How it's done:
|
---|---|
Upgrade tables or create missing tables in the already-existing database for user $user |
The --full flag instructs update_horde_config to perform the full table schema check and upgrade/repair instead of just checking whether the database exists. |
Upgrade tables or create missing tables in the already-existing database for all users on the system |
|
Create missing databases for all users on the system |
|
Create a missing database for user $user |
|
Completely delete and re-create an empty horde database for user $user |
|
Comments
0 comments
Article is closed for comments.