Article ID: 120174, created on Feb 17, 2014, last review on May 4, 2014

  • Applies to:
  • Plesk Automation 11.1

Symptoms

I cannot create subscription, the following error is shown in the Task Manager:

Foreign key 'plesk_hosts_fk0' violation while executing' INSERT INTO plesk_hosts(sub_id, referer, host_id, ipv4 ) VALUES ( ? , ? , ? , ? )'

Cause

The issue is caused by Service Template misconfiguration: the subscription contains IIS webspace and Apache webspace resources. Such configuration is not supported by PPA 11.1, "Multiple Webspaces" feature was implemented in PPA 11.5.

Resolution

Remove Apache or IIS webspace resource from the Service Template and then recreate subscription.

Search Words

Foreign key 'plesk_hosts_fk0' violation while executing ' INSERT INTO plesk_hosts(sub_id, referer, host_id, ipv4 ) VALUES ( ? , ? , ? , ? )'

c1ecc6010feff26cb42d1d14a7881dd6 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF