Article ID: 124420, created on Feb 8, 2015, last review on Feb 8, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Moving subscription between service nodes fails with following errors:

[INFO]  move/copy-hosting/recreate-mail| Execute for subscriptions: 'example.com'
[ERROR]  move/copy-hosting/recreate-mail| Failed to perform an action on subscription 'example.com'. Exception message: format_command() argument after ** must be a mapping, not list
[INFO]  move/copy-hosting/recreate-mail| FINISH: recreate mail objects on target node
[ERROR]  move/copy-hosting|
[ERROR]  move/copy-hosting| All subscriptions are failed to migrate, stopping.
[ERROR]  move|
[ERROR]  move| All subscriptions are failed to migrate, stopping.
[INFO]  |
[INFO]  | ******************** Summary ********************
[INFO]  | Operation finished successfully for 0 out of 1 subscriptions

or

[ERROR]  change-subscription-ip/change-subscription-mail-ip| Failed to perform an action on subscription 'example.com'. Exception message: The command "/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/move_subscription.php --change-subscription-mail-ip -target-service-node-ip 192.0.2.2 -subscription-name example.com -source-service-node-ip 192.0.2.3" executed at PPA management node returned a non-zero exit code.

============================================================================
Stderr:
Resource with UID '' not found.

Cause

The behavior was considered as internal software issue with PMT-765 and will be fixed in future PPA updates.

The fix is considered to be included in one of the next PPA updates.

Please use provided ID to track maintenance in PPA release notes.

Subscribe to our knowledge base - each product update comes with corresponding KB article:

https://kb.parallels.com/rss/index.html

Resolution

To complete migration you can apply following workaround:

  1. Enable debug log in /usr/local/psa/admin/conf/panel.ini on Management node according to the article.

  2. Locate problem resource by analysis SQL queries. For example:

    2015-01-27T17:10:29+11:00 DEBUG (7)  [panel]: Update service node information in APS database for APS instance '0': forwarding to 'test@gmail.com' of 'example.com' (site id=35)
    2015-01-27T17:10:29+11:00 DEBUG (7)  [dbquery]: [87] SQL: SELECT `smb_apsInstances`.* FROM `smb_apsInstances` AS `smb_apsInstances` WHERE (((`smb_apsInstances`.`id` = 0)))
    2015-01-27T17:10:29+11:00 DEBUG (7)  [dbquery]: [87] END: 0.00042581558227539 sec
    Resource with UID '' not found.
    
  3. Check forwarding settings for mailboxes of domain example.com.

  4. Find mailbox where is forwarding contains test@gmail.com destination address and enable it.

  5. Rerun migration.

Search Words

Resource with UID '' not found

change-subscription-ip/change-subscription-mail-ip failed

The command "/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/move_subscription.php executed at PPA management node returned a non-zero exit code.

migration failed

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF