Articles in this section

Unable to remove a domain: Permission denied to remove domain ID

kb: bug ABT: Group A

Applicable to:

  • Plesk Onyx

Symptoms

Unable to remove a domain by marking the checkbox and pressing the Remove button via Plesk > Domains:

Screenshot.png

due to the following error:

PLESK_ERROR: Error: Permission denied to remove domain ID

Cause

Database inconsistency or workaround for bug #PPPM-7124.

Resolution

Remove the domain using one of the following ways:

via Graphical User Interface (GUI):

  1. Log in to Plesk.

  2. Go to Domains > example.com.

  3. Click the Remove Website button:

    Screenshot_2.png

    Note: If no such button is presented then this domain is the main domain of the corresponding subscription, and it can be removed only with the subscription together.

    Warning: subscription removing will delete all domains assigned to this subscription. If other domains should remain untouched, create a temporary subscription example1.com, move the domains to it, and rename it to example.com after removing the domain in question.

  4. Go to Subscriptions > example.com > Websites & Domains and press the Remove Subscription button:

    Screenshot_3.png

via Command Line Interface (CLI)
  1. Connect to the server via SSH.

  2. Execute the following command to remove the domain example.com:

    Note: change example.com the command below to the required domain name.

    # plesk bin domain --remove example.com

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.