Article ID: 126121, created on Jul 9, 2015, last review on Jul 9, 2015

  • Applies to:
  • Plesk Automation

Symptoms

Migration from Plesk to PPA fails with the following error:

[ERROR] | Error while checking connection settings: 'Failed to check Plesk API at 'https://<IP_or_domain>:8443/enterprise/control/agent.php': HttpClientError(HTTP Error 403: Forbidden, '<?xml version="1.0" encoding="iso-8859-1"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n <head>\n  <title>403 - Forbidden</title>\n </head>\n <body>\n  <h1>403 - Forbidden</h1>\n </body>\n</html>\n')'.

When going to https://<IP_or_domain>:8443/enterprise/control/agent.php I am getting 'Forbidden' error.

Cause

Incorrect permissions:

# cd /usr/local/psa/admin/htdocs/enterprise/control
# ls -ld
drwx------ 2 root psaadm 4096 Feb  7  2012 

Resolution

# chmod 755 /usr/local/psa/admin/htdocs/enterprise/control/

Search Words

API

Migration

Error

e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF