Author Topic: Bugs at 0.9.8.1156  (Read 2041 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Bugs at 0.9.8.1156
« 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.
You need a reliable hosting company for your website or your eshop?
Need a cheap, reliable, fast and secure hosting?
You want fast support and action to every technical issue?
Freespirits is here for you :) - Don't look any further!

Offline
*
Re: Bugs at 0.9.8.1156
« Reply #1 on: May 20, 2023, 11:22:21 AM »
After you create any demo account to see the above issues, try to delete it to see the following error

Code: [Select]
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.  :-\
You need a reliable hosting company for your website or your eshop?
Need a cheap, reliable, fast and secure hosting?
You want fast support and action to every technical issue?
Freespirits is here for you :) - Don't look any further!

Offline
*
Re: Bugs at 0.9.8.1156
« Reply #2 on: May 20, 2023, 12:35:29 PM »
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
Code: [Select]
cd /home
2. Then remove username folder
Code: [Select]
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

Code: [Select]
edquota -t

And now everything is back to normal.  :)
You need a reliable hosting company for your website or your eshop?
Need a cheap, reliable, fast and secure hosting?
You want fast support and action to every technical issue?
Freespirits is here for you :) - Don't look any further!

Offline
*****
Re: Bugs at 0.9.8.1156
« Reply #3 on: May 20, 2023, 12:45:42 PM »
I will test; haven't noticed any issues yet, but my servers are fairly static -- not a lot of user movement on them.

Offline
*
Re: Bugs at 0.9.8.1156
« Reply #4 on: May 20, 2023, 02:15:24 PM »
One more very important thing to check is the following parameter 

Code: [Select]
Quota Type:
It should be empty if your partition is ext4
or it should be 

Code: [Select]
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

Code: [Select]
/usr/local/cwp/.conf/quota_type.conf
Lastly run the following command to have your server rock again :)

Code: [Select]
/scripts/cwp_api account update_diskquota_all


Hope that will save the day to anyone having such problems  8)
You need a reliable hosting company for your website or your eshop?
Need a cheap, reliable, fast and secure hosting?
You want fast support and action to every technical issue?
Freespirits is here for you :) - Don't look any further!

Offline
*****
Re: Bugs at 0.9.8.1156
« Reply #5 on: May 21, 2023, 01:28:34 PM »
This error has nothing to do with the last update.