• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Unable to install Joomla using APS

magnusredkeen

New Pleskian
Trying to install Joomla on Obsidian 18.0.33 using APS.

/usr/local/psa/admin/bin/sappmng returns code 255 with empty stdout and stderr

What possible could be wrong?

[2021-06-07 06:55:34.174] DEBUG [panel] Apspp_Backend_Adapter::executeCode configure with arguments: Array
(
[0] => install
)

[2021-06-07 06:55:34.184] DEBUG [util_exec] [4b8301418a5a70479b78577b903398f4-0] Starting: sappmng --run-application-script --script-file-name=configure --script-name=install --script-language=php --user-name=ftp_000000 --php-cli=/opt/plesk/php/5.4/bin/php --php-ini=/var/www/vhosts/system/test.ru/etc/php.ini --application-full-name=file:////usr/local/psa/var/apspackages/adiICZYhc.zip7d5ad910-d997-dc00-481d/cache, stdin:
[2021-06-07 06:55:34.286] DEBUG [util_exec] [4b8301418a5a70479b78577b903398f4-0] Finished in 0.10216s, Error code: 255, stdout: , stderr:
[2021-06-07 06:55:34.286] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/sappmng' '--run-application-script' '--script-file-name=configure' '--script-name=install' '--script-language=php' '--user-name=ftp_000000' '--php-cli=/opt/plesk/php/5.4/bin/php' '--php-ini=/var/www/vhosts/system/test.ru/etc/php.ini' '--application-full-name=file:////usr/local/psa/var/apspackages/adiICZYhc.zip7d5ad910-d997-dc00-481d/cache'] with exit code [255]
[2021-06-07 06:55:34.287] ERR [panel] PleskUtilException: '/usr/local/psa/admin/bin/sappmng' '--run-application-script' '--script-file-name=configure' '--script-name=install' '--script-language=php' '--user-name=ftp_000000' '--php-cli=/opt/plesk/php/5.4/bin/php' '--php-ini=/var/www/vhosts/system/test.ru/etc/php.ini' '--application-full-name=file:////usr/local/psa/var/apspackages/adiICZYhc.zip7d5ad910-d997-dc00-481d/cache' failed with code 255.

stdout:


stderr:

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 57
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(61): Service_Agent_Transport_Local_Exec->process(integer '0', object of type Service_Agent_Command_Exec, object of type Service_Agent_Transport_LocalTransaction)
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(26): Service_Agent_Transport_Local->_command(integer '0', object of type Service_Agent_Command_Exec, object of type Service_Agent_Transport_LocalTransaction)
#2 /usr/local/psa/admin/plib/Service/Agent.php(125): Service_Agent_Transport_Local->process(string '4b8301418a5a70479b78577b903398f4', array)
#3 /usr/local/psa/admin/plib/Service/Driver/Aps/Unix.php(38): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Service/Driver/Aps/Unix.php(69): Service_Driver_Aps_Unix->runActionScript(string 'run-application-script', array, string '', array, array)
#5 /usr/local/psa/admin/plib/Apspp/Backend/Adapter.php(154): Service_Driver_Aps_Unix->fusionRunActionScript(array, array, array)
#6 /usr/local/psa/admin/plib/Apspp/Hosting/Resource/Environment.php(177): Apspp_Backend_Adapter->executeCode(object of type Apspp_Hosting_Context_Site, object of type Webspace, string 'ffd1f044-89cc-4857-9b5a-86ca6cac215a', string 'php', string 'configure', array, array, boolean false)
#7 (0): Apspp_Hosting_Resource_Environment->executeCode(resource)
#8 /usr/share/aps_php/aps_php.php(6827): aps_provision_applicationresource_provision(resource)
#9 /usr/local/psa/admin/plib/CommonPanel/Aps/ServiceCreationHelper.php(237): APS_Provision_ApplicationResource->provision()
#10 /usr/local/psa/admin/plib/Aps/Catalog/Install/Manager.php(60): CommonPanel_Aps_ServiceCreationHelper->installService()
#11 /usr/local/psa/admin/plib/Aps/Catalog/Install/Task.php(37): Aps_Catalog_Install_Manager->processInstall()
#12 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(232): Aps_Catalog_Install_Task->run()
#13 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(151): Db_Table_Broker_LongTasks->_syncStart(object of type Db_Table_Row_LongTask)
#14 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(110): Db_Table_Broker_LongTasks->_startQueue(object of type Db_Table_Row_LongTask, boolean true)
#15 /usr/local/psa/admin/plib/Task/Async/Executor.php(52): Db_Table_Broker_LongTasks->start(object of type Db_Table_Row_LongTask, string 'synchronously')
#16 /usr/local/psa/admin/plib/scripts/task-async-executor.php(12): Task_Async_Executor->execute()

[2021-06-07 06:55:34.288] DEBUG [panel] Execute: '/usr/local/psa/admin/bin/send-error-report' 'warning'
[2021-06-07 06:55:34.466] ERR [panel] Exception:
[2021-06-07 06:55:34.467] ERR [panel] Script execution failed:
[2021-06-07 06:55:34.472] ERR [panel] CommonPanel_Aps_ServiceCreationHelper::installService Non-zero exit status returned by script.
[2021-06-07 06:55:34.501] DEBUG [panel] Apspp_Hosting_Resource_Environment_Site::urlMapping
[2021-06-07 06:55:34.501] DEBUG [panel] Apspp_Hosting_Resource_Environment::scriptingEngines
[2021-06-07 06:55:34.501] DEBUG [panel] Apspp_Hosting_Resource_Environment::executeCode
[2021-06-07 06:55:34.501] DEBUG [panel] Resource code: APS_Hosting_Code Object
(
[_cPtr] => Resource id #1799
[_pData:protected] => Array
(
)

)
 
Hello,

Please contact Plesk technical support. The log will not reflect enough details for this case. Debug is required.
 
Back
Top