Subscription was removed from the PPA, but domain still presents under "Services->Websites". How to delete it?

Created:

2016-11-16 13:21:24 UTC

Modified:

2017-08-16 16:22:49 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Subscription was removed from the PPA, but domain still presents under "Services->Websites". How to delete it?

Applicable to:

  • Plesk 11.x for Linux

Symptoms

The subscription was removed from the PPA, but domain still present under "Services->Websites". When attempting to remove this domain with Plesk CLI, the following error appears:

[root@ppa ~]# /usr/local/psa/bin/domain -r domain.com
There is no DSMail service for domain with id = 2351

Cause

Some database inconsistency. Plesk considers that this domain has mail hosting, but appropriate binding in the "DomainServices" table is missing:

mysql> select id from DomainServices where dom_id=2351 and type='mail';
Empty set (0.00 sec)

Resolution

Remove mail hosting from this domain by the following command:

[root@ppa ~]# /usr/local/psa/bin/domain -u domain.com -mail_service false
SUCCESS: Update of domain 'domain.com' completed.

after that, the domain can be successfully removed from Plesk:

[root@ppa ~]# /usr/local/psa/bin/domain -r domain.com
SUCCESS: Removal of 'domain.com' completed.
Have more questions? Submit a request
Please sign in to leave a comment.