If during the upgrading operation to Plesk 11.5 the database with the
Horde webmail data was not upgraded correctly, you can repair the
database in the following ways:
- Repair the existing database.
- Create a clean database.
- Restore the database from the pre-upgrade backup file.
Repairing the Horde Database
If you want to repair the database and preserve the data in it, try to
repair the existing Horde database.
- Repair the configuration of the existing Horde database:
# /usr/local/psa/bootstrapper/pp$REL_ID-bootstrapper/bootstrapper.sh repair
If this command did not help, then run the following commands:
# /usr/local/psa/admin/sbin/autoinstaller --remove-component horde
# /usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component horde
If this method did not repair the database, re-install the database
according to the instructions below.
Clean Installation of the Horde Database
Note: All the data existing in the database will be deleted. To learn how
to preserve the old data in the new database, see Restoring the
Database from the Pre-Upgrade Backup next in this section.
To re-install Horde and create a clean database, perform the following
steps:
# plesk installer --remove-component horde
# plesk db "drop database horde"
# plesk installer --select-release-current --install-component horde
Restoring the Database from the Pre-Upgrade Backup
To preserve the old data in the new Horde database when you re-install
Horde, restore the data from the backup file that was created
automatically before the upgrading.
# plesk installer --remove-component horde
# plesk db "drop database horde"
# rm -rf /etc/psa-webmail/horde/
- Restore the Horde database from the backup file that was created
before the upgrade. You can find the file in the directory
/var/lib/psa/dumps
. If another directory is used, you can look up
its name in thepsa.conf
file (theDUMP_D
parameter). # plesk installer --select-release-current --install-component horde