Cloudpanel mariadb 11.4 installation error #146

Closed
opened 2026-04-05 20:25:35 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ajmakoni on 12/31/2024

CloudPanel version(s) affected

2.5.0

Description

Good day,
I have made about 10 attempts over a period of 3 weeks to install cloudpanel with mariadb 11.4 as per instructions but each installation failed with the following error: /var/lib/dpkg/info/cloudpanel.postinst: 113: mysqladmin: not found

Please note that this setup error only affects mariadb 11.4 installation. Mysql setup works as expected eachtime.

I have attached a screenshot of the installation
image

How to reproduce

Install ubuntu Ubuntu 24.04.1 LTS and update packages. then run: ```
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh;
echo "a3ba69a8102345127b4ae0e28cfe89daca675cbc63cd39225133cdd2fa02ad36 install.sh" |
sha256sum -c && sudo DB_ENGINE=MARIADB_11.4 bash install.sh


### Possible Solution

_No response_

### Additional Context

My only workaround so far has been to run` sudo apt install mysql-client -y` before installing cloudpanel with mariadb 11.4 but this installation ends up installing mariadb 10.11.8 instead of 11.4

By the way, I faced same problem with previous version of cloudpanel but a few days after posting the issue here ([https://github.com/cloudpanel-io/cloudpanel-ce/issues/543](https://github.com/cloudpanel-io/cloudpanel-ce/issues/543)), installation started working as expected
*Originally created by @ajmakoni on 12/31/2024* ### CloudPanel version(s) affected 2.5.0 ### Description Good day, I have made about 10 attempts over a period of 3 weeks to install cloudpanel with mariadb 11.4 as per instructions but each installation failed with the following error: /var/lib/dpkg/info/cloudpanel.postinst: 113: mysqladmin: not found Please note that this setup error only affects mariadb 11.4 installation. Mysql setup works as expected eachtime. I have attached a screenshot of the installation ![image](https://github.com/user-attachments/assets/79e1ddfa-9c69-4afb-9124-bcb453a4cb41) ### How to reproduce Install ubuntu Ubuntu 24.04.1 LTS and update packages. then run: ``` curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \ echo "a3ba69a8102345127b4ae0e28cfe89daca675cbc63cd39225133cdd2fa02ad36 install.sh" | \ sha256sum -c && sudo DB_ENGINE=MARIADB_11.4 bash install.sh ``` ### Possible Solution _No response_ ### Additional Context My only workaround so far has been to run` sudo apt install mysql-client -y` before installing cloudpanel with mariadb 11.4 but this installation ends up installing mariadb 10.11.8 instead of 11.4 By the way, I faced same problem with previous version of cloudpanel but a few days after posting the issue here ([https://github.com/cloudpanel-io/cloudpanel-ce/issues/543](https://github.com/cloudpanel-io/cloudpanel-ce/issues/543)), installation started working as expected
Sign in to join this conversation.