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.
31
Information / Re: Alma Linux 9 Support ETA?
« on: August 28, 2023, 05:33:10 AM »
Don't see why not.
AlmaLinux 9 and Rocky Linux 9 will probably both be supported, just like their current version 8 is.
AlmaLinux 9 and Rocky Linux 9 will probably both be supported, just like their current version 8 is.
32
SSL / Re: SSL not active on server IP, how to activate it
« on: August 25, 2023, 05:59:44 PM »
There is a good Wiki guide at: https://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt
For it to work, you need a FQDN pointing to your server's base IP.
Which is the DNS A record the Wiki mentions.
For individual domain names, again the FQDN needs to point to the IP you are assigning it to on the server.
Those step-by-step Wiki's can be found at:
https://wiki.centos-webpanel.com/letsencrypt-free-ssl-on-cwp
https://wiki.centos-webpanel.com/how-to-install-multiple-ssl-certificates-on-the-shared-ip
If you still have questions, let the group know.
For it to work, you need a FQDN pointing to your server's base IP.
Which is the DNS A record the Wiki mentions.
For individual domain names, again the FQDN needs to point to the IP you are assigning it to on the server.
Those step-by-step Wiki's can be found at:
https://wiki.centos-webpanel.com/letsencrypt-free-ssl-on-cwp
https://wiki.centos-webpanel.com/how-to-install-multiple-ssl-certificates-on-the-shared-ip
If you still have questions, let the group know.
33
CentOS 7 Problems / Re: is this a server ... please help ...
« on: August 25, 2023, 08:08:47 AM »
I understand, but to help more information is needed.
Different WordPress versions act differently, as do their plugins, so does Web Server running (Apache, Nginx, LightSpeed) and it's compiled modules.
Then you get into PHP versions and options.
Then Ajax.
Even they way different control panels, since they handle the permissions.
A core error could narrow it down to a WP config.
But without knowing details about the script, and current config, it's going to be hard to try & duplicate.
Different WordPress versions act differently, as do their plugins, so does Web Server running (Apache, Nginx, LightSpeed) and it's compiled modules.
Then you get into PHP versions and options.
Then Ajax.
Even they way different control panels, since they handle the permissions.
A core error could narrow it down to a WP config.
But without knowing details about the script, and current config, it's going to be hard to try & duplicate.
34
CentOS 7 Problems / Re: is this a server ... please help ...
« on: August 25, 2023, 06:50:54 AM »
Are those other servers running CWP?
Is so, are they running the same OS, WP version, etc?
I also see the word Ajax, which also always makes me cringe personally.
Is so, are they running the same OS, WP version, etc?
I also see the word Ajax, which also always makes me cringe personally.
35
How to / Re: IonCube for specific account
« on: August 24, 2023, 11:33:09 PM »
ionCube supports PHP 7.4 & 8.1, but not 8.0
We are currently using PHP 8.1.22 with ionCube support.
When you build the PHP version, you have to make sure the ioncube option is enabled.
By Default it is not.
Once ionCube is enabled, it is server wide.
We are currently using PHP 8.1.22 with ionCube support.
When you build the PHP version, you have to make sure the ioncube option is enabled.
By Default it is not.
Once ionCube is enabled, it is server wide.
36
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.
37
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.
38
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.
39
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
40
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
41
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.
42
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.
43
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.
44
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.
45
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.