Control Web Panel
WebPanel => Updates => Topic started by: Freespirits_GR_Host on May 20, 2023, 11:19:02 AM
-
Hello
After the latest update, even if I add a new user, the account is not usable.
The FTP created and the cpanel is not working for new users.
It is very easy to recreate the issue. Create a demodomain.com and try to connect with ftp or use the cpanel. (no need to register domain just use the server name for filezilla.)
If I try to delete the same user then I get an error account was not able to delete.
Also clamscan is getting more cpu and ram consumption as it worls always to 100%. That is not a new issue but has to do with previous updates.
Thank you in advance.
-
After you create any demo account to see the above issues, try to delete it to see the following error
User Account Removal FAILED! User account folder still exists!
I am running the CWPRo and never had problem with updates but those bugs are critical. :-\
-
For the user remove error seems like a server configuration as to the other servers I can remove and add users normally.
Solution
1. From putty use the following command
cd /home
2. Then remove username folder
rm -rf username
3. Delete the user from CentOS Web Panel (CWP) so that DNS records and other data can be removed.
Reason why that happened and solution.
Checking the quota to this server I noticed that I had no grace time so I used the following command to set grace time to 7days
edquota -t
And now everything is back to normal. :)
-
I will test; haven't noticed any issues yet, but my servers are fairly static -- not a lot of user movement on them.
-
One more very important thing to check is the following parameter
Quota Type:
It should be empty if your partition is ext4
or it should be
Quota Type:xfs
if your partition is xfs
In case you messed up with that the use putty or filezzila and edit the following file
/usr/local/cwp/.conf/quota_type.conf
Lastly run the following command to have your server rock again :)
/scripts/cwp_api account update_diskquota_all
Hope that will save the day to anyone having such problems 8)
-
This error has nothing to do with the last update.