Unable to install application with error: " failed to open stream: No such file or directory "

Created:

2016-11-16 12:59:25 UTC

Modified:

2017-08-16 18:33:27 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to install application with error: " failed to open stream: No such file or directory "

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

Symptoms

An attempt to install application (for example WordPress) fails with the following error:

Error: Installation of WordPress at http://subexample.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: fopen(/var/www/vhosts/example.com/subexample.com/wordpress//wp-config.php): failed to open stream: No such file or directory in /usr/local/psa/var/apspackages/apscatalogHXU4qx.zip396aca46-916c-79/cache/scripts/file-util.php on line 15 '. Error stream: 'PHP Warning: fopen(/var/www/vhosts/example.com/subexample.com/wordpress//wp-config.php): failed to open stream: No such file or directory in /usr/local/psa/var/apspackages/apscatalogHXU4qx.zip396aca46-916c-79/cache/scripts/file-util.php on line 15 '.

Cause

Subscription disk quota exceeded.

Resolution

Go to Subscriptions > example.com > Open in Control Panel > Websites & Domains> Web Hosting Access and increase 'Hard quota on disk space'

NOTE: To diagnose such kind of issues you can use the steps below:

  1. Enable debug logging as described in the article

  2. Check /usr/local/psa/admin/logs/panel.log for errors while application installation attempt.

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