Article ID: 123949, created on Dec 16, 2014, last review on May 24, 2016

  • Applies to:
  • Operations Automation 5.5
  • APS

Symptoms

An APS order provisioning fails along with a task with error:

Internal error: Plesk::SaaS::SaaSManagerTasks_impl::taskExecuteWorkflow : [APSC] Application returned error with an empty message

Following is registered on POA management node in apsc.http.log:

Jun 20 20:16:23 <MN> : OUT  <ENDPOINT_IP>  [2157] "POST /APS/account HTTP/1.1"  [0] "500 Internal Server Error"  110ms

The cause can be found in webserver's error log on endpoint host:

PHP Fatal error:  Call to undefined method APS\\ControllerProxy::impersonate() in /var/www/html/APS/account.php on line 614cxfc 

Cause

The part of application that returned error is on the APS endpoint node. See KB #119075 for full details on how to investigate endpoint errors.

To determine additional details, please do the following:

  1. first of all, check if the endpoint host has free space. If not, free up some space and check if the issue is still reproduced
  2. Enable APS debugging in POA PCP Settings > System Properties if it was not enabled .
  3. Use tail on endpoint to tail the lines appended to error_log:

    # tail -f /var/log/httpd/error_log
    or
    # tail -f /var/log/httpd/ssl_error_log
    
  4. Re-run the task/resubmit the order for provisioning,
  5. Note if the line "PHP Fatal error: Call to undefined method APS\\ControllerProxy::impersonate() in /var/www/html/APS/account.php on line 614" appears in the output.
  6. Disable APS debugging if this is a production POA installation and not a sandbox.

If it does - PHP runtime on the endpoint is not of correct version, thus calling impersonate method results in an error.

Resolution

For this particular error it is needed to upgrade aps-php-runtime to a newer version:

http://doc.apsstandard.org/tools/php_lib/

Starting from POA 5.5.5, the php runtime is updated on each hotfix and can be found in POA repository on management node.

717db81efe94e616312b74fb03a5d474 5b048d9bddf8048a00aba7e0bdadef37 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF