Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
CentOS-WebPanel Bugs / Re: Issues with PHP version swither (php_switch_v2)
« Last post by Linux on November 01, 2025, 03:54:51 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)
Again, you talk without knowing who you're talking to. But it's ok, maybe this is your limit.

If you started again the "buy pro" conversation I will let you know that there is the same problem on the pro version, so...

Still no fix for the problem.
22
CentOS-WebPanel Bugs / Re: Can't update linux OS because of mysql-common
« Last post by Linux on November 01, 2025, 03:49:35 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.
I'm the only person that has access to that server and I can tell you that neither I or anyone else installed MySQL. Maybe cwp scripts installed MySQL and I really wonder why.

From the beginning of the server install and config we use MariaDB v10.11.14.
23
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by overseer on November 01, 2025, 03:09:15 PM »
No, not limited to just the website DB -- I do mean ALL DB (including the root_cwp database, postfix DB, roundcube DB). On the original server to be migrated, issue this command:
Code: [Select]
mariadb-dump -u root -p --all-databases --system=users > all_DB.sqlThen SCP or rsync this all-inclusive SQL file over (it can be several GB large).
Then on the fresh AL9 system after re-creating all the user accounts, issue the reverse command to load in the DBs:
Code: [Select]
mariadb -u root -p < /path/to/all_DB.sqlThis worked for my CentOS 7.9 to AlmaLinux 8 migration.
24
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by Wonder on November 01, 2025, 12:15:47 PM »
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!

Hi,
I read your message carefully. I apologize for not replying sooner; forums fluctuate, and I've been quite busy this week.
When you mention backing up all the databases, I assume you mean the website databases, not the CWP databases themselves, correct? I know how to import emails and accounts using rsync, and I greatly appreciate your message, but... I'm not sure how to export/import the Postfix mailbox table to retain the password for each email account. However, when you say:
"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,"

If I recreate that database, is it a database restoration, a backup of the original, and then restoring it in CWP9? Is that correct? The same applies to the Roundcube database.

I assume so, but I'd prefer to be sure, although perhaps a test server would clear things up for me... Thanks again!
26
CentOS-WebPanel Bugs / Re: Firewall manager Disabled Bug
« Last post by lowconquer on October 30, 2025, 02:17:52 AM »
Yes, a known bug -- if you disable or restart the firewall via the CLI, the web GUI gets out of sync with its actual state. In other words, the devs need to test if it's running and display its actual current state.
 

Hello, I'm experiencing the problem described above with AlmaLinux 9 version with CWP Pro, and the proposed solution doesn't work. Is this common?
27
Apache / Re: rebuild vhosts
« Last post by overseer on October 29, 2025, 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!
28
MySQL / Re: MariaDB Password Reset Script Doesn't Work
« Last post by cyberspace on October 29, 2025, 09:35:29 AM »
Try following:

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`to
Code: [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.
29
Apache / Re: rebuild vhosts
« Last post by setecabanas on October 29, 2025, 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?.
30
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:
Code: [Select]
rpm -e --nodeps mysql-common mysql-libs mysql-devel
Pages: 1 2 [3] 4 5 ... 10