• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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