Plesk

Plesk and its command-line utilities do not work due to missing Plesk packages

Symptoms

Cause

The Plesk installation is corrupted. Plesk Packages and Plesk directories are missing or corrupted. This situation can occur if a Plesk or system package update was interrupted by a system reboot or forced stopping of update-related processes. Package manager logs may indicate that Plesk packages have been removed recently:

Resolution

  1. Connect to the Plesk server via SSH.

  2. Download Plesk Installer:

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

  3. Make the file executable:

    # chmod +x plesk-installer

  4. Start Plesk Installer and install the missing packages:

    # ./plesk-installer

  5. On the Main components list for Plesk page, select Plesk for installation and proceed further.

    Main components list for Plesk
    ========================================

    31 of 55 components selected

    Please select the components of Plesk you want to install:

    1. [*] Plesk
    2. [=] BIND DNS server
    ...

    Note: If Plesk Installer fails with the error " Unknown database 'psa'", restore the psa database according to this KB article first.

  6. On Debian/Ubuntu-based distributions, re-link Plesk installation directory using these commands:

    # unlink /usr/local/psa
    # rm -rf /usr/local/psa
    # ln -s /opt/psa /usr/local/psa

  7. Log in to Plesk.

Exit mobile version