- Plesk for Linux
Note: This article has the reference to the issue with the fix available:
"If the source server was configured to produce any output in a non-interactive shell
(such as an SSH welcome message), migration failed with an error.
Now Plesk Migrator detects such configurations and shows a comprehensive message,
explaining how to fix the issue."
- Plesk Migrator 2.10.10 20 July 2017 (Linux)
When setting up a new migration in Plesk Migrator at Tools & Settings > Migration & Transfer Manager > Start a New Migration , the following error is shown after clicking Prepare migration :
Failed to perform action: Check connections
Cause: Command execution failed on the source server 'source' (203.0.113.2) with non-zero exit code.
command: cat 'up 7:32, 2 users, load average: 1.05, 1.46, 1.96
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 203.0.113.22 17:31 1:23m 0.17s 0.17s -bash
root pts/1 203.0.113.222 18:50 3:37 0.14s 0.14s -bash
exit code: 1
That is a critical error, migration was stopped.
The welcome message is set up on a source server. It is a bug PMT-3823 . It is planned to be fixed in one of the next updates of the Plesk Migrator extension.
As a workaround, disable the welcome message on the source server. It can be enabled in the different files:
Check the specified files if they contain some commands or scripts to launch at user login and comment the corresponding lines.