If you are experiencing Horde webmail issues in cPanel, such as:
It may be due to corrupt or missing Horde database tables. Below are the step-by-step methods to repair, reset, or rebuild the Horde database.
Before repairing, check if the Horde database is available.
Run the following command:
mysql -e "SHOW DATABASES LIKE 'horde';"
If horde appears in the output, proceed to Step 2.
If it does not appear, the database is missing and needs to be rebuilt (Step 4).
If the database exists but Horde is not working, repair it.
mysqlcheck -r horde
If MySQL is running but tables are still corrupted, try:
mysql -e "REPAIR TABLE horde.turba_objects;"
turba_objects is the Horde contacts table, replace it with other tables if needed.
After repairing, restart the cPanel services:
service cpanel restart
If Horde still does not work, restart MySQL:
systemctl restart mysql
If the database is missing or severely corrupted, reset it.
/scripts/fullhordereset
or manually:
mysql -e "DROP DATABASE horde;"
/usr/local/cpanel/bin/update_horde_config --force
service cpanel restart
systemctl restart mysql
This will recreate the Horde database and its tables.
Horde should now work without issues!
| Issue | Fix |
|---|---|
| Database connection error | Run mysqlcheck -r horde |
| Emails not loading | Restart cpanel and mysql |
| Horde database missing | Rebuild with /scripts/fullhordereset |
| Severe corruption | Drop & recreate Horde: DROP DATABASE horde; |
Now Horde Webmail should be fully functional!