• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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