Application autoupdate removes files


2016-11-16 13:03:45 UTC


2017-08-16 18:31:01 UTC


Was this article helpful?

Have more questions?

Submit a request

Application autoupdate removes files

Applicable to:

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


When APS performs automatic update for WordPress next files and folders are removed:

  • wp-load.php
  • wp-settings.php
  • wp-login.php
  • wp-includes/

In addition, WordPress is not updated, in spite of Plesk shows that there are no updates for this application.

Following errors occur:

ERR (3)  [panel]: Application deployment failed: Filesystem error: boost::filesystem::remove: Permission denied: "/var/www/vhosts/"(system:13)/usr/local/psa/var/apspackages/WordPress-3.9-33aaed8498-28fd-f0ed-d/cache/htdocs/wp-content/plugins/akismet/_inc/akismet.css -> /var/www/vhosts/

ERR (3) [util_exec]: proc_close() failed

ERR (3) [panel]: Exception: PHP Warning: fread(): Length parameter must be greater than 0 in /usr/local/psa/var/apspackages/WordPress-3.9-33aaed8498-28fd-f0ed-d/cache/scripts/file-util.php on line 10

PHP Warning: require(/var/www/vhosts/ failed to open stream: No such file or directory in /var/www/vhosts/ on line 18

PHP Fatal error: require(): Failed opening required '/var/www/vhosts/' (include_path='.') in /var/www/vhosts/ on line 18


Since the website is running PHP as Apache module, some plugins and themes installed by WordPress administrator have ownership apache:apache which breaks WordPress update procedure.

Such behaviour has been considered as software issues with IDs #PPPM-331 and #PPPM-1616 . These issues were fixed in Plesk 12 microupdate #44 .


For Plesk 12 apply the latest Plesk microupdates .

Use the following command before update as workaround (replace with required domain name):

for i in `find /var/www/vhosts/ -group apache`; do chown `ll -d /var/www/vhosts/ | awk '{print $3}'`:psacln $i; done

If the website was broken due to failed update, please contact Plesk Technical Support in order to repair WordPress installation.

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