Alpine-MariaDB script fails to install #761

Closed
opened 2026-02-04 21:22:22 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @MoonieGZ on GitHub (Apr 6, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

MariaDB (Alpine)

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-mariadb.sh)"

📝 Provide a clear and concise description of the issue.

Script fails to install

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

🔄 Steps to reproduce the issue.

Run install script for MariaDB (Alpine), default settings (with verbose), it'll eventually crash at the installing MariaDB step.

Paste the full error output (if available).

[...]
(12/12) Installing mariadb-client (11.4.5-r0)
Executing busybox-1.37.0-r12.trigger
OK: 257 MiB in 100 packages
 * service mariadb added to runlevel default
 * Caching service dependencies ...                                                                         [ ok ]
 * Datadir '/var/lib/mysql' is empty or invalid.
 * Run '/etc/init.d/mariadb setup' to create new database.
 * ERROR: mariadb failed to start

[ERROR] in line 25: exit code 1: while executing command $STD rc-service mariadb start

🖼️ Additional context (optional).

Image

Originally created by @MoonieGZ on GitHub (Apr 6, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? MariaDB (Alpine) ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-mariadb.sh)" ### 📝 Provide a clear and concise description of the issue. Script fails to install ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 🔄 Steps to reproduce the issue. Run install script for MariaDB (Alpine), default settings (with verbose), it'll eventually crash at the installing MariaDB step. ### ❌ Paste the full error output (if available). ``` [...] (12/12) Installing mariadb-client (11.4.5-r0) Executing busybox-1.37.0-r12.trigger OK: 257 MiB in 100 packages * service mariadb added to runlevel default * Caching service dependencies ... [ ok ] * Datadir '/var/lib/mysql' is empty or invalid. * Run '/etc/init.d/mariadb setup' to create new database. * ERROR: mariadb failed to start [ERROR] in line 25: exit code 1: while executing command $STD rc-service mariadb start ``` ### 🖼️ Additional context (optional). ![Image](https://github.com/user-attachments/assets/69b6faab-70e1-4e3d-bdc7-fda7d59e29af)
OVERLORD added the bug label 2026-02-04 21:22:22 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#761