Article ID: 6168, created on Mar 19, 2009, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.x for Linux/Unix
  • Plesk 8.6 for Linux/Unix
  • Plesk 8.4 for Linux/Unix


I cannot install an application from the vault {Domains -> <domain name> -> Web Applications}. The following error is shown:

ERROR: PleskFatalException     
Create ShortcutCreate Shortcut
Up LevelUp Level
Method "cSiteApp::getMetadataReader" is not available for this type of package

0: /usr/local/psa/admin/plib/SiteApps/class.cSiteApp.php:565
1: /usr/local/psa/admin/plib/SiteApps/FusionSiteAppManager.php:461
    FusionSiteAppManager->prepareScriptEnvVars(object of type SiteApp, array, array, array, array)
2: /usr/local/psa/admin/plib/SiteApps/FusionSiteAppManager.php:691
    FusionSiteAppManager->uninstallSiteApp(object of type SiteApp, boolean false, boolean true)
3: /usr/local/psa/admin/plib/SiteApps/FusionSiteAppPackageManager.php:207
    FusionSiteAppPackageManager->installSiteApp(object of type APSClientApplicationItem, string 'domain', integer '413', array, array, array, array, boolean false, array)
4: /usr/local/psa/admin/htdocs/siteapp/fusion_siteapp_install.php:501

How to resolve the problem?


The problem has been fixed in Parallels Plesk Panel since version 8.6.0.

Hotfix for Parallels Plesk Panel 8.4.0 is in the attachment. To install it you should download the archive and unpack it with unzip. Replace existent file FusionSiteAppManager.php with one you have found. Backup old file just in case.Location of the file is /usr/local/psa/admin/plib/SiteApps/FusionSiteAppManager.php for RedHat family and /opt/psa/admin/plib/SiteApps/FusionSiteAppManager.php for Debian family.

Please remember to correct ownership and permissions. It should be root:psaadm, 644.

You may correct permissions with commands chown and chmod. For example:

~# chown root:psaadm /usr/local/psa/admin/plib/SiteApps/FusionSiteAppManager.php
~# chmod 644 /usr/local/psa/admin/plib/SiteApps/FusionSiteAppManager.php

If the error occurred in Parallels Plesk Panel 8.6.0 or 9.x it may be caused by incorrect permissions on directory HTTPD_VHOSTS_D/domain.tld/vault_scripts or 'umask' setting for 'init' process.
The problem is that Apache cannot read file HTTPD_VHOSTS_D/domain.tld/vault_scripts/<application_name>/meta/APP-META.xml and the installation failed with the error.

Verify the directory has correct permissions. It should be owned by root:psacln, have permissions 755. For example:

~# ls -ld /var/www/vhosts/domain.tld/vault_scripts
drwxr-xr-x 3 root psacln 4096 Aug  4 10:07 /var/www/vhosts/domain.tld/vault_scripts

You may correct permissions with commands:

~# chown root:psacln /var/www/vhosts/domain.tld/vault_scripts
~# chmod 755 /var/www/vhosts/domain.tld/vault_scripts

You may check  'umask' setting for 'init' process with:

~# cat /etc/sysconfig/init | grep ^umask
umask 027

The 'UMASK' is the default permission setting that is applied to your files and directories when they are created. Such setting affects permissions of files created for site application's installation and Apache web-server cannot access those files. To fix the problem you should change 'umask' to '022' and reboot the server to propagate changes (since 'init' process starts only once on server boot).


9fa0130c84cac4b292697ade62270a40 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 b8ef5052d936e902043e41759118114e 8cdcdbe6d0575b72ff6ede43517e46d0 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF