Symptoms
-
Migration on Plesk fails with the error:
PLESK_ERROR: Error message: Command execution failed on the local server with non-zero exit code.
command: rsync -l –chmod=Fug=rw,Dug=rwx,o= –timeout=30 -e ‘ssh -i /root/.ssh/id_rsa -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no’ [email protected]:/root/plesk_migrator/plesk_migrator-hpz3blt3nbs7gh6f9rip5k13jaatku5s/backup.tar /usr/local/psa/var/modules/panel-migrator/sessions/20210608175725/plesk.backup.source.downloaded.dump.tar
exit code: 23
stdout:
stderr: rsync: link_stat “/root/plesk_migrator/plesk_migrator-hpz3blt3nbs7gh6f9rip5k13jaatku5s/backup.tar” failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1651) [Receiver=3.1.2]
rsync: [Receiver] write error: Broken pipe (32) -
A broken task is created on the source server on every attempt to migrate:
# plesk sbin pmmcli –get-tasks-list Backup
error: process ID out of range
…
Cause
The database with tasks is broken.
Resolution
-
Connect to the source server via SSH
-
Rename the database file:
# mv /usr/local/psa/PMM/tasks/tasks.db{,.bak}
-
Restart the migration