11
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
12
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.
13
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
14
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!
15
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.
16
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.
17
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by overseer on November 03, 2025, 10:05:05 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.
18
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by Wonder on November 03, 2025, 09:51:02 PM »That's right, that's the idea, and that's how I usually proceed when doing migrations.
Sometimes the migration involves changing VPSs. The server is the same, same domain, same everything, but... the new VPS has better performance for the price.
So, at that point, I have both: the one in production and the new one. As you correctly mentioned, the new one is fully configured and ready, so I just need to migrate the CWP account to the CWP account. I'm behind Cloudflare and I do it at a time that won't cause any disruption. It's just a matter of changing the DNS settings in Cloudflare, and as you said, it doesn't take more than 5 minutes for the new one to be active.
But... this is where I had my doubts, mainly because I had no idea how to migrate the email accounts and their passwords. And this is where, thanks to you, I can do it.
Right now, I have a server set up with AL9 and CWP9, properly and perfectly configured, and I'm going to try it there. I'm using it as a server for this test; if it works, it'll stay, thanks to... it's perfectly configured.
However, the server has many email accounts, which is what worries me most. I'll have to either stop the mail server somehow or simply run another rsync from the old one to the new one.
Thanks!!!
Sometimes the migration involves changing VPSs. The server is the same, same domain, same everything, but... the new VPS has better performance for the price.
So, at that point, I have both: the one in production and the new one. As you correctly mentioned, the new one is fully configured and ready, so I just need to migrate the CWP account to the CWP account. I'm behind Cloudflare and I do it at a time that won't cause any disruption. It's just a matter of changing the DNS settings in Cloudflare, and as you said, it doesn't take more than 5 minutes for the new one to be active.
But... this is where I had my doubts, mainly because I had no idea how to migrate the email accounts and their passwords. And this is where, thanks to you, I can do it.
Right now, I have a server set up with AL9 and CWP9, properly and perfectly configured, and I'm going to try it there. I'm using it as a server for this test; if it works, it'll stay, thanks to... it's perfectly configured.
However, the server has many email accounts, which is what worries me most. I'll have to either stop the mail server somehow or simply run another rsync from the old one to the new one.
Thanks!!!
19
Installation / Re: Best solution for migrate active server from Centos 7 to another distro
« Last post by overseer on November 03, 2025, 03:46:58 PM »Funny, I thought that was an AI bot posting about AI. But maybe it was just a shill trying to "organically" advertise. Too bad you can't look at user profiles anymore here to see how many posts or how long ago the account was registered...
20
Dovecot / Re: Can I Route Only Bounce-Back Emails to a Different Mailbox
« Last post by Starburst on November 03, 2025, 01:05:00 PM »I can be done. Yes, kinda.
Can it be done easily. No.
It would involved creating a filter in Dovecot, and then specify a header keyword to redirect the email.
Kinda the same way you would do it in an email client.
Can it be done easily. No.
It would involved creating a filter in Dovecot, and then specify a header keyword to redirect the email.
Kinda the same way you would do it in an email client.
Recent Posts