Unable to restore site from snapshot: PHP Warning: chgrp(): Operation not permitted

Created:

2016-11-16 12:41:04 UTC

Modified:

2017-08-16 16:18:34 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to restore site from snapshot: PHP Warning: chgrp(): Operation not permitted

Applicable to:

  • Web Presence Builder for Linux
  • Plesk 11.x for Linux

Symptoms

  1. Restoring website from snapshot results an error:

    Unable to connect to Parallels Presence Builder Server. Please contact server administrator
  2. The following output can be found in /usr/local/psa/admin/logs/panel.log :

    [24-Jun-2016 22:59:52 Europe/Moscow] PHP Warning: chgrp(): Operation not permitted; File: /usr/local/sb/include/SB/Helpers/File.php, Line: 48
  3. The following can be found in /var/log/sw-cp-server/error_log :

    [error] 30945#0: *997 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 1.2.3.4, server: , request: "POST /sitebuilder/JsonApi/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock", host: "example.com:8443", referrer: "https://example.com:8443/sitebuilder/Editor"
  4. After reopen of WPB Editor it can be seen that website is restored successfully.

Cause

This is internal software issue PPB-4462 , the fix will be included in the next updates.

Workaround

Modify httpd_owner parameter in /usr/local/sb/config configuration file as follows:

# grep httpd_owner /usr/local/sb/config
httpd_owner = "psaadm:psaadm"
Have more questions? Submit a request
Please sign in to leave a comment.