Symptoms
-
After license downgrade (e.g. from Web Host Edition to Web Pro Edition), some domains/subscriptions are absent at Plesk > Domains or Plesk > Subscriptions or Plesk > Websites & Domains page
Note: Plesk can show Add Domain or Create Your Webspace page
-
The following warnings could be found at Plesk > Tools & Settings > License Management page:
Warning: Resellers management is turned off but you have several resellers(1).
Warning: Customers management is turned off but you have several customers(1).
Cause
Plesk does not display the domains and subscriptions belonged to nonsupported user types.
Web Pro Edition does not support Reseller management.
Web Admin Edition does not support Reseller and Customer management.
Resolution
via Plesk
-
Go to Plesk > Tools & Settings > License Management
-
Install the Web Host Edition (customers and resellers) or Web Pro Edition (customers) license
Note: a trial Web Pro Edition license can be received here.
If you have no such key, follow to one of the next article sections "via Command Line Interface (CLI)"
-
Navigate to Plesk > Subscriptions
-
Mark all subscriptions which do not belong to the Plesk Administrator account
-
Click the Change Subscriber button and reassign all subscription to Plesk Administrator
-
Remove resellers and customers if they are not required anymore
-
Go to Plesk > Tools & Settings > License Management and click the Roll Back Key button
Note: In some cases, it is needed to log out and log in to Plesk again to see the results.
via Command Line Interface (CLI)
-
Get the list of subscriptions belonged to customers or resellers:
# plesk db "SELECT d.name AS 'Domain name',c.pname AS 'Owner Name',c.type AS 'Client Type' FROM domains d JOIN clients c ON d.cl_id=c.id WHERE d.cl_id <> 1"
+-------------+------------+-------------+
| Domain name | Owner Name | Client Type |
+-------------+------------+-------------+
| example.com | johndoe1 | client |
| example.org | johndoe2 | client |
| example.net | johndoe3 | reseller |
+-------------+------------+-------------+ -
Change the ownership to Plesk Administrator for the required subscription one by one:
# plesk bin subscription --change-owner example.com -owner admin
The following command can be used to change the subscription owner to Plesk Administrator for all subscription at once:
On Linux servers:
# for subscription in `plesk bin subscription --list`; do plesk bin subscription --change-owner $subscription -owner admin; done
On Windows servers:
PS foreach ($subscription in plesk bin subscription --list) {plesk bin subscription --change-owner $subscription -owner admin}
Note: In some cases, it is needed to log out and log in to Plesk again to see the results.