Search Engine: Elastic

Article ID: 126126, created on Jul 9, 2015, last review on Jul 9, 2015

  • Applies to:
  • Plesk Automation


Migration with a key '--allocate-only-required-resources' fails with an error:

└ Subscription ''
    ├ error: Failed to restore hosting settings of subscription with Plesk backup/restore.
    │ Exception: The command "PLESK_MIGRATION_MODE=1 PLESK_DISABLE_PROVISIONING=false PLESK_DISABLE_APSMAIL_PROVISIONING=false PLESK_RESTORE_DO_NOT_CHANGE_APACHE_RESTART_INTERVAL=true  /usr/local/psa/bin/pleskrestore --restore /var/lib/psa/dumps/clients/d131110a/domains/ -ignore-sign -verbose -level domains" executed at PPA management node returned a non-zero exit code.
    │ ============================================================================
    │ Stderr:
    │ pmm utility 'Conflict Resolver' raised an exception. Error code is: 255
    │ See pmmcli.log to find out detailed information on this


Mail hosting were not created for this subscription.


  1. Connect to psa database:

    [root@server ~]# plesk db
  2. Check configured services for domain which failed to migrate:

    mysql> select * from DomainServices where dom_id in (select id from domains where name='');
    | id | dom_id | type | status | parameters_id | ipCollectionId |
    | 86 |     75 | web  |      0 |             0 |             86 |

From the output you can see that there is no mail hosting services is configured for the domain. Most likely because this resource is not used on the source subscription.

In such a case try to migrate without the key --allocate-only-required-resources.

e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF