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.
676
Migration from other control panels / Re: CWP to CWP Migration (upgrading RHEL7 to 8) - What a mess!
« on: August 23, 2023, 05:58:03 PM »
What we did when upgrading from CentOS 7 to AlmaLinux 8 was bring up a temporary server (with a different hostname), used the CWP to CWP Migration tool to move the accounts, imaged the server (for backup), then did a fresh install of AL 8 and migrated the accounts back over.
Yes, it was a pain.
But no data was lost, and it was done within our maintenance window.
Backup & Restore is a great tool if a client messes something up, you can restore their website backup to how it was the previous day, week, month, etc.
Yes, it was a pain.
But no data was lost, and it was done within our maintenance window.
Backup & Restore is a great tool if a client messes something up, you can restore their website backup to how it was the previous day, week, month, etc.
677
Migration from other control panels / Re: CWP to CWP Migration (upgrading RHEL7 to 8) - What a mess!
« on: August 23, 2023, 12:37:27 AM »
Hate to say it, but support is correct.
You're asking them to do sys admin work.
Why did you name the new server with the same hostname?
You never do this, because it will always cause conflicts.
You could have name it something like hostname2 temporarily, moved the accounts, shut the old server down, then rename the new server to the old hostname and update your DNS A records.
The Backups & Restores are meant for the same server, so if a client deletes something, a restore can be done.
You're asking them to do sys admin work.
Why did you name the new server with the same hostname?
You never do this, because it will always cause conflicts.
You could have name it something like hostname2 temporarily, moved the accounts, shut the old server down, then rename the new server to the old hostname and update your DNS A records.
The Backups & Restores are meant for the same server, so if a client deletes something, a restore can be done.
678
Updates / Re: yum -y update ///
« on: August 23, 2023, 12:25:37 AM »
That's not from CWP.
Again their repo is for 10.4 Only:
cat > /etc/yum.repos.d/mariadb.repo
# MariaDB 10.4 CentOS repository list - created 2020-06-23 23:26 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
This is directly from the Install script (cwp-el8-latest), and would have to be MANUALLY modified to another version.
NOTE: See how CWP even uses the CentOS version of MariaDB, not EL8.
It is one of the things we change after the install, we follow the wiki, and upgrade it to 10.11.x
All of our servers are running AlmaLinux 8.x, and it is NOT an upgrade from AL either.
SPAMMING the forum with your same question about some other non-CWP script you ran and corrupted your install isn't going to gain you any help or support.
Do a FRESH MINIMAL INSTALL and follow the install instructions, and leave it alone.
Again their repo is for 10.4 Only:
cat > /etc/yum.repos.d/mariadb.repo
# MariaDB 10.4 CentOS repository list - created 2020-06-23 23:26 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
This is directly from the Install script (cwp-el8-latest), and would have to be MANUALLY modified to another version.
NOTE: See how CWP even uses the CentOS version of MariaDB, not EL8.
It is one of the things we change after the install, we follow the wiki, and upgrade it to 10.11.x
All of our servers are running AlmaLinux 8.x, and it is NOT an upgrade from AL either.
SPAMMING the forum with your same question about some other non-CWP script you ran and corrupted your install isn't going to gain you any help or support.
Do a FRESH MINIMAL INSTALL and follow the install instructions, and leave it alone.
679
Updates / Re: yum -y update ///
« on: August 22, 2023, 08:21:36 PM »
Yea, that's not how yum/dnf update works.
Not to mention your post shows some kind of script was run - "error: %prein(MariaDB-server-11.0.3-1.el8.x86_64) scriptlet failed, exit status 1"
MySQL doesn't get installed with CWP, or even with the minimal install of AL 8 or 9.
Something else was done manually, since when you should be running dnf (not yum on 8.x/9.x) it refers to the .repo file for the version to be downloaded/updated.
By Default CWP installs MariaDB 10.4.x and the .repo for only that version.
Once you manually upgrade from MariaDB 10.11.x to 11.x, downgrading isn't really an option.
Best option is to start with a fresh minimal install as you should, and follow the step to step install guide that starts at:
https://control-webpanel.com/installation-instructions#step1
Not to mention your post shows some kind of script was run - "error: %prein(MariaDB-server-11.0.3-1.el8.x86_64) scriptlet failed, exit status 1"
MySQL doesn't get installed with CWP, or even with the minimal install of AL 8 or 9.
Something else was done manually, since when you should be running dnf (not yum on 8.x/9.x) it refers to the .repo file for the version to be downloaded/updated.
By Default CWP installs MariaDB 10.4.x and the .repo for only that version.
Once you manually upgrade from MariaDB 10.11.x to 11.x, downgrading isn't really an option.
Best option is to start with a fresh minimal install as you should, and follow the step to step install guide that starts at:
https://control-webpanel.com/installation-instructions#step1
680
Updates / Re: yum -y update ///
« on: August 22, 2023, 05:04:59 PM »
Yes, I posted about that, that upgrading to MariaDB 11.x doesn't work.
Maria 10.11.x does though.
Nothing should have upgraded to 11.x unless you changed the mariadb.repo to download & install 11.x.
Not sure where you got those instructions from, but they are wrong for CWP.
The official MariaDB upgrade instructions can be found at: https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version
Where it is only safe to change the .repo up to 10.11
Maria 10.11.x does though.
Nothing should have upgraded to 11.x unless you changed the mariadb.repo to download & install 11.x.
Not sure where you got those instructions from, but they are wrong for CWP.
The official MariaDB upgrade instructions can be found at: https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version
Where it is only safe to change the .repo up to 10.11
681
Information / Re: Offical ipv6 Support?
« on: August 19, 2023, 10:14:20 PM »
Yes, the IPv6 is in the Apache vhost conf.
PHP doesn't care one way or another.
PHP doesn't care one way or another.
682
How to / Re: how to secure CentOS server using CWP features
« on: August 19, 2023, 04:18:10 AM »
You can also use Cloudflare to help sort out some.
This is always recommended as an additional layer of protection.
Also following the guide at:
https://www.alphagnu.com/topic/43-disable-php-mail-function-in-cwp-%E2%80%93-control-webpanel/
Helps mitigate any malicious scripts.
Managing a server has never been easy.
This is always recommended as an additional layer of protection.
Also following the guide at:
https://www.alphagnu.com/topic/43-disable-php-mail-function-in-cwp-%E2%80%93-control-webpanel/
Helps mitigate any malicious scripts.
Managing a server has never been easy.
683
Information / Re: Offical ipv6 Support?
« on: August 19, 2023, 04:12:18 AM »
You can use chattr to lock/unlock any files you choose to.
684
Information / Re: Offical ipv6 Support?
« on: August 18, 2023, 08:44:39 PM »
@dbmtr
I understand your frustration, the cure for now that we use is to lock the .conf files.
The updates also mess up the setting we need for the mirror servers we run.
Here is what we do:
cd /usr/local/apache/conf/
chattr +i *.conf
cd /usr/local/apache/conf.d/vhosts/
chattr +i *.conf
or you can do chattr +i /usr/local/apache/conf.d/vhosts/*.conf
I always like to make sure I'm in the right folder.
But if you have to do a change, you have to run the opposite chattr -i, make the changes, then relock.
I understand your frustration, the cure for now that we use is to lock the .conf files.
The updates also mess up the setting we need for the mirror servers we run.
Here is what we do:
cd /usr/local/apache/conf/
chattr +i *.conf
cd /usr/local/apache/conf.d/vhosts/
chattr +i *.conf
or you can do chattr +i /usr/local/apache/conf.d/vhosts/*.conf
I always like to make sure I'm in the right folder.
But if you have to do a change, you have to run the opposite chattr -i, make the changes, then relock.
685
Information / Re: forbidden
« on: August 18, 2023, 04:14:26 PM »
Creating a New Topic here on the forums?
Details are needed so people can help.
Details are needed so people can help.
686
MySQL / Re: mariadb 10.6 update
« on: August 17, 2023, 08:51:59 PM »
If you are using AlmaLinux/Rocky Linux 8.x use RHEL 8.x
Make sure to follow the guide at: https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version
Just replace the example of 10.5 with the version you want to upgrade to.
Again, make sure you follow it step by step so you won't have problems.
You can also use MariaDB repo config at: https://mariadb.org/download/?t=repo-config
Make sure to follow the guide at: https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version
Just replace the example of 10.5 with the version you want to upgrade to.
Again, make sure you follow it step by step so you won't have problems.
You can also use MariaDB repo config at: https://mariadb.org/download/?t=repo-config
687
Installation / Re: facing errors on CWP installation
« on: August 16, 2023, 10:28:26 PM »
CentOS 8 is already dead, thanks to RedHat.
I would recommend, again, AlmaLinux 8.x or Rocky Linux 8.x, both of which are free.
You can also try to upgrade from CentOS 7 to AlmaLinux using Elevate: https://almalinux.org/elevate/
I would recommend, again, AlmaLinux 8.x or Rocky Linux 8.x, both of which are free.
You can also try to upgrade from CentOS 7 to AlmaLinux using Elevate: https://almalinux.org/elevate/
688
CentOS-WebPanel GUI / Re: CWP Pro not activated after changing IP
« on: August 16, 2023, 10:24:37 PM »
Well that explains why it's not updating.
Your enp0s4 needs to be your new IP you want to license to, and should be a static IP.
Again, the CWP license it tied Only to the Base IP.
It doesn't care about any other configured IP's on the server.
Your enp0s4 needs to be your new IP you want to license to, and should be a static IP.
Again, the CWP license it tied Only to the Base IP.
It doesn't care about any other configured IP's on the server.
689
CentOS Configuration / Re: Pages randomly not loading fully
« on: August 16, 2023, 10:19:13 PM »
If you have the option, I would create an image of the server.
Then you can follow the guide at: https://almalinux.org/elevate/
Bu with everything to do with computers, Create A Backup or better an Image before doing anything.
Then you can follow the guide at: https://almalinux.org/elevate/
Bu with everything to do with computers, Create A Backup or better an Image before doing anything.
690
CentOS Configuration / Re: Pages randomly not loading fully
« on: August 15, 2023, 03:52:38 PM »
New installs should be using AlmaLinux 8.x or Rocky Linux 8.x as a suggestion.
For some reason it seems like some of the CentOS 7 files are missing or depreciated, and hence causing problem on new installs not using images.
CentOS 7.x is EOL in June 2024.
But with what RedHat has been doing lately, I wouldn't really even count on that.
Also if you have Mod Security enabled, try changing it from OWASP to Comodo WAF.
For some reason it seems like some of the CentOS 7 files are missing or depreciated, and hence causing problem on new installs not using images.
CentOS 7.x is EOL in June 2024.
But with what RedHat has been doing lately, I wouldn't really even count on that.
Also if you have Mod Security enabled, try changing it from OWASP to Comodo WAF.