Plesk Repair Utility

The Plesk self-repair functionality enables you to automatically diagnose and resolve issues with Plesk and Plesk services. If you encounter an issue with one of the Plesk services (for example, if mail is not being sent or delivered, or a website fails to open, and so on), or with Plesk itself (for example, if error messages are being displayed in the Plesk interface, or if Plesk pages fail to load), you can use the Plesk repair utility to attempt to resolve it. The utility can be used to check and repair individual aspects of Plesk (such as the mail service, or the Plesk database), or all the aspects at once.

To run the Plesk repair utility, log in to the server via SSH (if you are using Plesk for Linux), or RDP (if you are using Plesk for Windows), and run the plesk repair command, specifying the desired aspect and options:

plesk repair ASPECT [OPTION]

The Plesk repair utility can be run in one of the three modes:

One of the following aspects must be specified (click the name of the aspect to see a detailed explanation, aspect-specific options, and usage examples):

Certain operations can provide extended output. To see the extended output, run the following command:

plesk repair ASPECT -v

Whenever the utility detects an issue, it classifies it as either a warning or an error, depending on its severity. After the utility finishes running, it returns an exit code determined by the severity of the detected issues:

You can make the utility return exit code "1" after detecting any issues by running the following command:

plesk repair ASPECT -treat-warnings-as-errors

To get help for the plesk repair utility, run the plesk repair command with the help option:

plesk help repair

To get help for a specific aspect of the utility, run the same command specifying the aspect:

plesk help repair [ASPECT]

For example, the plesk help repair mail command will display help for the mail aspect.

Next in this section:

Plesk Repair Utility: All

Plesk Repair Utility: Mail

Plesk Repair Utility: Web

Plesk Repair Utility: DNS

Plesk Repair Utility: FTP

Plesk Repair Utility: File System

Plesk Repair Utility: Plesk Database

Plesk Repair Utility: MySQL

Plesk Repair Utility: Microsoft SQL Server

Plesk Repair Utility: Installation