Article ID: 127136, created on Oct 12, 2015, last review on Oct 12, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

  1. Migration of subscription with mail hosting from Expand failed in case of using --allocate-only-required-resources option.

  2. Following error appears in /opt/panel-migrator/logs/panel-migrator.log:

    The migration errors:
    
     └ Client 'jdoe'
        │
        └ Subscription 'domain.tld'
          │
          ├ error: An error occurred, when restoring hosting settings:
          │ Failed deployment of mail user janedoe@domain.tld
          │
          │
          ├ error: An error occurred, when restoring hosting settings:
          │ Execution of /usr/local/psa/admin/plib/api-cli/mail.php --create janedoer@domain.tld -passwd '' -passwd_type sym -mailbox true -mbox_quota -1 -ignore-nonexistent-options failed with return code 1.
          │ Stderr is
          │ An error occured during mailname creation: Your key limits don't allow mailname creation: There are no available resources of this type (mailboxes) left. Requested: 1; available: 0.
    

Cause

Mail hosting is not getting created in Plesk Automation, but mail accounts are tried to be restored.

The behavior was considered as internal software issue with id PMT-2220 and will be fixed in future PA updates.

Resolution

As a workaround you can migrate subscription without using --allocate-only-required-resources. For example:

    # panel-migrator transfer-accounts config.ini

Search Words

Failed to remove disabled mailsystem for subscription

allocate-only-required-resources

Your key limits don't allow mailname creation

There are no available resources of this type (mailboxes) left. Requested: 1; available: 0.

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF