• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Site import (ftp-migrator) fails because of denied permission

Kaspar

API expert
Plesk Guru
I'am trying to import a few website using the 'Site Import' function. But I run into this error for every site:

Code:
Failed to copy files of source folder 'D:\<website>/wwwroot' to '/var/www/vhosts/<website>/<website>/wwwroot' on the target server.
Transfer the folder manually to the target server. [Hide details]
Command execution failed on the local server with non-zero exit code.
command: su <user> --shell /bin/sh -c '/usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/ftp-migrator/ftp-migrator --config-file -'
exit code: 126

stdout:
stderr: sh: /usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/ftp-migrator/ftp-migrator: Permission denied

Any one any suggestions on how to solve this?

(I am on CentOS 7 btw.)
 
Last edited:
Set correct permissions with:

# chmod o+x /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/extras/ftp-migrator/ftp-migrator
 
@IgorG, shouldn't that be:

# chmod o+x /usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/ftp-migrator/ftp-migrator

?
 
I was able to overcome this exact same issue by removing the Site Import extension on Plesk and reinstalling again. Worth trying this first in any case.
 
Back
Top