Symptoms
Unable to access Domains > example.com > Files page, the process fails with one of the errors:
cannot read properties of undefined (reading 'state')
t.data is undefined
The execution of the command below fails:
"%plesk_dir%binrepair.exe" --repair-webspace-system-users -webspace-name example.com
...........
Checking and restoring users for the domain example.com
Updating system user johndoe ................................... [FAILED]
- Unable to execute usermng: User 'johndoe' doesn't exist.At the same time the user
johndoeexists in Windows Local Users and Groups > Users
Cause
Subscription's system user corrupted.
Resolution
Log into the server via RDP.
Execute the command below to open Windows Local Users and Groups
lusrmgr.msc
Go to Users page and remove johndoe user.
Run the command to re-create johndoe user by executing the command:
"%plesk_dir%binrepair.exe" --repair-webspace-system-users -webspace-name example.com
Set the correct permissions for files and folders within example.com subscription:
"%plesk_dir%binrepair.exe" --repair-webspace-security -webspace-name example.com