Symptoms

The APS task Finalizing unprovisioning fails in POA 5.5 with the following error message:

Foreign key 'aps_service_instance_resources_fk0' violation

More detailed diagnostics are provided in the example below:

Task name       APS application 'WordPress', id 120, instance 1487 -> service 'wordpress', instance 1254: Finalizing unprovisioning, site 'http://customer.com/'
Last execution output   Foreign key 'aps_service_instance_resources_fk0' violation while executing ' DELETE FROM aps_service_instances WHERE service_instance_id = ?'.

Cause

There is a defect in the POA APS Controller.

Resolution

Upgrade POA to 5.5.1 or a later version; the problem is fixed in 5.5.1.

Run the failed task after the upgrade.

Internal content

Link on internal Article