• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Error: Installation of Joomla failed. Unable to extract archive to opt/psa/var/apspackages

24*7

New Pleskian
Hello Community

I can not install any application from plesk 12 panel. For every application I get following error -

"Error: Installation of Joomla failed. Unable to extract archive to opt/psa/var/apspackages"

I am on dedicated and os is ubuntu 14...

Can someone point me to the right direction what could be causing this error and what is the fix for this...?

Thanks in advance....
 
Last edited:
First of all make sure that you have enough free disk space there and enough inodes.
 
Hi IgorG
Thanks for your reply. There is no issue of free disk space since I can easily install app manually. I am getting above error when installing through inbuilt application installer.
Please advise....
 
Maybe there is incorrect permissions for /opt/psa/var/apspackages ?
 
Thanks for your quick reply...This may be the reason but can you tell me what is the correct permissions for this folder....?

This is the result of ls -ld

drwxr-xr-x 8 psaadm psaadm 4096 Feb 25 15:10 /opt/psa/var/apspackages
 
Last edited:
For example on my test server I see:

# stat /usr/local/psa/var/apspackages
File: `/usr/local/psa/var/apspackages'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 24h/36d Inode: 70793230 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 498/ psaadm) Gid: ( 500/ psaadm)
 
This is what I see....

File: ‘/usr/local/psa/var/apspackages’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 802h/2050d Inode: 27789505 Links: 8
Access: (0755/drwxr-xr-x) Uid: ( 999/ psaadm) Gid: ( 1001/ psaadm)
Access: 2015-02-25 15:29:07.329676443 +0100
Modify: 2015-02-25 15:10:00.074210720 +0100
Change: 2015-02-25 15:10:00.074210720 +0100
Birth: -
 
Hello
I think permission is not an issue since even after changing to 777 recursively it does not work. Can you please point me to some other areas....?
 
Hello,

In your error message "Error: Installation of Joomla failed. Unable to extract archive to opt/psa/var/apspackages" the path starts from "opt" but the path should start with "/". Please check property "PRODUCT_ROOT_D" in config /etc/psa/psa.conf
 
Hello
Thanks for your reply. This is what in config file -

# Plesk tree
PRODUCT_ROOT_D /opt/psa

Please advise....
 
Is the error message "Error: Installation of Joomla failed. Unable to extract archive to opt/psa/var/apspackages" the full message you receive from panel? There is no such message in panel. A possible one can look like "Unable to extract archive to directory '<path>'". The full message will help me detect the exact cause of the issue.
 
File: ‘/opt/psa/var/apspackages/apscataloggasAs4.zip0417ddb2-5ac1-8c/cache’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 802h/2050d Inode: 27791026 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 999/ psaadm) Gid: ( 1001/ psaadm)
Access: 2015-02-26 08:26:52.047116191 +0100
Modify: 2015-02-25 14:32:53.058658358 +0100
Change: 2015-02-26 08:26:52.047116191 +0100
Birth: -
 
Try to clear APS packages cache: Tools&Settings > Application Vault > Clear cache
And then try to install the app again
 
error : Cold not resolve host....

Code:
[26-Feb-2015 14:20:17 Europe/Berlin] Exception: PHP Warning: ZipArchive::extractTo(/opt/psa/var/apspackages/apscataloga2Q0IN$

file: /opt/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'ZipArchive::ext...', '/opt/psa/admin/...', 146, Array)
#1 /opt/psa/admin/plib/ZipArchiveWrapper.php(146): ZipArchive->extractTo('/opt/psa/var/ap...')
#2 /opt/psa/admin/plib/CommonPanel/Aps/Cache/Content.php(129): ZipArchiveWrapper->ExtractAllTo('/opt/psa/var/ap...')
#3 /opt/psa/admin/plib/Apspp/Backend/UrlMapping.php(15): CommonPanel_Aps_Cache_Content->extractAll()
#4 /opt/psa/admin/plib/Apspp/Backend/Adapter.php(316): Apspp_Backend_UrlMapping::getInstalledFiles(Object(Os_Unix), Object(C$
#5 /opt/psa/admin/plib/Apspp/Backend/Adapter.php(202): Apspp_Backend_Adapter->_removeContent(Object(Smb_Plesk_Bridge_Hosting$
#6 /opt/psa/admin/plib/Apspp/Hosting/Resource/Environment/Site.php(198): Apspp_Backend_Adapter->unprovision(Object(Webspace)$
#7 [internal function]: Apspp_Hosting_Resource_Environment_Site->unprovision(Object(stdClass))
#8 /usr/share/aps_php/aps_php.php(7221): aps_provision_applicationresource_unprovisionforcibly(Resource id #93)
#9 /opt/psa/admin/plib/CommonPanel/Aps/ServiceCreationHelper.php(335): APS_Provision_ApplicationResource->unprovisionForcibl$
#10 /opt/psa/admin/plib/Smb/Form/Final/Aps/Install.php(313): CommonPanel_Aps_ServiceCreationHelper->installService()
#11 /opt/psa/admin/application/smb/controllers/AppController.php(311): Smb_Form_Final_Aps_Install->processForm()
#12 /opt/psa/admin/application/smb/controllers/AppController.php(243): Smb_AppController->_processInstall(Object(Smb_Form_Fi$
#13 /opt/psa/admin/externals/Zend/Controller/Action.php(516): Smb_AppController->installAction()
#14 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('installAction')
#15 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Contr$
#16 /opt/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#17 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#18 {main}

[2015-02-26 14:20:17] ERR [panel] Installation of WordPress at http://mysite.com/wordpress failed. Unable to extract arc$
[2015-02-27 06:25:20] ERR [panel] Unable fetch package WordPress 4.1.1 81 updates from catalog marketplace: Could not resolv$
[2015-02-27 06:25:20] ERR [panel] Unable fetch package WordPress 4.1.1 81 updates from catalog apscatalog: Could not resolve$
[2015-02-27 06:25:20] ERR [panel] Task failed: id=10, pid=10478, type=aps-cache, error=Could not resolve host: catalog.marke$
[2015-02-27 06:55:38] ERR [panel] APS Catalog error: Could not resolve host: catalog.marketplace.parallels.com
[2015-02-27 06:55:38] ERR [panel] APS Catalog error: Could not resolve host: catalog.marketplace.parallels.com
[2015-02-27 06:55:38] ERR [panel] APS Catalog error: Could not resolve host: catalog.marketplace.parallels.com
[2015-02-27 06:55:38] ERR [panel] APS Catalog error: Could not resolve host: catalog.marketplace.parallels.com
 
The most interesting warning here:
[26-Feb-2015 14:20:17 Europe/Berlin] Exception: PHP Warning: ZipArchive::extractTo(/opt/psa/var/apspackages/apscataloga2Q0IN$

But it was cut for some reason. What is the full message?
 
Code:
[26-Feb-2015 14:20:17 Europe/Berlin] Exception: PHP Warning: ZipArchive::extractTo(/opt/psa/var/apspackages/apscataloga2Q0IN.zip0b6fc74b-6c29-63/cache/.): f$

file: /opt/psa/admin/plib/Smb/Exception/Syntax.php
 
Back
Top