Failed Plesk upgrade: "failed to open stream: No such file or directory"

Created:

2016-11-16 13:10:35 UTC

Modified:

2017-08-16 16:25:30 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Failed Plesk upgrade: "failed to open stream: No such file or directory"

Applicable to:

  • Plesk 11.x for Windows

Symptoms

Upgrading of Parallels Plesk Panel to version 11.5 failed. The following error is shown when enter login and password at https://%plesk_hostname%:8443 :

500 Internal server error

Enabling display_errors in %plesk_dir%\\admin\\php.ini we get:

PHP Warning: include_once(SB\\Application\\Api.php): failed to open stream: No such file or directory
Line: 95
File: D:\\Parallels\\Plesk\\admin\\plib\\Loader.php

Where %plesk_dir% is path to Plesk installation directory (e.g., C:\\Program Files (x86)\\Parallels\\Plesk ).

Cause

Missing files after failed upgrade.

Resolution

There is no required SB\Application\Api.php file under %plesk_dir%\\sb\\include\\ directory

You can receive missing files from msi package from the autoinstaller repository and place it to required directory.

Use details from KB How to restore files from the plesk.msi package to get instructions for extracting files from msi package.

Alternatively you may copy missing files from the other server with the same OS and Plesk version.

Have more questions? Submit a request
Please sign in to leave a comment.