• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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