• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Migration error same client

EnriqueR

Regular Pleskian
I am trying to migrate a subscription from a Plesk VPS 12.5.30 to another Plesk VPS 12.5.30, but it gives me error in the migration. I think the problem can come in that a few days ago I did a migration of a subscription that belonged to an X client and today I'm doing another migration from another subscription that belongs to the same client X.

Could it be that it is giving problems because they belong to the same client? It should really belong to the same client in my destination VPS

Warning:

Failed deployment of domain domain.com
Warning:
Execution of /usr/local/psa/admin/plib/api-cli/domain.php --create domain.com -owner parentclient.com -do-not-apply-skeleton -notify false -guid 8e7b9071-03d9-4e0c-9e54-9f53e87b43d2 -creation-date 2013-07-26 -ip x.x.x.x -ignore-nonexistent-options failed with return code 1. Stderr is An error occurred during domain creation: Unable to load object of type PhDomain with id=17: Domain does not exist.
Warning: Restore domain "domain.com"
Execution of /usr/local/psa/admin/plib/api-cli/dns.php --commit-zone domain.com -ignore-nonexistent-options failed with return code 4. Stderr is Requested name is neither domain nor domain alias
 
Code:
Stderr is An error occurred during domain creation: Unable to load object of type PhDomain with id=17: Domain does not exist

Seems it is database inconsistency in destination server.

Try ''plesk repair db"

If the issue still persist refer the KB : https://kb.plesk.com/en/116960
 
The database has invalid data. The command 'plesk repair db' repair correctly. But the problem remains unresolved. Any subscription that I try to migrate causes the same error.

I have also used the steps at https://kb.plesk.com/en/116960 but the ids that appear in the bug are not found in DomainServices table.
 
Last edited:
I have installed Plesk Migrator to test an alternative migration, but an error appear:

Failed to check Plesk API connection to target Plesk server: Failed to execute local command '/bin/sh -c '/usr/local/psa/bin/secret_key --list'': 'utf8' codec can't decode byte 0x93 in position 8: invalid start byte

I have searched this bug in your forum and I have found this link: https://kb.plesk.com/en/130061
I have run: mysql> SELECT * FROM secret_keys where description="For Plesk Migrator extension"\G but return Empty set (0.00 sec)

Do you have any idea what is the migration problem does not leave me from any method?
 
I think I found the problem. The following command '/usr/local/psa/bin/secret_key --list' returns an invalid key with strange characters.

What can I do to fix it?
 
Back
Top