• 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

Issue Non-zero exit status returned by script. Output stream: 'Unable to get package content'.

Amar

New Pleskian
Hi,

I am trying to change the customer password in plesk, but getting the error as below :

Non-zero exit status returned by script. Output stream: 'Unable to get package content'. Error stream: 'Unable to get package content'.

1. Checked in Php_Error.log but its only showing the above text
2. This customer is having one subscription and in that subscription it have 5 domains, 3 are using wordpress, checked this wordpress sites as well, they are working fine.Z

Kindly suggest how to fix it
 
Hi Amar,

if your "panel.log" documents as well
stdout: Unable to write file /var/www/vhosts/test.tld/httpdocs/wordpress/wp-config.php
pls. solve your issue with the help of the following KB - article:



If this doesn't solve your issue, pls. include your "panel.log" for further investigations:


Sometimes, it is as well a good idea to change the log - level ( TEMPORARILY! ), to get more informations in Plesk - log - files:

 
After enabling the debug logs i got the below info :

[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [panel]: Environment: Array
(
[BASE_URL_HOST] => test.co
[BASE_URL_PATH] => mediawiki/
[BASE_URL_PORT] =>
[BASE_URL_SCHEME] => http
[DB_main_HOST] => 10.x.x.x
[DB_main_LOGIN] => mediawiki_9
[DB_main_NAME] => mediawiki_1
[DB_main_PASSWORD] => N_9kMt3Iy2
[DB_main_PORT] => 3306
[DB_main_TYPE] => mysql
[DB_main_VERSION] => 5.6.16
[PERL_VERSION] => v5.10.1 built for MSWin32-x86-multi-thread
[PHP_VERSION] => 5.2.17
[SERVICE_ID] => instance
[SETTINGS_admin_email] => [email protected]
[SETTINGS_admin_name] => Admin
[SETTINGS_admin_password] => arE%p908
[SETTINGS_locale] => en-US
[WEB___DIR] => D:\vhosts\test.co\httpdocs\mediawiki\
[WEB__tmp_DIR] => D:\vhosts\test.co\httpdocs\mediawiki\tmp
)

[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [92] SQL: SELECT * FROM (SELECT TOP 1 * FROM (SELECT TOP 1 .* FROM [ServiceNodes] AS
INNER JOIN [IP_Addresses] AS [ip] ON ip.serviceNodeId = s.id
INNER JOIN [IpAddressesCollections] AS [ipc] ON ipc.ipAddressId = ip.id
INNER JOIN [DomainServices] AS [ds] ON ipc.ipCollectionId = ds.ipCollectionId AND "web" = ds.type
INNER JOIN [domains] AS [d] ON (d.id = ds.dom_id AND d.webspace_id = 0) or (d.webspace_id = ds.dom_id AND d.webspace_id != 0) WHERE (d.id = 2067)) AS inner_tbl) AS outer_tbl
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [92] END: 0.0016889572143555 sec
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [panel]: Apspp_Backend_Adapter::executeCode configure with arguments: Array
(
[0] => configure
)

[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [93] SQL: SELECT [smb_apsPackages].* FROM [smb_apsPackages] AS [smb_apsPackages] WHERE ([registryUid] = 'a4f227f5-a0f6-4cfe-aa34-976e4bb8bca7')
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [93] END: 0.001370906829834 sec
[01-Aug-2017 10:13:11 Europe/London] ERR (3) [panel]: Script execution failed: Unable to get package content
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [94] SQL: exec sp_columns @table_name = [smb_apsInstanceErrors]
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [94] END: 0.0034139156341553 sec
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [95] SQL: exec sp_pkeys @table_name = [smb_apsInstanceErrors]
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [95] END: 0.0038838386535645 sec
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [96] SQL: INSERT INTO [smb_apsInstanceErrors] ([instanceId], [creationDate], [text]) VALUES (?, ?, ?)
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [96] BOUND PARAMETERS:
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [96] PARAM 1: 1374
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [96] PARAM 2: 2017-08-01T10:13:11+01:00
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [96] PARAM 3: Non-zero exit status returned by script. Output stream: 'Unable to get package content'. Error stream: 'Unable to get package content'.
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [96] END: 0.0017619132995605 sec
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [97] SQL: SELECT SCOPE_IDENTITY()
[01-Aug-2017 10:13:11 Europe/London] DEBUG (7) [dbquery]: [97] END: 0.0010290145874023 sec

----------------------------------------
Executing SELECT [smb_apsPackages].* FROM [smb_apsPackages] AS [smb_apsPackages] WHERE ([registryUid] = 'a4f227f5-a0f6-4cfe-aa34-976e4bb8bca7')
statement in Database shows blank.

Kindly guide on this, how to fix it
 
Back
Top