Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - overseer

Pages: 1 ... 76 77 [78] 79 80
1156
Information / Re: Future of CWP?
« on: January 07, 2023, 11:18:56 PM »
Let me chime in and say, I'm totally on board the CWP train for any of my servers that need LAMP/LEMP functionality (i.e. general purpose web server). It has enabled me to ditch the monthly cPanel tax, as its cPanel -> CWP migration feature, while not flawless was functional. So over the last several years I have become more and more familiar with its internal plumbing, after being on cPanel/WHM for the last decade before that. So while there are some bugs and issues, it is totally workable and affordable.

Even with Red Hat pulling the rug out from under us with CentOS support ending, we have viable alternatives with RockyLinux and AlmaLinux. (I don't really count CentOS 8 Stream being a viable alternative to the stability and long term support offered by CentOS 6 and now CentOS 7.) So I look forward to migrating to either Rocky or Alma before June 2024 when CentOS 7 is EOL.

So welcome to CWP -- enjoy the ride!

1157
Information / Re: Gateway timeout 504 on nginx + apache
« on: January 07, 2023, 11:06:56 PM »
Anecdotally, nginx seems more like that canary that is prone to producing 504 gateway errors. I have had few errors with apache-based servers. My server which uses nginx produces them far more frequently -- enough to be noticeable, for sure.

1158
Information / Re: error ? daily backup
« on: January 07, 2023, 10:39:21 PM »
Do you have sufficient backup space to complete the daily backup? I backup e-mails offsite & off-server, since some e-mail users are packrats and a couple of accounts have 75+GB of e-mail! At least Dovecot has message compression available!

1159
Information / Re: Virus on some websites hosted on cwp server
« on: January 07, 2023, 10:36:52 PM »
I've had to clean up web shells and also spam sources on various WordPress installs over the years. This is not uncommon and requires much vigilance, as WordPress is a huge attack vector since it makes up such a large percentage of web sites. Here's a recent article about the latest wave. It ends with some salient advice:
Quote
WordPress plugins have long been a common means for infecting sites. While the security of the main application is fairly robust, many plugins are riddled with vulnerabilities that can lead to infection. Criminals use infected sites to redirect visitors to sites used for phishing, ad fraud, and distributing malware.

People running WordPress sites should ensure that they’re using the most current versions of the main software as well as any plugins. They should prioritize updating any of the plugins listed above.

1160
Information / Re: disk r/w io speed
« on: January 07, 2023, 10:30:12 PM »
50MB/sec is likely from a very loaded RAID array shared amongst many VPS users, using older disk technology. They are likely overselling and over-provisioning users to get as many accounts on a single server as possible. Most providers nowadays are using SSDs unless you need a LOT of online storage, which then makes more sense to use "spinning rust." But then again, I'm running my own servers at a colocation facility, so I have RAID SSDs and backup HDs tuned to my configuration needs! So I/O blocking is not so much an issue for me.

1161
Information / Re: Alma Linux 9 Support ETA?
« on: January 07, 2023, 10:23:15 PM »
Likewise, any updates re: AlmaLinux and RockyLinux support would be appreciated. With just over a year to plan a migration from CentOS 7 before it is EOL (2024.06), I would like to have security knowing I can convert my live systems after testing and they will be largely bug free and fully functional!

1162
Information / Re: CentOS Server Log Files Location
« on: January 07, 2023, 10:20:17 PM »
I would suggest changing all log files to be in the form of logfile_name.log
as you have done with the /var/log/cwp_client_login.log file.
Various log readers handle the files better with a .log extension, making them double-clickable if you download a copy of the log or are tailing it via SSH in a log reader. This pertains to the log files in /usr/local/cwpsrv/logs:
Code: [Select]
-rw-r--r--   1 root root     45026 Jan  7 05:35 2304_access_log
-rw-r--r--   1 root root    151365 Jan  7 05:35 2304_error_log
-rw-r--r--   1 root root 568702955 Jan  7 14:13 access_log
-rw-r--r--.  1 root root 420969877 Jan  7 14:13 error_log
Simply amend their naming convention:
Code: [Select]
-rw-r--r--   1 root root     45026 Jan  7 05:35 2304_access.log
-rw-r--r--   1 root root    151365 Jan  7 05:35 2304_error.log
-rw-r--r--   1 root root 568702955 Jan  7 14:13 access.log
-rw-r--r--.  1 root root 420969877 Jan  7 14:13 error.log

1163
Information / Re: CWP 0.9.8.1147 on AlmaLinux 9.1
« on: January 07, 2023, 10:09:49 PM »
One CentOS 7 server I have uses PHP 7.1.33 just for CWP -- it's not broken, works fine. That way you can update 7.4 for other sites and not risk breaking the web GUI. But now that other servers I have are running PHP 7.4.x for CWP, I'll probably switch that one over, too.

I appreciate anyone posting about their experiences with AlmaLinux and RockyLinux. I'll do a test conversion at some point with a duplicate VM and see what my experience is like. At least we have until June 30th, 2024 before CentOS 7 is EOL.

1164
Information / Re: Reseller quota limit
« on: January 07, 2023, 10:04:29 PM »
If you have to, you could create 1:1 reseller package to username as a work around.
reseller_01 = user_01
reseller_02 = user_02

And so forth. I am not doing reselling, so I can't test this concretely -- but it should work if not too many accounts!

1165
Information / Re: how to change the username of a hosting account?
« on: January 07, 2023, 10:01:10 PM »
I would have to concur. I have done this on one CWP server for one account and decided it was not worth the trouble for what amounts to a cosmetic label that only you see. The largest gotcha is that you would have to change each of the DB names (and sometimes corresponding table prefixes).

1166
Information / Re: Strange usernames in User Quota section
« on: January 07, 2023, 09:57:57 PM »
Oddly, on 3 different servers, my User Quota section is blank:
?module=user_quota
and suggests editing hosting packages instead:
Quote
User Quota
You can change the user quota by editing packages.

Your list with UIDs instead of usernames looks like migrated users that don't have a current association on the server. Particularly the #1027 user with the 20GB quota looks to be a migrated GUI user from another system.

1167
Information / Re: User or account usage
« on: January 07, 2023, 09:50:16 PM »
User Accounts > List Acccounts
then under the Disk Usage column, click on the More details icon.

1168
Scripts / Re: concrete example
« on: January 07, 2023, 09:18:57 PM »
Concrete answer to original poster:
Code: [Select]
/scripts/cwp_api account unsuspend_user USERNAME
Other examples for the API on this wiki page.


1169
Scripts / Re: update_cwp
« on: January 07, 2023, 09:09:04 PM »
I there is a fix for this issue

Code: [Select]
[root@server scripts]# sh update_cwp
update_cwp: line 1: /usr/local/cwp/php54/bin/php: No such file or directory
Use a more modern PHP version such as 7.4. If you have some particular need, you could even use PHP 7.1 just for CWP, internal to the server.

1170
CentOS-WebPanel GUI / Re: End run
« on: January 07, 2023, 08:15:07 PM »
Okay, this got so tiresome I did an end run around the problem. With uBlock Origin, create a custom filter:
Code: [Select]
! 2023-01-01 https://yourserver.net:2031
yourserver.net##.alert-danger.alert
So you will no longer see any of the alert-danger class of banner notifications, but currently this is the only one I am seeing... YMMV.

Pages: 1 ... 76 77 [78] 79 80