Search Engine: Elastic

Article ID: 125998, created on Jun 20, 2015, last review on Jul 14, 2018

  • Applies to:
  • Plesk Automation 11.5


  1. Moving subscription to another node fails:

        2015-06-17 20:04:41,329] [DEBUG] parallels.move_subscriptions.migrator |copy-hosting/recreate-ftpusers| Exception:
        Traceback (most recent call last):
          File "/usr/lib/python2.7/site-packages/parallels/move_subscriptions/", line 599, in try_subscription
          File "/usr/lib/python2.7/site-packages/parallels/move_subscriptions/", line 695, in recreate_ftpusers
            self._run_plesk_move_subscription_command('recreate-ftpusers', {'subscription-name':, 'target-subscription-ip': subscription.target_ip, 'service-node-ip': subscription.target_servi
          File "/usr/lib/python2.7/site-packages/parallels/move_subscriptions/", line 1261, in _run_plesk_move_subscription_command
            [u"%s/admin/plib/scripts/move_subscription.php" % product_root_d] + args
          File "/usr/lib/python2.7/site-packages/parallels/common/", line 569, in run
            exit_code, stdout, stderr = self.run_unchecked(cmd, args, stdin_content)
          File "/usr/lib/python2.7/site-packages/parallels/common/", line 577, in run_unchecked
            self.ssh, unix_utils.format_command_list(cmd, args), stdin_content=stdin_content
          File "/usr/lib/python2.7/site-packages/parallels/common/utils/", line 49, in format_command_list
            quote(arg) for arg in [cmd] + args
          File "/usr/lib/python2.7/", line 271, in quote
            for c in file:
        TypeError: 'NoneType' object is not iterable


The subscription that is being moved is based on default service template (service template that was installed together with PA). The resources of such service templates are marked as system in database and being skipped by migration tool, causing the conflict - webspace resource type cannot be found.

The behavior is considered as the software issue PMT-1748. The fix will be included in one of the future product updates.


  1. Create backup of original on PA Management Node:

    # cp -p /usr/lib/python2.7/site-packages/parallels/ {,.bak}
  2. Replace the file with the attached one:

    # wget
    # cp -p /usr/lib/python2.7/site-packages/parallels/

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF