From febe8770438a77fd69e8dafd6da0278af6acfc20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Sainl=C3=A9ger?= Date: Mon, 2 Feb 2026 22:00:08 +0100 Subject: [PATCH] [FIX] correct undefined variable FINALE_DB_MODEL_NAME Replace $FINALE_DB_MODEL_NAME with $FINALE_DB_NAME in the call to prepare_db.sh. FINALE_DB_MODEL_NAME was never defined anywhere in the codebase, causing the script to fail immediately with 'set -u' (unbound variable error). The intended variable is FINALE_DB_NAME which contains the target database name (e.g., 'ou16'). --- upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade.sh b/upgrade.sh index 28d575f..bc244f1 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -117,7 +117,7 @@ log_info "Migration path is ${versions[*]}" log_step "DATABASE PREPARATION" -./prepare_db.sh "$COPY_DB_NAME" "$COPY_DB_NAME" "$FINALE_DB_MODEL_NAME" "$FINALE_SERVICE_NAME" +./prepare_db.sh "$COPY_DB_NAME" "$COPY_DB_NAME" "$FINALE_DB_NAME" "$FINALE_SERVICE_NAME" log_step "UPGRADE PROCESS"