Article ID: 123861, created on Dec 10, 2014, last review on Dec 10, 2014

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Task Create the web hosting fails with the error:

Unable to update hosting preferences. hosting update is failed: Unable to archive directory '/var/www/vhosts/.skel/0'

Cause

Incorrect permissions on the virtual host template files:

[root@ppa ~]# ls -la /var/www/vhosts/.skel/0/httpdocs
total 2700
drwxr-xr-x.  6 root root    4096 Dec  3 07:47 .
drwxr-xr-x.  5 root root    4096 Nov 26  2013 ..
drwxr-xr-x.  2 root root    4096 Nov 26  2013 css
-rw-r--r--   1 root root      54 Jul 21 09:55 google.html
drwxr-xr-x   2 root root    4096 Jun 15 23:19 images
drwxr-xr-x.  4 root root    4096 Nov 26  2013 img
-rw-r-----   1 root root 2722026 Dec  3 07:44 importbuddy.php  <<<< NO read permissions for others
-rw-r--r--   1 root root    2970 Jun 15 23:19 index.html
-rw-r--r--.  1 root root     169 Dec 26  2013 index.php
-rw-r--r--   1 root root    2225 Jun 15 23:19 style.css
drwxr-xr-x. 11 root root    4096 Nov 26  2013 test

Resolution

  1. Correct permission for custom files in virtual hosting template:

    [root@ppa ~]# chmod 644 /var/www/vhosts/.skel/0/httpdocs/importbuddy.php
    
  2. Rerun failed task.

Search Words

Unable to update hosting preferences. hosting update is failed: Unable to archive directory '/var/www/vhosts/.skel/0'

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF