Symptoms
-
Site Import fails with the following error:
Unable to migrate the website: failed to execute commands with the web RPC agent.
Possible reasons:
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
Cause
Site Import was started with user "root".
Resolution
Use a SSH web user or a FTP user that is assigned to the source domain to import the site using Site Import feature.