Applicable to:
- Plesk for Windows
- Plesk for Linux
Symptoms
-
The domain list in Plesk > Domains is empty. The following error may appear:
Internal error ;-P
TypeError: Cannot read property 'escapeHTML' of null -
When changing a subscription's plan, the following error appears:
Error code: 2204. Error message: Unable to update hosting preferences. ProtDirUser_IIS::update() failed: Update Protected Directory #1 user failed: URL '/plesk-stat' is not protected In IIS7NativeProvider module Exception type: System.Exception at ProtectedUrls.get(ProtectedUrls* , unique_ptr >* , basic_string\,std::allocator >* path) at updateProtectedUrlUser(example.com, /plesk-stat, johndoe, )(WebServerManager::updateProtectedUrlUser line 792) at execute console command --update-protected-url-user(vconsoleapp::start line 122) at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin64\websrvmng" --update-protected-url-user "--vhost-name=example.com" "--path=/plesk-stat" "--login=johndoe" "--new-password=*"(vconsoleapp::run line 139) (Error code 1)
Cause
A database inconsistency caused by orphaned entries.
Resolution
-
Run this command and fix the orphaned entries when asked:
# plesk repair db
If plesk repair db
shows the following, check https://support.plesk.com/hc/en-us/articles/13781275582999:
# C:\> plesk repair db -n
[...]
Inconsistency in the table 'domains' for the column cl_id: Wrong customer ID for the additional domain with ID 113 ................. [ERROR]
Inconsistency in the table 'domains' for the column cl_id: No rows in the table 'clients' with id = 0 ................................
Comments
1 comment
Hello,
Has the information been deleted?
It was very helpful last time
Best regards
José
Please sign in to leave a comment.