Change user name and statistics DA page

rutekp

Verified User
Joined
May 29, 2007
Messages
20
Hello,

I change username using: /usr/local/directadmin/scripts/change_username.sh and everything works OK. But now the new and old username dosn't exist in Show All Users in DA panel ?
From where this page is creating ?

Thanks
 
Try:
Code:
echo "action=cache&value=showallusers" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
 
Martynas, does Show All Users eventually work after a certain period of time?

Is it possibly a good idea to add the code you posted to the end of the script?

Jeff
 
Sorry it dosen't help. Still my user dosen't exist in Show all users :(
 
The show_all_users.cache file is recreated with the nightly tally.
I'll add it to the script regardless.

As for you rutekp, try something similar, but one extra step:
Code:
rm -f /usr/local/directadmin/data/admin/show_all_users.cache
echo "action=cache&value=showallusers" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
If that doesn't work, then check
Code:
ls -lad /usr/local/directadmin/data/users/[B]username[/B]
to ensure the new user still exists.

Does he show up in:
Reseller Level -> List Users
? (eg: /usr/local/directadmin/data/users/reseller/users.list)

John
 
the showallusers cache update is actually already in the change_username.sh script, so that's not it. The issue is probably something more along the lines of the new folder doesn't exist.. or permissions not set correctly.

Try:
Code:
cd /usr/local/directadmin/scripts/
./set_permissions.sh da_files
Then do the re-cache again.
If that doesn't work, then try:
Code:
cd /usr/local/directadmin/scripts/
./fix_da_user.sh [B]username[/B] user [B]domain.com[/B]
on the assumption that he's created under the "admin" Reseller. If not, edit the fix_da_user.sh to set the actual Reseller he's created under.

John
 
cd /usr/local/directadmin/scripts/
./fix_da_user.sh username user domain.com

cd /usr/local/directadmin/scripts/
./set_permissions.sh da_files

Dosen't helpd. I don't see user in Show All Users, but I see user in Reseller list. But in reseller list this user is without statistics.
 
Dosen't helpd. I don't see user in Show All Users, but I see user in Reseller list. But in reseller list this user is without statistics.

Hi, I had the same problem, the name of the 'username' had more than 10 characters, i only changed it and solved it.
 
Back
Top