usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.62k stars 616 forks source link

[BUG] MariaDB does not have a compatible architecture installation issue #1265

Open U3RhcnQ opened 6 months ago

U3RhcnQ commented 6 months ago

Describe the bug When trying to install on a virtual machine running Almalinux 9 on ARM, I get the following error in the installer when installing MariaDB using the installation script: sudo su - -c "sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)"

`MariaDB 10 kB/s | 3.4 kB 00:00 Remi's Modular repository for Enterprise Linux 9 - aarch64 4.9 MB/s | 582 kB 00:00 Safe Remi's RPM repository for Enterprise Linux 9 - aarch64 7.3 MB/s | 850 kB 00:00 Dependencies resolved. Nothing to do. Complete! Repository mariadb is listed more than once in the configuration Last metadata expiration check: 0:00:03 ago on Fri May 17 20:05:35 2024. Package wget-1.21.1-7.el9.aarch64 is already installed. Package curl-7.76.1-29.el9_4.aarch64 is already installed. Package which-2.21-29.el9.aarch64 is already installed. Package tar-2:1.34-6.el9_1.aarch64 is already installed. Package python3-3.9.18-3.el9.aarch64 is already installed. Error: Problem 1: cannot install the best candidate for the job

To Reproduce

  1. Run installation Command
  2. Accept all defaults

Operating system: AlmaLinux OS 9.3.20231117 AArch64

CyberPanel version: Latest version

Additional context I just ran the default install script and selected all default options

SaJeTek-Developer commented 4 months ago

It's an issue with the mariadb repo. Fit it by running: curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash Then rerun the CyberPanel Installation script

shbs9 commented 3 months ago

Just reproduced the installation on Almalinux 9 all going well without any issues. image