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 ... 39 40 [41] 42 43 ... 71
601
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:
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

602
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.comWhich 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]

603
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.

604
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?

605
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.

606
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.

607
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

608
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.)

609
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
Code: [Select]
yum -y update every morning before I get into the office, so I never see update notices much anymore.

610
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!

611
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!!

612
MySQL / Re: New MariaDB 11.0.x version gives error
« on: June 12, 2023, 02:21:39 AM »
Oh man, if YOU can't figure it out, we're all lost. I'm on 10.6.14 long term release, so I'll stay put until the frontrunners figure it out!

613
Information / Re: Service of update DDNS
« on: June 08, 2023, 02:01:19 PM »
I've been watching CWP7 for a while and now I'm about to migrate 10 servers that currently use WHM/CPANEL to CWP7...
You won't be sorry! Once cPanel increased their monthly fees with their great ca$h grab a few years back, I ditched them and migrated a dedicated server, a VPS, a reseller account account, and a couple of single cPanel accounts to CWP. I have not looked back!

You do realize your servers need to be on static IPs, right? And it's on the client side that you need DDNS? Many DDNS services have clients for any platform, or you can use a curl or wget script run by cron to update IPs. As Igor says, that's beyond the scope of CWP -- but shouldn't be a deal-killer as you can work around it.

614
Other / Re: cronjop problem
« on: June 06, 2023, 02:17:58 PM »
Note that running just "php" from a shell session will likely run it under the default CWP php 7.2 version with its modules and environment. You would likely want to run your cronjobs.php via whatever is your default PHP version. So if you are running 8.0 under php-fpm, then it would be:
Code: [Select]
/opt/alt/php-fpm81/usr/bin/php -q /home/uzman/public_html/coremio/cronjobs.php

615
MySQL / Re: User "Any" in phpmyadmin
« on: June 06, 2023, 02:12:50 PM »
Which DB? Probably an erroneous entry from an errant SQL query somewhere along the line...

Pages: 1 ... 39 40 [41] 42 43 ... 71