Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
-
Plesk packages were partially removed by mistake using apt-get or yum commands or dist-upgrade
2025-02-20 21:18:53 remove plesk-core:amd64 18.0-v.ubuntu.16.04+p18.0.34.2+t210325.1052 <none> 2025-02-20 21:19:13 remove psa-php-configurator:amd64 1.8.0-v.ubuntu.16.04+p18.0.34.2+t210325.1052 <none> - The Plesk PSA database was also removed as a consequence
Cause
Plesk was removed by dependencies.
Resolution
- Login to the server via SSH
-
Restore the latest valid psa database dump from /var/lib/psa/dumps/:
Note: A dump with name mysql.plesk.core.prerm is created before the removal of Plesk
# zcat /var/lib/psa/dumps/mysql.plesk.core.prerm.xxxxxxx.dump.gz | MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin
-
Download Plesk Installer:
-
Add execution permissions to script:
# chmod +x plesk-installer
-
Launch Plesk Installer with the command below and follow the on-screen instructions selecting all default options:
# ./plesk-installer
-
Scan and repair installation:
# plesk repair installation
Comments
Please sign in to leave a comment.