• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Problem with delete user of protected folder

igoldman

Regular Pleskian
Hello to all members.
I user Plesk Control Panel for windows version 7.5.6

I have encounter an issue regarding deleting a user from protected folder.

not all the protected folders have the same issue , Currently I have found only 2 domains account which have this issue.

When I try to delete the user from the protected folder then I get the following error:

Domain ID in protected directory does not match domain's ID.
---------------------- Debug Info -------------------------------
0: C:\Program Files\SWsoft\Plesk\admin\plib\class.ProtDir.php:59 psaerror(string "Domain ID in protected directory does not match domain's ID.")
1: C:\Program Files\SWsoft\Plesk\admin\htdocs\domains\removeProtectedDirUsers.php3:35 protdir->protdir(string "171", string "157", string "subdomain")

So I did little investigation and the the findings are :

I have looged into mysql of Plesk CP and found the following information:

under domain table I have found that gotcarmel.org is id=157 and the limits_id=174 under subdomain table I have found that lehav11 is id=174 and the dom_id=157 and the sys_user_id=367 under pd_users table I find id=180 and pd_id=171 under protected_dirs table I have found id=171 dom_id=174

so as it seems to me , evert thing is OK with domain ID.
so I don't know what is the cause.

I have also tried to run the follwoing command but it was not helping resolving the issue :

websrvmng --update-all-server-id

Thanks to anyone in this forum who will try to help me.
 
Please try command
websrvmng --update-subdomain --vhost-name=<domain> --subdomain=<subdomain>
 
Hello,

First thanks on your suggestion. (I didn't tried it because I afraid that it will do something more badly , I will be glad if you will explain me what this command do ?)

also , I would like to give more info about findings which I found:

Under mysql database I have found the following details:
The Client ID is : 17
The domain account is : tcarmel.org
And the domain ID is : 156
The subdomain is : lehav11.gotcarmel.org And the subdomain ID is : 174

under domain table I have found that gotcarmel.org is id=157 and the limits_id=174 under subdomain table I have found that lehav11 is id=174 and the dom_id=157 and the sys_user_id=367 under pd_users table I find id=180 and pd_id=171 under protected_dirs table I have found id=171 dom_id=174

Under IIS 6 I have found the following :

gotcarmel.org has Identifier=13154
lehav11.gotcarmel.org has Identifier=32357
 
thanks but your forum is not so professional .
and I suggest you stop advertise it in this forum until your forum will worth it.
 
Back
Top