• 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 Error That is a critical error, migration was stopped

ismaeldc

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian v18.0.44
When I start a migration from one server to another with the plesk migration tool, it throws me the following error:

Code:
Failed to fetch basic information about resellers, clients and domains data from source servers
Cause: Command execution failed on the local server with non-zero exit code.
command: rsync -r --chmod=Fu=r,Du=rwx,go= --timeout=30 -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20230111115500/ssh-keys/id_rsa.00.00.00.000 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/legacy/extras/plesk_17_0_pmm_shared/ [email protected]:/root/plesk_migrator/plesk_migrator-qx29hxodyyr8w019ohzo9d7rq8p36fup/pmm_agent
exit code: 12
stdout:
stderr: [email protected]: Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=3.2.3]

That is a critical error, migration was stopped.

Source: Plesk Obsidian v18.0.26_build1800200410.18 os_Debian 8.0
Destination: Plesk Obsidian v18.0.44_build1800220530.11 os_Ubuntu 22.04

I check the next article, but doesn´t work for me:


Which may be due?
Thanks
 
Hey,

it seems that it has some issues to create the necessary files.
I guess you have changed the IP to 00.00.00.000 - yes?

What happens if you just try to execute the command it states via SSH?
rsync -r --chmod=Fu=r,Du=rwx,go= --timeout=30 -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20230111115500/ssh-keys/id_rsa.00.00.00.000 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/legacy/extras/plesk_17_0_pmm_shared/ [email protected]:/root/plesk_migrator/plesk_migrator-qx29hxodyyr8w019ohzo9d7rq8p36fup/pmm_agen

There must be some error given?

Best,
Mitti
 
If I run the command indicated in the Plesk error from SSH it displays the following information (In the place where the 00 is shown is the real IP)

Warning: Identity file /usr/local/psa/var/modules/panel-migrator/sessions/20230111115500/ssh-keys/id_rsa.00.00.00.000 not accessible: No such file or directory.

Regards.
 
Finally I have done the migration through ssh keys.

I checked which algorithms the source server supports with: ssh -Q kex
which was:

Code:
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
diffie-hellman-group-exchange-sha1
diffie-hellman-group-exchange-sha256
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
diffie-hellman-group1-sha1
[email protected]

then i generated new key files with ssh-keygen -t ecdsa -b 521 because ecdsa is supported.

now migration works
 
Back
Top