- Plesk 12.5
- Plesk Onyx
- Plesk for Linux
1. Subscription is failed to migrate from cPanel:
PLESK_ERROR: Command execution failed on the local server with non-zero exit code.
command: su example --shell /bin/sh -c '/usr/bin/rsync -e '"'"'ssh -i /var/www/vhosts/examplec.com/plesk-migrator-key -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no'"'"' --archive [email protected]:/home/www/example/html/ /var/www/vhosts/example.com/httpdocs/'
exit code: 23
stderr: rsync: failed to set times on "/var/www/vhosts/example.com/httpdocs/test": Operation not permitted (1)
rsync: recv_generator: mkdir "/var/www/vhosts/example.com/httpdocs/test/1" failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: mkstemp "/var/www/vhosts/example.com/httpdocs/test/2" failed: Permission denied (13)
rsync: mkstemp "/var/www/vhosts/example.com/httpdocs/test/3" failed: Permission denied (13)
2. Incorrect owner is set for
directory instead of system user of the subscription
# ls -l /var/www/vhosts/example.com/httpdocs/
drwxr-xr-x 3 example psacln 17 Nov 23 19:28 test2
drwxr-xr-x 3 root psacln 23 Nov 23 19:28 test
Plesk Migrator bug #PMT-3292 which was fixed in Plesk Onyx 17.5.3.
Update Plesk to the latest version according to the article How to upgrade Plesk to the next release.
- Run the following command:
# chown -R example /var/www/vhosts/example.com/httpdocs/test/