• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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