Update 02-mariadb_discovery.sh

This commit is contained in:
Alexandre
2023-03-25 08:04:28 +01:00
committed by GitHub
parent ad8609950b
commit 7b8691aade

View File

@@ -2,11 +2,13 @@
# shellcheck shell=bash # shellcheck shell=bash
if bashio::services.available 'mysql'; then if bashio::services.available 'mysql'; then
bashio::log.warning "MariaDB addon was found! It can't be configured automatically due to the way Nextcloud works, but you can configure it manually when running the web UI for the first time using those values :"
bashio::log.blue "Database user : $(bashio::services "mysql" "username")" bashio::log.green "---"
bashio::log.yellow "MariaDB addon was found! It can't be configured automatically due to the way Nextcloud works, but you can configure it manually when running the web UI for the first time using those values :" bashio::log.blue "Database user : $(bashio::services "mysql" "username")"
bashio::log.blue "Database password : $(bashio::services "mysql" "password")" bashio::log.blue "Database password : $(bashio::services "mysql" "password")"
bashio::log.blue "Database name : nextcloud" bashio::log.blue "Database name : nextcloud"
bashio::log.blue "Host-name : $(bashio::services "mysql" "host"):$(bashio::services "mysql" "port")" bashio::log.blue "Host-name : $(bashio::services "mysql" "host"):$(bashio::services "mysql" "port")"
bashio::log.green "---"
# Clean if needed # Clean if needed
for var in dbtype dbname dbuser dbhost; do for var in dbtype dbname dbuser dbhost; do