Applicable to:
- Plesk for Linux
- Plesk for Windows
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:
PLESK_WARN: Warning: Resellers management is turned off but you have several resellers(1).
PLESK_WARN: Warning: Customers management is turned off but you have several customers(1).
The request below returns the missing subscriptions/domains in the output 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 |
+-------------+------------+-------------+
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
-
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.
-
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.
Comments
11 comments
Hi
thanks for the information, though i made the change, still i cannot see the website, i have gone through the above instructions but still cannot see positive result.
my case was a downgrade from 'web host' to 'web admin', please your quick help
ok, i resolved it...
it was fixed after completing the above instruction + log out and log in.
should be mentioned in the instructions
I am doing a migration project to hundreds of server and encountered this with windows server, how to fix through powershell or windows?
Hello, @Noam Harel
The article has been updated. Check the CLI section for the PowerShell command. For more advanced automation refer to the PowerShell and Plesk CLI documentation.
Hello,
I'm experiencing this error "Warning: Customers management is turned off but you have several customers(1)." on a Plesk with Web Admin edition license, even though all domains are under "admin".
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"
gives no output at all, so I tried:
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"
which gives:
+-----------------------+------------------+-------------+
| Domain name | Owner Name | Client Type |
+-----------------------+------------------+-------------+
| domain1.com | Owner's name | admin |
| sub1.domain1.com | Owner's name | admin |
| sub2.domain1.com | Owner's name | admin |
| sub3.domain1.com | Owner's name | admin |
| sub4.domain1.com | Owner's name | admin |
| sub5.domain1.com | Owner's name | admin |
| domain2.com | Owner's name | admin |
+-----------------------+------------------+-------------+
Any ideas?
@George Tasioulis
Seems that the warning is no longer actual or completely false-positive.
Does it persist after applying step 3 of a CLI solution for all subscriptions?
Thanks for the CLI solution, it worked, I was afraid after updating license key that previous installed domains got removed from plesk when I logged in and didn't find previous installed domains! so please try to leave any hint on Plesk that missed domains are just disappeared and not removed to avoid panics.
Hello Fouad Ahmed Fouad
Thank you for the feedback and idea. I've created a feature suggestion about it, feel free to vote.
I'm struggling with the same issue, my site is suddenly not appearing on my plesk panel. One site out of 6 that I have on the server.
What is the software being use above in the screen shots for:
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"
Plesk CLI? I'm on a Windows server so I have Powershell available, but not sure what tool is this? is there a Plesk command line tool?
Hello @Robert Carlson,
In Plesk for Windows the command in article should be executed in cmd.exe (or powershell) that ran as Administrator.
In case the after applying solution from article did not resolved the issue - feel free to submit ticket to us https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support-
How exactly would you navigate to "Subscriptions" if you have no subscriptions anymore? I really need to reach those other websites my certs are about to expire.
Please sign in to leave a comment.