1
Apache / Re: rebuild vhosts
« Last post by overseer on Today at 12:10:16 PM »CWP's EL9 support is in beta, so one of the known bugs is that CWP Migration does not work on EL9 distributions. (You would need to use an EL8 distribution for full support.)
You should be able to manually migrate, no problem. I just had to manually migrate my last CentOS 7 server to AlmaLinux 8 because I was continually encountering a bug with CWP Migration (even though it's worked just fine for me for other servers). You dump all DB to a single SQL file, on the new server create the user accounts you are replicating, load the DB SQL on the new server and rsync in all your files -- /home and /var/vmail. (Also move any conf you want to carry over -- CSF firewall, Roundcube, nginx vhosts, DNS zone files, etc.).
https://wiki.centos-webpanel.com/how-to-manually-import-emails
But the postfix DB, particularly the mailbox table has all the end user PW hashes stored. So recreating that DB on the new server will get you all the user PW you need. No need to recreate any mail user accounts or aliases. Also bring over the roundcube DB for a seamless mail experience. Just make sure their /var/vmail IMAP storage is in place and all the references will point appropriately. Voila!
2
MySQL / Re: MariaDB Password Reset Script Doesn't Work
« Last post by cyberspace on Today at 09:35:29 AM »Try following:
1. Edit the file:
/scripts/mysql_pwd_reset
2. Find and change the line:
then run the script /scripts/mysql_pwd_reset to change the password.
1. Edit the file:
/scripts/mysql_pwd_reset
2. Find and change the line:
Code: [Select]
EL_VER=`rpm -qa \*-release | grep -Ei "oracle|redhat|centos|cloudlinux" | cut -d"-" -f3`toCode: [Select]
EL_VER=`rpm -qa \*-release | grep -Ei "oracle|redhat|centos|cloudlinux|epel"| head -n 1 | cut -d"-" -f3`then run the script /scripts/mysql_pwd_reset to change the password.
3
Apache / Re: rebuild vhosts
« Last post by setecabanas on Today at 08:22:36 AM »I´m creating a bash script to automate my new servers installations.
Thanks, I assume that's only possible in cwp panel.
One more thing, see if you can help me.
As in AL9 cwp migration tool not working.
What steps do you follow to migrate?
Do you create accounts manually in the new server and copy everything files, db and mails manually?.
Thanks, I assume that's only possible in cwp panel.
One more thing, see if you can help me.
As in AL9 cwp migration tool not working.
What steps do you follow to migrate?
Do you create accounts manually in the new server and copy everything files, db and mails manually?.
4
CentOS-WebPanel Bugs / Re: Can't update linux OS because of mysql-common
« Last post by overseer on October 28, 2025, 11:31:14 PM »You could follow this guide:
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/
The key takeaway is as part of the MariaDB upgrade process, you manually remove the mysql-common package first:
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/
The key takeaway is as part of the MariaDB upgrade process, you manually remove the mysql-common package first:
Code: [Select]
rpm -e --nodeps mysql-common mysql-libs mysql-devel5
CentOS-WebPanel Bugs / Re: Can't update linux OS because of mysql-common
« Last post by cyberspace on October 28, 2025, 10:27:51 PM »When you try to update OS tries to update various system packages and seems some package requires the package MariaDB-common but it conflicts with mysql-common. I do believe you installed MySQL manually.
In order to perform update I recommend the following route:
1. Make backups of the databases
2. Remove packages related with MySQL.
3. Install MariaDB
4. Restore databases if necessary (if you see some errors associated with databases in logs).
Please note you do it on your own risk.
In order to perform update I recommend the following route:
1. Make backups of the databases
2. Remove packages related with MySQL.
3. Install MariaDB
4. Restore databases if necessary (if you see some errors associated with databases in logs).
Please note you do it on your own risk.
6
CentOS-WebPanel Bugs / Re: Issues with PHP version swither (php_switch_v2)
« Last post by cyberspace on October 28, 2025, 10:09:39 PM »1. There are no errors. Please show us the whole log of the php compilation process.
2. To fix uploadprogress try to do following:
2. To fix uploadprogress try to do following:
Code: [Select]
cd /usr/local/src/
rm -rf uploadprogress*
wget https://pecl.php.net/get/uploadprogress
tar -xvzf uploadpogress-2*
cd uploadpogress*
phpize
configure
make
make install
7
CentOS-WebPanel Bugs / Re: Issues with PHP version swither (php_switch_v2)
« Last post by overseer on October 28, 2025, 09:38:16 PM »I lost 4 hours of trying to update PHP from 7.4.33 to at least 3, or 4 versions of PHP - and I still can't update to PHP 8.1.33.Your time must not be worth very much if you would rather spend 4 hours than $1/month for CWP Pro. (Time = Money)
8
CentOS-WebPanel Bugs / Re: Issues with PHP version swither (php_switch_v2)
« Last post by Linux on October 28, 2025, 06:30:08 PM »Well, you guys talk like you're the experts and instead of offering solutions for the issues, you talk bla bla's about paying "devs" and "sysadmins". Don't talk like that if you don't know who you're talking to. You have no idea who am I and what I do. Maybe I run a datacenter, who knows?
Still no fix for php_switch_v2. I'm talking about BUGS, you are talking about "harden a server security". Is this a joke?
P.S. in the past I paid for CWP PRO. I stopped doing that when I saw that the devs didn't fix things when they supposed to.
Still no fix for php_switch_v2. I'm talking about BUGS, you are talking about "harden a server security". Is this a joke?
P.S. in the past I paid for CWP PRO. I stopped doing that when I saw that the devs didn't fix things when they supposed to.
9
CentOS-WebPanel Bugs / Re: Can't update linux OS because of mysql-common
« Last post by Linux on October 28, 2025, 06:20:52 PM »Code: [Select]rpm -qa | grep mysql-common
yum remove mysql-common
yum remove mysql-common-8.0.43-1.module_el8.10.0+4049+06e4dcce.x86_64
Code: [Select]
No match for argument: mysql-common Dependencies resolved. Nothing to do. Complete!
Code: [Select]
No match for argument: mysql-common-8.0.43-1.module_el8.10.0+4049+06e4dcce.x86_64 Dependencies resolved. Nothing to do. Complete!
10
PHP / New ionCube Loaders for PHP - 15.0.0
« Last post by Starburst on October 28, 2025, 02:35:11 PM »FYI:
I know I'm late with this, but anyone who is running ionCube, they released a new version 15.0.0 on 2025-10-14
https://www.ioncube.com/loaders.php
I know I'm late with this, but anyone who is running ionCube, they released a new version 15.0.0 on 2025-10-14
https://www.ioncube.com/loaders.php
Recent Posts