• 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

Issue MIgration failed with exit code: 30

Amin Ghiasi

New Pleskian
Hello
I tried migrating accounts from DirectAdmin server to Plesk Onyx and got this error:
Code:
Failed to collect information about objects on source server
Cause: Command execution failed on the local server with non-zero exit code.
command: rsync -lr --chmod=Fug=rw,o=,Dug=rwx,o= --timeout=30 -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20180121140853/ssh-keys/id_rsa.x.x.x.x -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' [email protected]:/root/plesk_migrator/plesk_migrator-0adtyxrss8tiw6gww5hi4fjag3cesrkp/agent/output/ /usr/local/psa/var/modules/panel-migrator/sessions/20180121140853/output.directadmin.2018.01.21.14.08.54/
exit code: 30
stdout:
stderr: [Receiver] io timeout after 31 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(195) [Receiver=3.1.1]

That is a critical error, migration was stopped.

Two days ago I started a migration and it fetched the accounts list from DA server but I didn't continue because I tried from a test Plesk server. Now I get that error in both servers (test and production server).
Required changes are done in sshd_config.
Any idea what is making the process go wrong?

Thank you so much
 
I have a similar error trying to migrate from Plesk 12.5 to Plesk 17.8.

Code:
Exception:
Traceback (most recent call last):

File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/actions/content/web/copy_unix_content.py", line 108, in run
preserve_perms=True
File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/migrator_utils.py", line 79, in copy_directory_content_unix
preserve_perms=preserve_perms
File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/migrator_utils.py", line 276, in _copy_directory_content_unix_plain
runner_target.execute_command(cmd, args, ExecutionOptions(umask=000))
File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/runners/base.py", line 125, in execute_command
execution_options.log_output, output_encoding
File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/runners/base.py", line 162, in _check_exit_code
exit_code=exit_code
NonZeroExitCodeException: Command execution failed on the local server with non-zero exit code.
command: /usr/bin/rsync -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20180910161342/target-server/ssh-keys/id_rsa.x.x.x.x -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' --timeout=30 --recursive --links --times --devices --specials --owner --group --perms --exclude=/logs --exclude=/conf --exclude=/statistics --exclude=/bin --exclude=/dev --exclude=/lib --exclude=/lib64 --exclude=/usr --exclude=/libexec --exclude=/etc --exclude=/tmp --exclude=/var [email protected]:/var/www/vhosts/domain.com/ /var/www/vhosts/domain.com/
exit code: 30
stdout:
stderr: rsync: connection unexpectedly closed (101040362453 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [receiver=3.1.2]
rsync: connection unexpectedly closed (25551284 bytes received so far) [generator]
rsync error: timeout in data send/receive (code 30) at io.c(226) [generator=3.1.2]

After retrying 3 times, the migration ends up with error.
Is it possible to be a problem with the --timeout parameter in the rsync command? Can I change somewhere this parameter?

Thank you.
 
Back
Top