How to Show All Users in Direct Admin in Missing Users ?

Silicon House is a complete solution provider for reseller hosting, dedicated servers and cloud servers. Our expertise is in implementing high availability, high performance and hybrid cloud / dedicated servers.Silicon House runs hundreds of servers serving 1000+ customers in more than 90+ countries.  

While creating a new account, DirectAdmin’s Show All Users sections doesn’t show the recently added user. This is simply due to caching. The show_all_users cache will be re-created automatically later some time, but you can force it to run manually if you’d prefer not to wait. The cache file used is located here in case you’d like to confirm that the user is not present in the cache file first:

cat /usr/local/directadmin/data/admin/show_all_users.cache

example output : username=bandwidth=0.0000 / 20000&creator=admin&default=domainname&email_daily_limit=1000&email_deliveries_outgoing=0&inode=30124 / unlimited&ip=10.x.x.x&ips=10.x.x.x
&list=domainname
&package=hsoft_Hsoft&quota=222.0 / 20000&suspended=No&type=user&vdomains=1 / unlimited

where : ip and ip’s — server A record ip address

You can regenerate the cache via 2 different methods.

First method

via the DATaskQ:

echo “action=cache&value=showallusers” >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d

Second method

The second is by simply deleting the show_all_users.cache file and then forcing DirectAdmin to recreate it by loading the “Show All Users” page again.