Applicable to:
- Plesk for Windows
Symptoms
-
Plesk is not accessible with error 500.
-
The following error is found in
C:\Program Files (x86)\Plesk\admin\logs\php_error.log:PHP Fatal error: require_once(): Failed opening required 'C:\Program Files (x86)\Plesk\admin\plib/vendor/autoload.php' (include_path='C:\Program Files (x86)\Plesk\admin\plib') in C:\Program Files (x86)\Plesk\admin\plib\Loader.php on line 20
'C:\Program Files (x86)\Plesk\admin\plib\cu\admin.php' is not recognized as an internal or external command, operable program or batch file.
-
Running Plesk commands fail with the following error:
C:\Users\Administrator> plesk login -support
'C:\Program Files (x86)\Plesk\admin\plib\cu\admin.php' is not recognized as an internal or external command, operable program or batch file.
at (RunTime::Execute::commandLine line 595)
at Unable to execute CU(wmain line 64)exit status 1Note: Other commands like
plesk bin <script>leads to the same error
Cause
Corrupted Plesk installation / Antivirus software interfering with Plesk functionality.
Resolution
-
Connect to the server via RDP
-
Open Plesk Service Monitor and stop Plesk Management Service
-
Create a copy of your
adminfolder inC:\Program Files (x86)\Pleskinto a different location likeC:\ -
Download
plesk-core.zipfrom https://autoinstall-win.plesk.com/, extract and substitute files under%plesk_dir%admin\plib.Note: As an example, if Plesk is version 18.0.72, the
plesk-core.zipfile is located inhttps://autoinstall-win.plesk.com/PANEL-WIN_18.0.72/dist-windows/ -
Enable back Plesk Management Service from Plesk Service Monitor
To avoid this to happen again, add %plesk_dir% to exceptions on antivirus.
Comments
Please sign in to leave a comment.