New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Alma 8.1 VM with latest CWP and MariaDB update problems

Started by MarioG, March 21, 2025, 08:11:54 PM

Previous topic - Next topic

MarioG

I've seen 2 similar messages, but none of the solutions worked for me.

I have a new AlmaLinux 8.10 VM with 6GB RAM and 4 vCPU, and did a 'dnf update' with no problems.
I then installed CWP, again with no problems.  I can login, setup items, firewalls, etc.
When I try to update from the CWP GUI, I get a message:

Last metadata expiration check: 0:02:01 ago on Fri Mar 21 14:30:53 2025.
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

When I now try to do a 'dnf update' from CLI, I get this:

CentOS Web Panel repo for Linux 8 - x86_64     1.0 MB/s | 305 kB     00:00
AlmaLinux 8 - BaseOS                           23 MB/s |  19 MB     00:00
AlmaLinux 8 - AppStream                        11 MB/s |  17 MB     00:01
AlmaLinux 8 - Extras                           46 kB/s |  14 kB     00:00
AlmaLinux 8 - PowerTools                       4.8 MB/s | 4.4 MB     00:00
AlmaLinux 8 - PowerTools Source                292 kB/s | 139 kB     00:00
AlmaLinux 8 - PowerTools debuginfo             1.2 MB/s | 744 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64 8.5 MB/s |  14 MB     00:01
MariaDB                                        310 kB/s | 614 kB     00:01
Error:
Problem 1: package MariaDB-shared-10.5.28-1.el8.x86_64 from mariadb 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.26-1.el8.x86_64 from mariadb is filtered out by modular filtering
  - package MariaDB-common-10.5.27-1.el8.x86_64 from mariadb is filtered out by modular filtering
  - package MariaDB-common-10.5.28-1.el8.x86_64 from mariadb is filtered out by modular filtering
Problem 2: package MariaDB-shared-10.5.28-1.el8.x86_64 from mariadb 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.26-1.el8.x86_64 from mariadb is filtered out by modular filtering
  - package MariaDB-common-10.5.27-1.el8.x86_64 from mariadb is filtered out by modular filtering
  - package MariaDB-common-10.5.28-1.el8.x86_64 from mariadb is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


This error appears with a completely new installation of Alma8 and CWP.  I wouldn't think I need to do any more.

I tried instructions from here, similar results:
https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version

I checked the module list:
[root@rn1 ~]# dnf module list mariadb
Last metadata expiration check: 0:03:27 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
AlmaLinux 8 - AppStream
Name             Stream       Profiles                     Summary
mariadb          10.3 [d]     client, galera, server [d]   MariaDB Module
mariadb          10.5 [e]     client, galera, server [d]   MariaDB Module
mariadb          10.11        client, galera, server [d]   MariaDB Module


I tried to disable everything but the 10.5 stream, but it seems to re-enable them back to normal:

[root@rn1 ~]# dnf module disable mariadb -y
Last metadata expiration check: 0:08:06 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[root@rn1 ~]# dnf module list mariadb
Last metadata expiration check: 0:08:12 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
AlmaLinux 8 - AppStream
Name                  Stream       Profiles                     Summary
mariadb               10.3 [d]
  •   client, galera, server [d]   MariaDB Module
    mariadb               10.5
  •      client, galera, server [d]   MariaDB Module
    mariadb               10.11
  •     client, galera, server [d]   MariaDB Module

    Hint: [d]efault, [e]nabled,
  • disabled, nstalled

    [root@rn1 ~]# dnf module enable mariadb:10.5 -y
    Last metadata expiration check: 0:08:34 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
    Dependencies resolved.
    ==============================================================================
    Package                   Architecture        Version      Repository    Size
    ==============================================================================
    Enabling module streams:
    mariadb                                                                                  10.5

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

    Complete!

    [root@rn1 ~]# dnf module list mariadb
    Last metadata expiration check: 0:08:47 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
    AlmaLinux 8 - AppStream
    Name               Stream       Profiles                      Summary
    mariadb            10.3 [d]     client, galera, server [d]    MariaDB Module
    mariadb            10.5 [e]     client, galera, server [d]    MariaDB Module
    mariadb            10.11        client, galera, server [d]    MariaDB Module
    [/font]

    I tried this:

    https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-install-tutorials/updated-cwp-installer-script-for-almalinux-8-with-mariadb-10-6/

    But that script fails with this:

    No match for argument: cwp-httpd
    Error: Unable to find a match: cwp-httpd
    Last metadata expiration check: 0:01:32 ago on Fri 21 Mar 2025 03:52:09 PM EDT.
    No match for argument: cwp-suphp
    Error: Unable to find a match: cwp-suphp

    Compiler requires 512 MB RAM + SWAP
    Installation FAILED at httpd
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   899  100   899    0     0   1812      0 --:--:-- --:--:-- --:--:--  1812
    sh: line 46: /usr/local/bin/php: No such file or directory
    grep: /etc/init.d/httpd: No such file or directory




MarioG

Thanks for your reply and solution.  I thought 10.11 wasn't supported by CWP, but followed the instructions on that link.  I did get this message on the line to yum install MariaDB-server:

Error: Transaction test error:
  file /usr/share/man/man1/mariabackup.1.gz from install of MariaDB-server-10.11.11-1.el8.x86_64 conflicts with file from package mariadb-backup-3:10.3.39-1.module_el8.8.0+3609+204d4ab0.x86_64
  file /usr/share/man/man1/mbstream.1.gz from install of MariaDB-server-10.11.11-1.el8.x86_64 conflicts with file from package mariadb-backup-3:10.3.39-1.module_el8.8.0+3609+204d4ab0.x86_64


So I removed the mariadb-backup package, tried again, and all was good.


Namaste

Listen to everything Pixelpadre says.

overseer

I don't know -- have you noticed his old posts have been scrubbed from the forum?