- Plesk 12.5 for Linux
- Plesk 12.5 for Windows
- Plesk Onyx for Linux
- Plesk Onyx for Windows
- Migration fails with one of following errors:
PLESK_ERROR: Error: Looks like the migration could not be started. Please check that the specified IP address and the administrator login and password are correct and try again. Refer to logs for details: download info log, download debug log.
PLESK_ERROR: Failed to connect to target Plesk server by Plesk API: Plesk error : Access to API is disabled.
- The following can be found in
CONFIG_TEXT: [INFO] START: Check connections
[ERROR] Failed to connect to target Plesk server by Plesk API: Plesk error : Access to API is disabled.
- Following records can be found in
CONFIG_TEXT: +|2016-03-18_16:28:26,666|D|MT|core.utils.common.http_xml_client|||API request to https://10.10.10.10:8443/enterprise/control/agent.php:
=|2016-03-18_16:28:26,725|D|MT|core.utils.common.http_xml_client|||<errtext>Access to API is disabled.</errtext>
API is disabled in
on the target server. This is Plesk Migrator internal issue with ID #PMT-2702 , which is planned to be fixed in future Plesk updates.
Enable API using following steps:
- Connect to the target server via SSH/RDP .
/usr/local/psa/admin/conf/panel.ini(for Linux) or
%plesk_dir%admin/conf/panel.ini(for Windows) in a text editor
Set option enabled = on under
If there any other lines under
[api]section comment out them:
enabled = on
;ip filter <--- this line is commented
Edit panel.ini file using Panel.ini Editor extension at Plesk > Extensions > Panel.ini Editor > Editor:
4. Remove old migration session at Plesk > Tools & Settings > Plesk Migration and Transfer manager > click Remove to the right of the active session.
5. Start new migration session from scratch.