Skip to content

Commit 1c6cc48

Browse files
committed
hotfix
mariadb non-interactive installation failing, asking for feedback plugin.
1 parent 60e267b commit 1c6cc48

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/general

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Prevent 'tput' errors when running from Cron
55
[[ -z $TERM || $TERM == "unknown" || $TERM == "dumb" ]] && export TERM=dumb
66

7-
readonly app_version="1.19.4"
7+
readonly app_version="1.19.5"
88
readonly svr_version="1.11"
99
readonly os_ubuntu_supported=(focal jammy noble) # https://ubuntu.com/about/release-cycle
1010
readonly php_supported=(7.4 8.0 8.1 8.2 8.3 8.4) # https://www.php.net/supported-versions.php

lib/install

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,7 @@ mysql_install() {
258258
sudo apt -y install mysql-server
259259
else
260260
# This option is no longer available in recent MariaDB versions, so we set the root password in the next step after installation.
261-
#local ver=$(conf_read mysql-ver)
262-
#echo "mariadb-server-${ver} mysql-server/root_password password $AUTOGENPASS_ROOT" | debconf-set-selections
263-
#echo "mariadb-server-${ver} mysql-server/root_password_again password $AUTOGENPASS_ROOT" | debconf-set-selections
261+
echo "mariadb-server mariadb-server/feedback_optin boolean false" | debconf-set-selections
264262
sudo apt -y install apt-transport-https dirmngr mariadb-server
265263
fi
266264

0 commit comments

Comments
 (0)