Symptoms
Migration from 18.0.36 to 18.0.36 fails with error about backup.tar file not found:
PLESK_WARN: Failed to create the remote configuration dump on the target server. Not all settings may be migrated.
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 /usr/local/psa/var/modules/panel-migrator/sessions/20210615002022/ssh-keys/id_rsa.10.39.92.21 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no’ [email protected]:/root/plesk_migrator/plesk_migrator-wp696yugjngqe0udgw424xbbpnpobj92/backup.tar /usr/local/psa/var/modules/panel-migrator/sessions/20210615002022/plesk.backup.source.downloaded.dump.tar
exit code: 23
stdout:
stderr: rsync: link_stat “/root/plesk_migrator/plesk_migrator-wp696yugjngqe0udgw424xbbpnpobj92/backup.tar” failed: No such file or directory (2)
Cause
Product issue:
-
#PMT-4957 “Migrating From Plesk Obsidian for Linux 18.0.36 no longer results in the “Failed to create the remote configuration dump on the target server. Not all settings may be migrated.” error during pre-check, which could lead to some settings not being transferred during migration.”
Fixed in:- Plesk Migrator 2.21.1 18 June 2021
Resolution
Please consider updating your server:
Workaround
If update is not possible for some reason you may try the following
workaround
-
Log in to Plesk on the target server
-
Go to **Tools & Settings > Migration & Transfer Manager **
-
Terminate the current Migration
-
Connect to the server via SSH
-
Run the following command:
# sed -i ‘s/vvvvv/v/g’ /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/pmm_agent/hosting_description.py
-
Start a new migration session. There should be no warning during the pre-migration check.