• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Reset Plesk to defaults

mavera2

Basic Pleskian
I use CentOS 6.4 and Plesk 11.5.
While I was trying to upgrade Plesk I made some errors and now Plesk doesn't work.
I tried this:
Code:
# /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

But I got these error:

Code:
**** Product repair started.

===> Checking for previous installation ... not found.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

 Trying to start service mysqld... mysqld (pid 4439) is running...
done
 Trying to establish test connection... connected
done
 Trying to find psa database... not found
ERROR 1049 (42000): Unknown database 'psa'
ERROR 1049 (42000): Unknown database 'psa'
 Trying to backup MySQL database... Warning: Not dumping MySQL database 'psa' as it doesn't exist
Warning: Not dumping MySQL database 'horde' as it doesn't exist
Warning: Not dumping MySQL database 'atmail' as it doesn't exist
done
 MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.-11.5.30.20140326-010235.dump.gz
 Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
ERROR 1049 (42000): Unknown database 'psa'
ERROR 1049 (42000): Unknown database 'psa'
===> Preparing Plesk database upgrade (revertable stage).
 Trying to resolve hostname 'host.twitpalas.com' and validate its IP address... done

httpsd: no process killed
ERROR 1049 (42000): Unknown database 'psa'
ERROR 1049 (42000): Unknown database 'psa'

ERROR while trying to disable old_passwords=1 in my.cnf
Check the error reason(see log file: /tmp/plesk_11.5.30_repair.log), fix and try again

*****  problem report *****
ERROR while trying to disable old_passwords=1 in my.cnf
Check the error reason(see log file: /tmp/plesk_11.5.30_repair.log), fix and try again

I couldn't repair Plesk.
How can I repair this, if not how can I revert Plesk to default factory settings ?
 
Last edited:
Hi,

try the following command:

# zcat /var/lib/psa/dumps/mysql.daily.dump.0.gz | mysql -uadmin -p`cat /etc/psa/.psa.shadow`

Then run repair again.
Hope it helps.

No guarantee though!

Regards,
Kristian
 
Back
Top