MariaDB - Alpine fails to install adminer #2128

Closed
opened 2026-02-05 03:51:46 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Fredyy90 on GitHub (Dec 5, 2025).

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

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

alpine-mariadb.sh

📂 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)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

📈 Which Proxmox version are you on?

9.1.1

📝 Provide a clear and concise description of the issue.

Installing MariaDB on Alpine LXC fails to install adminer.

🔄 Steps to reproduce the issue.

  1. Open PVE Console
  2. paste bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-mariadb.sh)"
  3. execute with deafult settings
  4. press y to install adminer

Paste the full error output (if available).

Installing MariaDB( 1/12) Installing mariadb-common (11.4.9-r0)
( 2/12) Installing libaio (0.3.113-r2)
( 3/12) Installing libgcc (15.2.0-r2)
( 4/12) Installing xz-libs (5.8.1-r0)
( 5/12) Installing skalibs-libs (2.14.4.0-r0)
( 6/12) Installing utmps-libs (0.1.3.1-r0)
( 7/12) Installing linux-pam (1.7.1-r1)
( 8/12) Installing libstdc++ (15.2.0-r2)
( 9/12) Installing libxml2 (2.13.9-r0)
(10/12) Installing mariadb (11.4.9-r0)
Executing mariadb-11.4.9-r0.pre-install
(11/12) Installing mariadb-openrc (11.4.9-r0)
(12/12) Installing mariadb-client (11.4.9-r0)
Executing busybox-1.37.0-r29.trigger
OK: 252 MiB in 85 packages

  • service mariadb added to runlevel default
    ✔️ Installed MariaDB
    Configuring MariaDB * Caching service dependencies ... [ ok ]
  • Starting mariadb ...
    /usr/bin/mysqld_safe: Deprecated program name. It will be removed in a future release, use 'mariadbd-safe' instead
    251205 19:21:35 mysqld_safe Logging to syslog.
    251205 19:21:35 mysqld_safe Starting mariadbd daemon with databases from /var/lib [ ok ]
    ✔️ MariaDB Configured
    Would you like to install Adminer with lighttpd? <y/N>: y
    Installing Adminer and dependencies( 1/42) Installing libdbi (0.9.0-r5)
    ( 2/42) Installing gdbm (1.26-r0)
    ( 3/42) Installing libsasl (2.1.28-r9)
    ( 4/42) Installing libldap (2.6.10-r0)
    ( 5/42) Installing lua5.4-libs (5.4.8-r0)
    ( 6/42) Installing lighttpd (1.4.82-r0)
    Executing lighttpd-1.4.82-r0.pre-install
    ( 7/42) Installing lighttpd-openrc (1.4.82-r0)
    ( 8/42) Installing php83-common (8.3.28-r0)
    ( 9/42) Installing argon2-libs (20190702-r5)
    (10/42) Installing php83 (8.3.28-r0)
    (11/42) Installing php83-cgi (8.3.28-r0)
    (12/42) Installing php83-curl (8.3.28-r0)
    (13/42) Installing libxau (1.0.12-r0)
    (14/42) Installing libmd (1.1.0-r0)
    (15/42) Installing libbsd (0.12.2-r0)
    (16/42) Installing libxdmcp (1.1.5-r1)
    (17/42) Installing libxcb (1.17.0-r1)
    (18/42) Installing libx11 (1.8.12-r1)
    (19/42) Installing libxext (1.3.6-r2)
    (20/42) Installing libice (1.1.2-r0)
    (21/42) Installing libuuid (2.41.2-r0)
    (22/42) Installing libsm (1.2.6-r0)
    (23/42) Installing libxt (1.3.1-r0)
    (24/42) Installing libxpm (3.5.17-r0)
    (25/42) Installing aom-libs (3.13.1-r0)
    (26/42) Installing libdav1d (1.5.2-r0)
    (27/42) Installing libjpeg-turbo (3.1.2-r0)
    (28/42) Installing libyuv (0.0.1887.20251502-r1)
    (29/42) Installing libavif (1.3.0-r0)
    (30/42) Installing libbz2 (1.0.8-r6)
    (31/42) Installing libpng (1.6.51-r1)
    (32/42) Installing freetype (2.14.1-r0)
    (33/42) Installing libsharpyuv (1.6.0-r0)
    (34/42) Installing libwebp (1.6.0-r0)
    (35/42) Installing php83-gd (8.3.28-r0)
    (36/42) Installing php83-mbstring (8.3.28-r0)
    (37/42) Installing php83-openssl (8.3.28-r0)
    (38/42) Installing php83-mysqlnd (8.3.28-r0)
    (39/42) Installing php83-mysqli (8.3.28-r0)
    (40/42) Installing php83-session (8.3.28-r0)
    (41/42) Installing libzip (1.11.4-r1)
    (42/42) Installing php83-zip (8.3.28-r0)
    Executing busybox-1.37.0-r29.trigger
    OK: 290 MiB in 127 packages
    ✔️ Adminer Installed
    Starting Lighttpd * service lighttpd added to runlevel default
  • Caching service dependencies ... [ ok ]
    2025-12-05 19:21:45: (../src/gw_backend.c.1632) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
  • Starting lighttpd ...
    daemonized server failed to start; check error log for details
  • start-stop-daemon: failed to start `/usr/sbin/lighttpd' [ !! ]
  • ERROR: lighttpd failed to start
    /dev/stdin: line 43: $3: unbound variable
    ✖️ Installation failed in container 107 (exit code: 1)

🖼️ Additional context (optional).

No response

Originally created by @Fredyy90 on GitHub (Dec 5, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? alpine-mariadb.sh ### 📂 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)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 📈 Which Proxmox version are you on? 9.1.1 ### 📝 Provide a clear and concise description of the issue. Installing MariaDB on Alpine LXC fails to install adminer. ### 🔄 Steps to reproduce the issue. 1. Open PVE Console 2. paste bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-mariadb.sh)" 3. execute with deafult settings 4. press y to install adminer ### ❌ Paste the full error output (if available). ⏳ Installing MariaDB( 1/12) Installing mariadb-common (11.4.9-r0) ( 2/12) Installing libaio (0.3.113-r2) ( 3/12) Installing libgcc (15.2.0-r2) ( 4/12) Installing xz-libs (5.8.1-r0) ( 5/12) Installing skalibs-libs (2.14.4.0-r0) ( 6/12) Installing utmps-libs (0.1.3.1-r0) ( 7/12) Installing linux-pam (1.7.1-r1) ( 8/12) Installing libstdc++ (15.2.0-r2) ( 9/12) Installing libxml2 (2.13.9-r0) (10/12) Installing mariadb (11.4.9-r0) Executing mariadb-11.4.9-r0.pre-install (11/12) Installing mariadb-openrc (11.4.9-r0) (12/12) Installing mariadb-client (11.4.9-r0) Executing busybox-1.37.0-r29.trigger OK: 252 MiB in 85 packages * service mariadb added to runlevel default ✔️ Installed MariaDB ⏳ Configuring MariaDB * Caching service dependencies ... [ ok ] * Starting mariadb ... /usr/bin/mysqld_safe: Deprecated program name. It will be removed in a future release, use 'mariadbd-safe' instead 251205 19:21:35 mysqld_safe Logging to syslog. 251205 19:21:35 mysqld_safe Starting mariadbd daemon with databases from /var/lib [ ok ] ✔️ MariaDB Configured Would you like to install Adminer with lighttpd? <y/N>: y ⏳ Installing Adminer and dependencies( 1/42) Installing libdbi (0.9.0-r5) ( 2/42) Installing gdbm (1.26-r0) ( 3/42) Installing libsasl (2.1.28-r9) ( 4/42) Installing libldap (2.6.10-r0) ( 5/42) Installing lua5.4-libs (5.4.8-r0) ( 6/42) Installing lighttpd (1.4.82-r0) Executing lighttpd-1.4.82-r0.pre-install ( 7/42) Installing lighttpd-openrc (1.4.82-r0) ( 8/42) Installing php83-common (8.3.28-r0) ( 9/42) Installing argon2-libs (20190702-r5) (10/42) Installing php83 (8.3.28-r0) (11/42) Installing php83-cgi (8.3.28-r0) (12/42) Installing php83-curl (8.3.28-r0) (13/42) Installing libxau (1.0.12-r0) (14/42) Installing libmd (1.1.0-r0) (15/42) Installing libbsd (0.12.2-r0) (16/42) Installing libxdmcp (1.1.5-r1) (17/42) Installing libxcb (1.17.0-r1) (18/42) Installing libx11 (1.8.12-r1) (19/42) Installing libxext (1.3.6-r2) (20/42) Installing libice (1.1.2-r0) (21/42) Installing libuuid (2.41.2-r0) (22/42) Installing libsm (1.2.6-r0) (23/42) Installing libxt (1.3.1-r0) (24/42) Installing libxpm (3.5.17-r0) (25/42) Installing aom-libs (3.13.1-r0) (26/42) Installing libdav1d (1.5.2-r0) (27/42) Installing libjpeg-turbo (3.1.2-r0) (28/42) Installing libyuv (0.0.1887.20251502-r1) (29/42) Installing libavif (1.3.0-r0) (30/42) Installing libbz2 (1.0.8-r6) (31/42) Installing libpng (1.6.51-r1) (32/42) Installing freetype (2.14.1-r0) (33/42) Installing libsharpyuv (1.6.0-r0) (34/42) Installing libwebp (1.6.0-r0) (35/42) Installing php83-gd (8.3.28-r0) (36/42) Installing php83-mbstring (8.3.28-r0) (37/42) Installing php83-openssl (8.3.28-r0) (38/42) Installing php83-mysqlnd (8.3.28-r0) (39/42) Installing php83-mysqli (8.3.28-r0) (40/42) Installing php83-session (8.3.28-r0) (41/42) Installing libzip (1.11.4-r1) (42/42) Installing php83-zip (8.3.28-r0) Executing busybox-1.37.0-r29.trigger OK: 290 MiB in 127 packages ✔️ Adminer Installed ⏳ Starting Lighttpd * service lighttpd added to runlevel default * Caching service dependencies ... [ ok ] 2025-12-05 19:21:45: (../src/gw_backend.c.1632) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd) * Starting lighttpd ... daemonized server failed to start; check error log for details * start-stop-daemon: failed to start `/usr/sbin/lighttpd' [ !! ] * ERROR: lighttpd failed to start /dev/stdin: line 43: $3: unbound variable ✖️ Installation failed in container 107 (exit code: 1) ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 03:51:46 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2128