Symptoms
Attempt of removal of webspace fails with:
An unforeseen error occurred
In OA log one could find the true cause - leftover dependencies in OA database:
Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "domain_services" violates foreign key constraint "proftpd_domain_services_fk1" on table "proftpd_domain_services"
Detail: Key (ds_id)=(9) is still referenced from table "proftpd_domain_services".
Cause
If this inconsistency remained from operations that took place in early OA versions and there is no way to trace it, then it should be resolved manually.
Resolution
In order to apply the solution, please contact Odin Technical Support Team.