Error install cyberpanel and mariadb

i have ubuntu 22 and when i try to install cyberpanel i get this error

[12.28.2024_11-37-27] #########################################################################

[12.28.2024_11-37-27] [ERROR] We are not able to run curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s – --mariadb-server-version=10.11 return code: 2. Fatal error, see /var/log/installLogs.txt for full details.

[12.28.2024_11-37-27] #########################################################################

can anyone help me?

i just run the “curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s – --mariadb-server-version=10.11” command in root and i get this error:

curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s – --mariadb-server-version=10.11
bash: line 1: syntax error near unexpected token (' bash: line 1:
curl: (23) Failure writing output to destination

Try this if u have ipv6 running.

curl -6 -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s – --mariadb-server-version=10.11

no i don’t have ipv6. i need install CP immediately but it’s stuck on installing mariadb. i install it before and don’t have any problem.

I had a similar issue.

By executing curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s – --mariadb-server-version=10.11

The downloaded file shows

Results

Results

<!-- Alter HTML was skipped because the HTML is too big to process! (limit is set to 600000 bytes) -->
<!-- Alter HTML was skipped because the HTML is too big to process! (limit is set to 600000 bytes) -->
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="https://mariadb.com/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://mariadb.com/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://mariadb.com/favicon/favicon-16x16.png">
<link rel="mask-icon" href="https://mariadb.com/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta http-equiv="x-dns-prefetch-control" content="on"><link rel='preload' href='https://mariadb.com/wp-content/plugins/mariadb-general/public/css/icons2022/mariadb20242.woff2?v=1.2' as='font' crossorigin>
<title>Download Blocked | MariaDB</title>
<link rel='alternate' hreflang='en-us' href='https://mariadb.com/download-blocked/' />
<link rel='alternate' hreflang='es-es' href='https://mariadb.com/es/download-blocked/' />
<link rel='alternate' hreflang='de-de' href='https://mariadb.com/de/download-blocked/' />
<link rel='alternate' hreflang='fr-fr' href='https://mariadb.com/fr/download-blocked/' />
<link rel='alternate' hreflang='ja-jp' href='https://mariadb.com/ja/download-blocked/' />
<link rel='alternate' hreflang='ko-kr' href='https://mariadb.com/ko/download-blocked/' />

<!-- The SEO Framework by Sybre Waaijer -->
<meta name="robots" content="noindex,nofollow,noarchive" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="MariaDB" />
**<meta property="og:title" content="Download Blocked | MariaDB" />**

A proper return should be

Results
url_base=“dlm.mariadb.com
url_mariadb_repo=“https://${url_base}/repo/mariadb-server”
mariadb_server_version=mariadb-11.rolling
mariadb_server_version_real=mariadb-11.rolling
mariadb_maxscale_version=latest
write_to_stdout=0
skip_key_import=0
skip_maxscale=0
skip_server=0
skip_tools=0
skip_verify=0
skip_check_installed=0
skip_eol_check=0
skip_os_eol_check=0
extra_options=“”
version_info=“”

The server I had was running IPv6 , hence I was able to tweak the installation file and got cyberpanel installed.

Perhaps this is something the cyberpanel team should investigate. @shoaibkk

thank you pratat.
and yes. i think @cyberpanel team should fix this. i’m waiting.

any solution yet? @shoaibkk
can i install mariadb seperated? then install cyberpanel?

who is your server provider?

not famous one. i’m using parspack and ubuntu 22. i install cp in this server before. is server matter?

and just for test i install the mariadb from repository with this command:

sudo apt install mariadb-server