Fresh install mesxes up already

Started by DragoCom, December 03, 2025, 04:27:19 AM

Previous topic - Next topic

DragoCom

Last metadata expiration check: 0:01:07 ago on Wed Dec  3 05:24:11 2025.
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Yum updates won't even work in cwp pro fresh install. I have re-installed almalinux 8 and cwp 8 times now and the same thing EVERY time.

overseer

They really need to fix their installer... is it erroring on a mysql/MariaDB package?


DragoCom

Quote from: overseer on December 03, 2025, 11:51:29 AM
They really need to fix their installer... is it erroring on a mysql/MariaDB package?

[root@viking ~]# dnf -y update
Last metadata expiration check: 0:56:43 ago on Wed 03 Dec 2025 09:22:30 PM CET.
Error:
Problem 1: package MariaDB-shared-10.5.29-1.el8.x86_64 from cwp requires MariaDB-common, but none of the providers can be installed
  - cannot install the best update candidate for package mariadb-connector-c-3.1.11-2.el8_3.x86_64
  - package MariaDB-common-10.5.29-1.el8.x86_64 from cwp is filtered out by modular filtering
Problem 2: package MariaDB-shared-10.5.29-1.el8.x86_64 from cwp requires MariaDB-common, but none of the providers can be installed
  - cannot install the best update candidate for package mariadb-connector-c-config-3.1.11-2.el8_3.noarch
  - package MariaDB-common-10.5.29-1.el8.x86_64 from cwp is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

DragoCom

Quote from: overseer on December 03, 2025, 03:12:18 PM
See if you can resolve it with the advice in this thread:
https://forum.centos-webpanel.com/installation/problemas-instalando-cwp-8-con-mariadb/

I tried reading that thread but it seems to be all over the place with suggestions. Has there been a step by step putogether to fi this issue as of yet that I can follow?

overseer

You could follow Wonder as he was following the AlphaGNU MariaDB upgrade guide. The only difference is he was having to disable the CWP repo before continuing with the process:

cp /etc/my.cnf /etc/my.cnf.bak
systemctl stop mariadb mysql mysqld
systemctl disable mariadb
rpm -e --nodeps $(rpm -qa | grep -i mariadb)
rpm -e --nodeps mysql-common mysql-libs mysql-devel
rpm --nodeps -ev MariaDB-server
rpm -e --nodeps mariadb-server
dnf module disable mariadb -y
yum clean all
nano /etc/yum.repos.d/cwp.repo
   Set enabled=0
Save changes, and then:
yum install MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared net-snmp perl-DBD-MySQL -y
Then, very important:
nano /etc/yum.repos.d/cwp.repo
   Set enabled=1
Save changes
dnf --refresh update

DragoCom

Quote from: overseer on December 04, 2025, 03:43:57 AM
You could follow Wonder as he was following the AlphaGNU MariaDB upgrade guide. The only difference is he was having to disable the CWP repo before continuing with the process:

cp /etc/my.cnf /etc/my.cnf.bak
systemctl stop mariadb mysql mysqld
systemctl disable mariadb
rpm -e --nodeps $(rpm -qa | grep -i mariadb)
rpm -e --nodeps mysql-common mysql-libs mysql-devel
rpm --nodeps -ev MariaDB-server
rpm -e --nodeps mariadb-server
dnf module disable mariadb -y
yum clean all
nano /etc/yum.repos.d/cwp.repo
   Set enabled=0
Save changes, and then:
yum install MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared net-snmp perl-DBD-MySQL -y
Then, very important:
nano /etc/yum.repos.d/cwp.repo
   Set enabled=1
Save changes
dnf --refresh update

Didn't take long for that to go sideways:


[root@viking ~]# cp /etc/my.cnf /etc/my.cnf.bak
[root@viking ~]# systemctl stop mariadb mysql mysqld
[root@viking ~]# systemctl disable mariadb
Removed /etc/systemd/system/multi-user.target.wants/mariadb.service.
Removed /etc/systemd/system/mysql.service.
Removed /etc/systemd/system/mysqld.service.
[root@viking ~]# rpm -e --nodeps $(rpm -qa | grep -i mariadb)
[root@viking ~]# rpm -e --nodeps mysql-common mysql-libs mysql-devel
[root@viking ~]# rpm --nodeps -ev MariaDB-server
error: package MariaDB-server is not installed
[root@viking ~]# rpm -e --nodeps mariadb-server
error: package mariadb-server is not installed
[root@viking ~]# dnf module disable mariadb -y
Last metadata expiration check: 3:16:44 ago on Thu 04 Dec 2025 05:24:14 PM CET.
Dependencies resolved.
===========================================================================================================
Package                  Architecture            Version                   Repository                Size
===========================================================================================================
Disabling modules:
mariadb                                                                                                 

Transaction Summary
===========================================================================================================

Complete!
[root@viking ~]# yum clean all
67 files removed
[root@viking ~]# nano /etc/yum.repos.d/cwp.repo
[root@viking ~]# yum install MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared net-snmp perl-DBD-MySQL -y
AlmaLinux 8 - BaseOS                                                        28 MB/s |  49 MB     00:01   
AlmaLinux 8 - AppStream                                                     16 MB/s |  22 MB     00:01   
AlmaLinux 8 - Extras                                                        36 kB/s |  14 kB     00:00   
AlmaLinux 8 - PowerTools                                                    10 MB/s | 5.1 MB     00:00   
AlmaLinux 8 - PowerTools Source                                            335 kB/s | 144 kB     00:00   
AlmaLinux 8 - PowerTools debuginfo                                         2.4 MB/s | 930 kB     00:00   
Extra Packages for Enterprise Linux 8 - x86_64                              11 MB/s |  14 MB     00:01   
nginx repo                                                                 1.3 MB/s |  89 kB     00:00   
No match for argument: MariaDB-server
No match for argument: MariaDB-client
No match for argument: MariaDB-devel
No match for argument: MariaDB-shared
Package perl-DBD-MySQL-4.046-3.module_el8.6.0+2827+49d66dc3.x86_64 is already installed.
Error: Unable to find a match: MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared
[root@viking ~]#

overseer

But did you follow AlphaGNU's guide (and have a MariaDB.repo in place)?