11
How to / Re: How to upgrade nginx to the latest version
« Last post by 6Sense on November 06, 2025, 11:36:25 AM »Follow the instructions from @cbstudiomx post in https://forum.centos-webpanel.com/nginx/how-to-update-nginx-version-to-version-1-26-2/
It should update to the latest for you eg: 1.28
It should update to the latest for you eg: 1.28
12
How to / Re: How to upgrade nginx to the latest version
« Last post by Purelaise on November 05, 2025, 08:46:31 PM »I saw someone here updated direct through updates - but only up to 1.24, however 1.28 as a stable release is availble direct. Not sure what to do tbh.
13
Backup / Backup config not saving
« Last post by kokolino87 on November 05, 2025, 03:17:38 PM »This is a brand new AlmaLinux 9 + CWP (free) setup, installed as per instructions in documentation. When I try to save the backup configuration via GUI, it doesn't work and throws the following errors in error log:
Crontab entry saves, though:
58 16 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=100000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php
When I try to manually execute it via SSH it just exits, nothing happens.
How can I fix this? Thanks in advance!!
Quote
2025/11/05 17:12:31 [error] 874#0: *3 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: APACHE_INCLUDE_CONFI in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: APACHE_WEBSERVER_CONF in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: CONF_APACHE_SSL in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: CWP_CONFIG_BACKUP in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: DEFAULUSERBACKUP in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: DNS_ZONE_TEMPLATE in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: FREQUENCY_DETAILS in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: FTP_ACCOUNTS_BACKUP in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: FTP_FILE_SERVER in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined variable: _passftp in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: MAIL_SERVER_SETTINGS in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined variable: filecode in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: SETTINGS_MYSQL_SSL_PHP in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: AGGRESSIVENESS in /usr/local/c
2025/11/05 17:12:31 [error] 874#0: *3 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: BTN_EDIT in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: BTN_RUN in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: BTN_DEFAULT_USER in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0PHP message: PHP Notice: Undefined index: BTN_DELETE in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_backmanager.php on line 0" while reading response header from upstream, client: 78.83.116.88, server: localhost, request: "POST /cwp_fb2f32aed1011aadf890a9468f12647c/admin/loader_ajax.php?ajax=backmanager&acc=list HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "[HOSTNAME_REDACTED]:2031", referrer: "https://[HOSTNAME_REDACTED]:2031/cwp_fb2f32aed1011aadf890a9468f12647c/admin/index.php?module=backup_manager2"
Crontab entry saves, though:
58 16 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=100000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php
When I try to manually execute it via SSH it just exits, nothing happens.
How can I fix this? Thanks in advance!!
14
How to / Re: How to upgrade nginx to the latest version
« Last post by overseer on November 05, 2025, 02:40:48 PM »Sandeep's AlphaGNU forum is a good place for references like this. This is for Nginx 1.24 with TLS 1.3 support:
https://www.alphagnu.com/topic/47-how-to-enable-tls-13-in-cwp-nginx-reverse-proxy/
But this comment has details for getting brotli compression working and Nginx 1.28:
https://www.alphagnu.com/topic/10-enable-brotli-compression-on-nginx-cwp-and-on-linux-os-for-official-nginx/#comment-12
I do have one dedicated server that runs Nginx (others I manage run Apache), so I am about to make this leap myself (take a deep breath, plunge!)...
https://www.alphagnu.com/topic/47-how-to-enable-tls-13-in-cwp-nginx-reverse-proxy/
But this comment has details for getting brotli compression working and Nginx 1.28:
https://www.alphagnu.com/topic/10-enable-brotli-compression-on-nginx-cwp-and-on-linux-os-for-official-nginx/#comment-12
I do have one dedicated server that runs Nginx (others I manage run Apache), so I am about to make this leap myself (take a deep breath, plunge!)...
15
How to / How to upgrade nginx to the latest version
« Last post by Purelaise on November 05, 2025, 01:16:52 PM »Hi Folks,
Does anyone have a clear guide on upgrading nginx without bringing the webserver to a halt? I am running Alma 8 and ideally would like to be as up to date as possible.
Thanks
Does anyone have a clear guide on upgrading nginx without bringing the webserver to a halt? I am running Alma 8 and ideally would like to be as up to date as possible.
Thanks
16
CSF Firewall / Re: Firewall off in cwp panel
« Last post by NIIcK on November 05, 2025, 12:23:00 PM »I had the same issue; it turned out that lfd was not starting because of an error "Unrecognized character \xE2" in /usr/local/csf/bin/regex.custom.pm lines 26 and 28.
You can check its status with: tail -f /var/log/lfd.log -> it seems that the csf -e command will only check if the services are enabled but will not report if they are actually running or not.
Basically all I needed to do was to change the “ ” to " " and lfd started again.
I hope it works for you.
You can check its status with: tail -f /var/log/lfd.log -> it seems that the csf -e command will only check if the services are enabled but will not report if they are actually running or not.
Basically all I needed to do was to change the “ ” to " " and lfd started again.
I hope it works for you.
17
Installation / Re: Best solution for migrate active server from Centos 7 to another distro
« Last post by Netino on November 05, 2025, 12:13:23 AM »You could try to ELevate the system, but Sandeep (a CWP dev) recommends against it (it can introduce inexplicable oddities). The best course is to install a fresh AlmaLinux 8 system and use CWP Migration to move all accounts, sites, and e-mails over to the new server. If you are very knowledgeable, you could try to manually migrate to AlmaLinux 8 or 9:
I would agree with this solution, but this simply would not work in OpenVZ, OpenVirtuozzo, or alike systems.
He needs to know their system.
Or put the details here.
Regards,
Netino
18
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by Wonder on November 04, 2025, 05:24:42 PM »Do both -- stop the old server's mail, run another rysnc run, then switch DNS, perhaps even one more rsync run (5 min or less). But if the mail service is stopped, it shouldn't be taking in any new mail. Mail will just sit in other servers' outgoing mail queues until your new server becomes available at the DNS address they are looking for.
That's exactly a question I've always had, and I think you've answered it:
"If the mail service is stopped, it shouldn't receive any new emails. The emails will simply remain in the outgoing mail queues of other servers until your new server is available at the DNS address they're looking for."
I'll do what you suggested; a final rsync won't hurt, but as you mentioned, it shouldn't receive anything if I stop the mail server.
Thanks again!
19
CentOS-WebPanel Bugs / Re: Can't update linux OS because of mysql-common
« Last post by overseer on November 04, 2025, 05:23:14 PM »What OS did you install? It's best to start with a clean AlmaLinux DVD install (not minimal and not with any options such as the LAMP profile). System-provided http (Apache) will interfere with CWP's installer script and also you don't want competing MySQL versions that interfere with the recommended MariaDB install, nor a PHP provided by another means than what CWP is offering.
20
CentOS-WebPanel Bugs / Re: Can't update linux OS because of mysql-common
« Last post by Linux on November 04, 2025, 12:04:51 PM »More than likely you have a LAMP installed and that's why you are having problems with the DB and PHP...Does cwp installation script install LAMP? You know it doesn't so I really don't understand why you would think about that...
It was a freshly installed cwp server 3 months ago with no mods.
Recent Posts