• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Error: Unable to rename home of sysuser with id...

ChrisMonder

Basic Pleskian
I got this:

1. I have domain X
2. I added a domain alias Y
3. I want to switch X for Y
4. I deleted Y domain alias in Plesk
5. I try to change domain X for Y in hosting settings and I got this:

Error: Unable to rename home of sysuser with id=XX: Unable to execute usermng: usermng[XXXXX]: pam_unix(passwd:chauthtok): password changed for XXXXXXX usermod: directory /var/www/vhosts/Y/httpdocs exists

So I look at /vhosts and no, there's no Y folder, what can I do?
 
I would suggest you check possible database inconsistencies with the following command:

# plesk repair db -n
 
Try to find this domain related errors with help of

mysql> select id,objectId,status,description from Configurations where status="error"\G;
 
Checking the Plesk database using the native database server tools .. [OK]

Checking the structure of the Plesk database ........................ [OK]

Checking the consistency of the Plesk database ...................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

and:

[root@svr ~]# mysql> select id,objectId,status,description from Configurations where status="error"\G;
[root@svr ~]#
 
Try to run

# plesk repair web

and then repeat your actions.
 
Back
Top