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.
976
CentOS 7 Problems / Re: The connection is disconnecting
« on: June 25, 2023, 01:40:31 PM »
If you want to PM me your server IP address or main domain, I can test remotely to see if it is accessible or if it periodically is inaccessible. Otherwise, given the scant details, it's hard to know how to help you troubleshoot from afar.
977
Information / Re: CWP AWSTATS
« on: June 25, 2023, 04:09:45 AM »
I'll give you my recommendation: Webalizer. I switched to it years ago and never looked back. AWStats was klunky by comparison. Webalizer is fast and detailed and strikes a good balance of info (very high, intuitive) vs. performance cost (very low).
978
CentOS-WebPanel Bugs / Re: webpages is halted by the combination of NGINX and PHP-FRM
« on: June 24, 2023, 03:39:14 PM »
I added in the fastcgi tuning specifically for the Drupal installation, but some of the principles apply to WP sites, particularly loaded ones. You need to look for the block in your Nginx vhost conf that includes your php-fpm socket:
Code: [Select]
/opt/alt/php-fpm74/usr/var/sockets/user.sock
And that's where you put in the fastcgi tuning directives (buffers, timeouts).
979
CentOS 7 Problems / Re: The connection is disconnecting
« on: June 24, 2023, 03:30:57 PM »
MikroTik is a router hardware company... I run one of their hEX gigabit routers. So I am puzzled what you mean, unless you are simply talking about their Winbox software, which shouldn't affect your connection or CentOS server...
980
CentOS-WebPanel Bugs / Re: webpages is halted by the combination of NGINX and PHP-FRM
« on: June 24, 2023, 03:45:59 AM »
Are your nginx conf files tuned according to the WP "recipe" from Nginx.com?
https://www.nginx.com/resources/wiki/start/topics/recipes/wordpress/
In your nginx vhost conf, do you do any buffer & timeout tuning? This is one I use with a Drupal site, so YMMV:
Anything special in your php-fpm7.4 user.conf?
https://www.nginx.com/resources/wiki/start/topics/recipes/wordpress/
In your nginx vhost conf, do you do any buffer & timeout tuning? This is one I use with a Drupal site, so YMMV:
Code: [Select]
fastcgi_pass unix:/opt/alt/php-fpm74/usr/var/sockets/user.sock;
fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
try_files $fastcgi_script_name =404;
fastcgi_index update.php;
include fastcgi_params;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
# Block httpoxy attacks. See https://httpoxy.org/.
fastcgi_param HTTP_PROXY "";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param QUERY_STRING $query_string;
fastcgi_intercept_errors on;
}
Anything special in your php-fpm7.4 user.conf?
Code: [Select]
[user]
listen = /opt/alt/php-fpm74/usr/var/sockets/user.sock
listen.allowed_clients = 127.0.0.1
;listen.owner = "user"
listen.group = "nobody"
listen.mode = 0660
user = "user"
group = "user"
;request_slowlog_timeout = 15s
;slowlog = /opt/alt/php-fpm74/usr/var/log/php-fpm-slowlog-user.log
pm = ondemand
pm.max_children = 4
pm.max_requests = 4000
pm.process_idle_timeout = 15s
;listen.backlog = -1
;request_terminate_timeout = 0s
rlimit_files = 131072
rlimit_core = unlimited
catch_workers_output = yes
env[HOSTNAME] = $HOSTNAME
env[TMP] = /home/user/tmp
env[TMPDIR] = /home/user/tmp
env[TEMP] = /home/user/tmp
env[PATH] = /usr/local/bin:/usr/bin:/bin
981
SSL / Re: Subdomain has been deleted but SSL keep trying to renew
« on: June 24, 2023, 03:35:58 AM »Code: [Select]
/root/.acme.sh/cwp_certs/
As an example, you would delete the offending domain:Code: [Select]
rm -rf /root/.acme.sh/cwp_certs/www.domain.com
Which removes the domain configuration, certificates and keys -- so make SURE you want to do this:[root@srv]# ls -al /root/.acme.sh/cwp_certs/www.domain.com
total 40
drwxr-xr-x. 3 root root 211 Apr 1 2021 .
drwxr-xr-x. 89 root root 4096 Jun 21 22:22 ..
drwxr-xr-x. 2 root root 58 Apr 1 2021 backup
-rw-r--r--. 1 root root 3751 May 23 00:42 ca.cer
-rw-r--r--. 1 root root 5682 May 23 00:42 fullchain.cer
-rw-r--r--. 1 root root 1931 May 23 00:42 www.domain.com.cer
-rw-r--r--. 1 root root 918 May 23 00:42 www.domain.com.conf
-rw-r--r--. 1 root root 1094 May 23 00:42 www.domain.com.csr
-rw-r--r--. 1 root root 259 May 23 00:42 www.domain.com.csr.conf
-rw-r--r--. 1 root root 1679 Apr 1 2021 www.domain.com.key]
982
Information / Re: Future of CWP?
« on: June 22, 2023, 03:18:49 AM »
AlmaLinux and Rocky Linux both offer migration paths. Seemingly, AlmaLinux offers a more flexible migration script, but Rocky would be workable by my reading. CentOS Stream is a dead end for a server: a rolling release that will never truly stabilize, no matter how you try to pin a delayed repo. You continue to ride the whitewater, forever.
983
CentOS-WebPanel Bugs / Re: webpages is halted by the combination of NGINX and PHP-FRM
« on: June 22, 2023, 03:10:46 AM »
Are your pages database driven or static? Is the web page managed by a CMS like WordPress? Have you tuned the process timeouts in the vhost conf? Anything special done to tune your php-fpm 7.4? Is it just under a specific user account, or does it affect all users on the server?
984
SSL / Re: Subdomain has been deleted but SSL keep trying to renew
« on: June 22, 2023, 03:08:05 AM »
Is the subdomain still listed as an orphan under Webserver Settings > SSL Certificates? If so, delete it. Otherwise, you may need to manually delete the LetsEncrypt/AutoSSL config file.
985
CentOS-WebPanel Bugs / Re: Emails screen not loading
« on: June 22, 2023, 03:04:23 AM »
Yes, the devs need to better sanitize the input of the forwarders creation form so you can't create something with illegal characters or that don't parse & display correctly. Please file a bug report so it can get addressed in a future release.
986
CentOS-WebPanel GUI / Re: Dark Mode For Admin
« on: June 19, 2023, 01:46:31 PM »
There is a script to make the CSS for the admin panel dark:
https://forum.centos-webpanel.com/index.php?topic=3921.0
and my revised version is on this thread:
https://forum.centos-webpanel.com/index.php?topic=1487.0
https://forum.centos-webpanel.com/index.php?topic=3921.0
and my revised version is on this thread:
https://forum.centos-webpanel.com/index.php?topic=1487.0
987
CentOS 7 Problems / Re: SSH connection Access Denied
« on: June 17, 2023, 10:53:53 PM »
In the interest of security, I recommend NOT allowing root logins via SSH. Instead, create a non-CWP controlled sudo user with useradd. Then allow that user SSH access via either of the directives in /etc/ssh/sshd_config below:
Code: [Select]
AllowUsers foo
AlloGroups wheel
PermitRootLogin no
Then you ssh in on your alternate port (good for you!) as the other user, then either one of these will switch you to the root user:Code: [Select]
su root
sudo -s
(I prefer the latter, as all environmental variables are shared with the newly elevated privileges -- instead of treating root like a separate user that you login as and function as -- you're just you gaining super powers.)
988
Updates / Re: Yum Manager repeating same Varnish updates daily
« on: June 15, 2023, 07:27:37 AM »
Try cleaning your yum cache. If it's really annoying, remove & reinstall your varnish version.
Personally, I have cron running
Personally, I have cron running
Code: [Select]
yum -y update
every morning before I get into the office, so I never see update notices much anymore.
989
Installation / Re: Rocky Linux 9
« on: June 15, 2023, 07:24:53 AM »
EL9 support is being added, according to the devs. But there are still issues, so be patient with Rocky 9 or AlmaLinux 9.
The best OS for CWP is actually still CentOS 7.9, but that is a dead end road, so I wouldn't recommend starting in with that release EOL in ~1 yr. I think you're best off with EL8 release for a new install like Rocky 8 or AlmaLinux 8. With those you have migration scripts, so you should be able to "crossgrade" between distributions if another becomes the clear favorite. My personal plan is to hold out on CentOS 7.9 until next spring and then migrate to AlmaLinux 9. CWP should be fully ready to go by then!
The best OS for CWP is actually still CentOS 7.9, but that is a dead end road, so I wouldn't recommend starting in with that release EOL in ~1 yr. I think you're best off with EL8 release for a new install like Rocky 8 or AlmaLinux 8. With those you have migration scripts, so you should be able to "crossgrade" between distributions if another becomes the clear favorite. My personal plan is to hold out on CentOS 7.9 until next spring and then migrate to AlmaLinux 9. CWP should be fully ready to go by then!
990
CentOS 9 Problems / Re: RHEL varient support update?
« on: June 12, 2023, 02:24:16 AM »
Josemnunez had said the dev team was hard at work on EL9 support. I am hopeful it will be ready (and stable) by springtime when it's time for the great switchover from CentOS 7.9 as the EOL apocalypse draws night!!