Plesk

Plesk was partially removed by mistake along with psa database

Symptoms

Cause

Plesk was removed by dependencies.

Resolution

  1. Login to the server via SSH

  2. Restore 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

  3. Download Plesk Installer:

    # wget https://autoinstall.plesk.com/plesk-installer

  4. Add execution permissions to script:

    # chmod +x plesk-installer

  5. Launch Plesk Installer with the command below and follow the on-screen instructions selecting all default options:

    # ./plesk-installer

  6. Scan and repair installation:

    # plesk repair installation

Exit mobile version