License is limited to 2 accounts - When restore from cpanel

samuelmf

Verified User
Joined
Jul 30, 2021
Messages
157
I have a personal plus license that allows 2 accounts 20 domains, i have 2 users, admin users and the user that have the main domain of the server, when i try to import an account form cpanel, when i start the restore task on directadmin, i get this error:
`License is limited to 2 accounts, and you currently have 2`
How can i do to fix this, one thing i think is make the admin account own second one, but idk how to do it.
1666469669073.png


mmsam2 is associated to domain mmsa2m.com, with that domain i use ns1/2 and hostname.
How can i do to fix this
Thanks in advance
 
You also posted here:

It's indeed better to make your own thread about the problem.

You have 2 users, admin andmmsam2.

Possible option to fix this is to make mmsam an admin, then delete the admin account.

Better option is to move the mmsam2 domain to the admin account, same for any database present. After that remove the mmsam2 account and then you have one account free.
 
You also posted here:

It's indeed better to make your own thread about the problem.

You have 2 users, admin andmmsam2.

Possible option to fix this is to make mmsam an admin, then delete the admin account.

Better option is to move the mmsam2 domain to the admin account, same for any database present. After that remove the mmsam2 account and then you have one account free.
Sorry for that, thanks for reply, I will take into account the suggestions you give me.
 
[root@core scripts]# ./move_domain.sh mmsam2.com mmsam2 admin
Moving domain data to the admin user.
Setting ownership for mmsam2.com domain.
Setting stats directory ownership for mmsam2.com domain.
Removing domain from mmsam2 user.
Adding domain to admin user.
Changing domain owner.
Debug mode. Level 10

dataskq: command: action=cache&value=showallusers
dataskq: command: action=rewrite&value=httpd
Apache::fill_cert_key_caroot: mmsam2.com: either /usr/local/directadmin/data/users/mmsam2/domains/mmsam2.com.cert or /usr/local/directadmin/data/users/mmsam2/domains/mmsam2.com.key does not exist or is empty. Reverting to server certificate.
Apache::fill_user_tokens: jail=ON for User mmsam2, but /usr/bin/jailshell does not exist
Updating email settings.
cat: /usr/local/directadmin/data/users/admin/domains/mmsam2.com.pointers: No such file or directory
cat: /usr/local/directadmin/data/users/admin/domains/mmsam2.com.pointers: No such file or directory
Updating ftp settings.
Can't open /home/admin/domains/mmsam2.com/awstats/.data/*.conf: No such file or directory.
Can't open /home/admin/domains/mmsam2.com/awstats/awstats.pl: No such file or directory.
Can't open /home/admin/domains/mmsam2.com/awstats/*/.data/*.conf: No such file or directory.
Can't open /home/admin/domains/mmsam2.com/awstats/*/awstats.pl: No such file or directory.
Domain has been moved to admin user.
[root@core scripts]#

I used this
 
By now i dont have anything under mysql, that is because directadmin have installed mysql 8 and i want 5.7 i dont know how to downgrade it to 5.7
 
Mysql 8 is not installed by default.
Normally you need to backup all databases you have under mysql, then remove all from mysql 8, change your options.conf to mysql 5.7 and then install again.
After that, restore all databases.

However, I don't know why you would want to use Mysql 5.7, that will be end of life next year. Maybe you can better install like Mariadb 10.5?
 
Back
Top