Error Message
Account Restore Failed: “Account failure: Failed to create the account: A database owner with the name “cpaneluser†already exists.â€
Solution
- Login to cPanel server via SSH with root privileges.
- Navigate to directory /var/cpanel/databases.
- Locate the file namely cpaneluser.json and cpaneluser.json.lock and move them to another folder.
- Try to restore cPanel account again. In several cases, moving cpaneluser.cache and cpaneluser.yaml files to some other folder also fixed the problem.