Control Web Panel

WebPanel => Installation => Topic started by: detay on February 11, 2025, 10:38:29 AM

Title: Alma Linux 8 installation DB error (Solution)
Post by: detay on February 11, 2025, 10:38:29 AM
1. Make a clean Alma8 installation,
2. hostnamectl set-hostname srv.example.com
3. yum install epel-release -y
4. yum -y install wget
5. yum -y update
6. reboot
7. cd /usr/local/src
8. wget http://centos-webpanel.com/cwp-el8-latest
Now we make the following change, otherwise you will continue to have problems :)
9. nano cwp-el8-latest
Change line 148 and onwards as follows.
[mariadb]
name = MariaDB
baseurl = https://yum.mariadb.org/10.11/rhel8-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
enabled=1
sslverify=False
module_hotfixes=1
10. Ctrl+x and y
11. sh cwp-el8-latest
That's all...
Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: cyberspace on February 12, 2025, 10:53:30 AM
It isn't 100% correct.

In case Almalinux 8 the line:
baseurl = https://yum.mariadb.org/10.11/rhel8-amd64

must be:
baseurl = https://yum.mariadb.org/10.11/almalinux8-amd64

for RockyLinux 8:
baseurl = https://yum.mariadb.org/10.11/rockylinux8-amd64

Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: detay on February 13, 2025, 08:53:25 AM
Repos are the same...

https://yum.mariadb.org/10.11/rhel8-amd64 = https://yum.mariadb.org/10.11/almalinux8-amd64 = https://yum.mariadb.org/10.11/rockylinux8-amd64

Thanks anyway cyberspace. It's all true...
Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: Wonder on February 13, 2025, 08:21:05 PM
Great threat this.

But with all my respect, I prefered like indicate cyberspace, every distro with her repo, betwen are the same...

Regards
Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: joeey on February 13, 2025, 09:45:52 PM
Newbie alert:

I am currently having issues on my new vps server with contabo. I selected Almalinux 9 and now I am having issues in CWP. First issue is that CWP users are not able to login...always says "Failed" even with correct credentials.

As per your explanation, contabo does not offer Alma linux 8 out of the box, can you please let me know how to install this I think via "Custom Images" which they offer?

Any help would be greatly appreciated. Thanks
Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: overseer on February 14, 2025, 03:19:33 AM
This has been covered -- did you search the forum?
Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: Wonder on February 14, 2025, 07:12:23 AM
Newbie alert:

I am currently having issues on my new vps server with contabo. I selected Almalinux 9 and now I am having issues in CWP. First issue is that CWP users are not able to login...always says "Failed" even with correct credentials.

As per your explanation, contabo does not offer Alma linux 8 out of the box, can you please let me know how to install this I think via "Custom Images" which they offer?

Any help would be greatly appreciated. Thanks

As they say, it is discussed in the forum, this is an off topic, the subject has nothing to do with the topic, anyway, I count, select cloud init and you will be able to install almalinux 8
Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: joeey on February 14, 2025, 09:37:00 AM
Newbie alert:

I am currently having issues on my new vps server with contabo. I selected Almalinux 9 and now I am having issues in CWP. First issue is that CWP users are not able to login...always says "Failed" even with correct credentials.

As per your explanation, contabo does not offer Alma linux 8 out of the box, can you please let me know how to install this I think via "Custom Images" which they offer?

Any help would be greatly appreciated. Thanks

As they say, it is discussed in the forum, this is an off topic, the subject has nothing to do with the topic, anyway, I count, select cloud init and you will be able to install almalinux 8

Yeah, Sorry about that. I've searched and found the relevant topic and solution. Will make research from now on before posting.
Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: writerguyfl on February 14, 2025, 10:22:51 PM
Now we make the following change, otherwise you will continue to have problems :)
9. nano cwp-el8-latest
Change line 148 and onwards as follows.
[mariadb]
name = MariaDB
baseurl = https://yum.mariadb.org/10.11/rhel8-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
enabled=1
sslverify=False
module_hotfixes=1

Thank you for posting this.  I only wish I had found it before I did a fresh install and moved all my websites to the new server just a few weeks ago.

Moving to MariaDB 10.11 on a working server has proven to be a real headache.
Title: Re: Alma Linux 8 installation DB error (Solution)
Post by: Wonder on February 15, 2025, 09:36:42 PM

Yeah, Sorry about that. I've searched and found the relevant topic and solution. Will make research from now on before posting.
No problem, this is what the forum is for, to ask questions and help each other.