Add to Favourites Add to Favourites    Print this Article Print this Article

Unable to read the User data files for username

When restoring a backup, if you get the error:

Unable to read the User data files for username

this would mean that the account likely already exists on the system in /etc/passwd, and the the data in /usr/local/directadmin/data/users/username does not exist.

1) If there is not yet any data for the User on the system (eg: named.conf, /home/username/*, databases, /etc/virtual/domain.com, etc..), then remove the account from the system, and try the restore again.

userdel -r username


2) If there is data setup everywhere that you do not want to delete, then try repairing the DA account with:

cd /usr/local/directadmin/scripts
./fix_da_user.sh username user domain.com



Was this answer helpful?

Also Read