How can I change allocated disk usage or domains?

epsilon4

Verified User
Joined
Jul 6, 2019
Messages
25
Hello,

Hope you are well.

I would like to kown how can I increase allocated disk usage for admin user?

When I open "Server Statistics" page I got these values:


Setting Current UsageAllocated
Bandwitdh30 MBUnlimited
Disk Usage21 MB75 GB
# of domains821

I created a reseller unlimited package, but it is limited as my admin user.

Thanks a lot in advance!
 
Hi there.

Should be unlimited by default. Did you change package via another admin account?

Login via SSH and check your admin user file:
/usr/local/directadmin/data/users/admin/user.conf

Probably this line reads something like:
quota=75GB
set it to:
quota=unlimited

and restart directadmin just to be sure.
 
Hi there.

Should be unlimited by default. Did you change package via another admin account?

Login via SSH and check your admin user file:
/usr/local/directadmin/data/users/admin/user.conf

Probably this line reads something like:
quota=75GB
set it to:
quota=unlimited

and restart directadmin just to be sure.

Thank you Richard!
I have edited the file, I noticed that "quota" and "vdoamins" were not in the file, so I added it, then I restarted DirectAdmin, but the problem still.
Any idea?
 
Hmz... very odd... did you restart DA afterwards?
I wonder why these parts are gone, normally that does not happen.

Since these were missing, maybe more is wrong and might be worthy to put in a ticket.

You can doublecheck by creating a new admin for example testadmin and then check if the values are all present in the user.conf file.
I've got 58 lines in that file.
 
Yes I restart DirectAdmin after the change, also I created another admin user, called "admin2" and the same problem :(

When I check "Show All Users" page admin, admin2 and my reseller user, shows that have unlimited space and bandwith, but the another page still showing 75 GB.

Could be a quota problem? Thanks!

I noticed that my reseller user have these options in "reseller.allocation" file:

Code:
bandwidth=unlimited
domainptr=0
email_deliveries=unlimited
email_deliveries_incoming=unlimited
email_deliveries_outgoing=unlimited
ftp=unlimited
inode=900000
mysql=unlimited
nemailf=unlimited
nemailml=0
nemailr=unlimited
nemails=400
nsubdomains=unlimited
nusers=unlimited
quota=76800
vdomains=21

When I changed quota, nemails and vdomains to unlimited and restart DA, all looks fine, but few minutes later the values return to quota=76800, nemails=400 and vdomains=21.
 
Last edited:
Could be, then you have to check if your quota works and if you have more than 75GB free space.
But I've never seen it limited.

And if in admin2 also the vdomains were missing (and not 58 entry's), that surely is not a quota problem, that's some kind of DA problem. But I don't know how to fix that.
 
Yes I have 200 GB on this server, and 170 GB available.

This is the user.conf of admin2:

Code:
account=ON
additional_bandwidth=0
aftp=ON
api_with_password=yes
bandwidth=unlimited
catchall=ON
cgi=ON
clamav=OFF
creator=admin
cron=ON
date_created=Mon Jun  5 10:15:07 2023
demo=no
dnscontrol=ON
docsroot=./data/skins/evolution
domainptr=unlimited
[email protected]
ftp=unlimited
git=OFF
inode=unlimited
ip=1.1.1.1
jail=OFF
language=en
login_keys=ON
mysql=unlimited
name=admin2
nemailf=unlimited
nemailml=unlimited
nemailr=unlimited
nemails=unlimited
notify_on_all_question_failures=yes
notify_on_all_twostep_auth_failures=yes
ns1=ns1.server.com
ns2=ns2.server.com
nsubdomains=unlimited
package=admin
php=ON
quota=unlimited
redis=ON
security_questions=no
skin=evolution
spam=ON
ssh=ON
ssl=ON
suspend_at_limit=OFF
suspended=no
sysinfo=ON
twostep_auth=no
user_widgets=WGT_USER_STATS:WGT_ADDITIONAL_DOMAINS
username=admin2
usertype=admin
vdomains=unlimited
wordpress=OFF
zoom=100

I don't know what I need to do to fix this problem, I can't find information about it on docs page.

Thanks!
 
I don't think it can be found in the docs how to repair an admin account, other then create a new one, which clearly does not fix the problem.

You don't have any domain under your admin account, right?
Because I also have:
domain=mydomain.nl

maybe that one is not present if you don't have a domain under admin.

Looks good for the rest, I do have these also:
sentnotice_quota_full=no
sentwarning_bandwidth=no
sentwarning_inode=no
sentwarning_quota=no

Maybe something is wrong with the quota, because these should be present by default.
 
Hello again Richard!

Finally I could fix this problem, I edited this file:

Code:
/usr/local/directadmin/data/admin/admin.allocation

So I added quota, nemails and vdomains as unlimited, restart DA and all works fine.

Thanks for your help and time!
 
Great. Thank you for reporting back this solution. (y)
It might be of use for somebody in the future!

As for my time and help, you're welcome!
 
I don't know where it in Evo skin, but in enhanced - show all users - click on admin - modify admin user account
 
Yes but that is one admin account, not the base template when you create a new admin if I'm correct.
 
Back
Top