- Plesk for Linux
Site Import fails with the following error:
Unable to migrate the website: failed to execute commands with the web RPC agent.
1. PHP is disabled for the source site. Make sure that PHP is enabled and operational on the source website.
2. PHP version is less than 5.2. Upgrade PHP to version >= 5.2 to migrate the website.
3. There are rewrite rules in effect (e.g. mod_rewrite configured with the .htaccess file) making the web RPC agent inaccessible. Temporarily disable the rewrite rules to migrate the website.
The reasons from the error message are not applicable
The following error is found at Domains > example.com > Logs on a source server:
AH01071: Got error 'PHP message: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0\nUnable to open primary script: /var/www/vhosts/example.com/httpdocs/plesk-migrator-agent-h014yeripgi6xjthrb1bb0kpn8m0ra3z/index.php(Permission denied)\n'
Site Import was started with user "root".
Use a SSH web user or a FTP user that is assigned to the source domain to import the site using Site Import feature.