Plesk

Diagnose & Repair tool provides the error when repairing Plesk installation: 500: PleskExpectionDatabase

Symptoms

Cause

During the execution of the plesk repair command with the installation aspect, the tool is checking and fixing multiple issues including the MySQL server. Plesk becomes inaccessible at that moment, so the error appears. 

Such Repair Kit behavior was confirmed as a Plesk extension bug with ID EXTPLESK-3451. The error message can be safely ignored.

Resolution

Until the bug is fixed as a workaround refresh the Tools & Settings > Diagnose & Repair page in a browser and wait for the process to complete.

Alternatively use the CLI solution:

  1. Connect to the server via SSH/RDP.

    Note: Additional step for Plesk for Windows: Start the Command Prompt

  2. To diagnose and troubleshoot issues with Plesk run the command below:

    # plesk repair installation