DB Error: Column ‘first_name’ cannot be null
Increase “max_input_vars” from 1000 to your desired count.
This will solve the issue.
DB Error: Column ‘first_name’ cannot be null
Increase “max_input_vars” from 1000 to your desired count.
This will solve the issue.
Upgrade a User to a Reseller. Assume that user name is ‘staysafe’.
cd /usr/local/directadmin/scripts ./user_to_reseller.sh staysafe
Upgrading a Reseller to an Admin. Assume that reseller name is ‘bdtopten’.
cd /usr/local/directadmin/data/users/bdtopten perl -pi -e 's/usertype=reseller/usertype=admin/' user.conf cd /usr/local/directadmin/data/admin perl -pi -e 's/^bdtopten\n//' reseller.list echo bdtopten>> admin.list
Downgrading a Reseller to a User. Assume that reseller name is ‘kitedubd’ and ‘kitedubd’ has no users.
vi /usr/local/directadmin/data/users/kitedubd/user.conf
usertype=user
vi /usr/local/directadmin/data/admin/reseller.list
vi /usr/local/directadmin/data/users/admin/users.list
Go to
vi /usr/local/directadmin/custombuild/options.conf
Change webapps_inbox_prefix ‘no’ to ‘yes’
webapps_inbox_prefix=yes
Restart roundcube
cd /usr/local/directadmin/custombuild ./build roundcube
Check Roundcube.
Sometime it requires to change domain url of reseller accounts. You can do it easily as follows
UID = User ID
GID = Group ID
We can change UID and GID with command ‘chown’ login with SSH.
chown -R newuserID:newgroupID folder_name
For example, to change myfolder UID and GID
chown -R bdhostit:bdhostit myfolder
or to change maildir UID and GID. Here, “bdhostit” is account’s username.
chown -R bdhostit:mail /home/bdhostit/domains/Maildir