The Plesk repair command is used to automatically diagnose and resolve issues with Plesk. To use the command, login to your Plesk server over SSH and enter the command: plesk repair ASPECT [OPTION]. ASPECT indicates the service to repair while OPTION indicates how the repair should be performed.
ASPECT can have several values such as web, mysql, mail, all etc.
OPTION can have the values: Interactive mode, Diagnostic mode or Repair mode. The default option which is Interactive mode, prompts the user to take action when an issue is found. In Diagnostic mode, the issue is indicated but no action is taken. In Repair mode, the issue is automatically resolved.