From 66d9cd570bd9d8b92ce589900d33d24c200f869b Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Fri, 27 Feb 2026 04:59:12 +0530 Subject: [PATCH] fix: suppress benign output during database restoration in installation script --- docker/scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/scripts/install.sh b/docker/scripts/install.sh index 0f0923a94..defcde088 100644 --- a/docker/scripts/install.sh +++ b/docker/scripts/install.sh @@ -203,7 +203,7 @@ if $MIGRATION_MODE; then (cd "${INSTALL_DIR}" && ${DC} exec -T \ -e PGPASSWORD="${DB_PASS}" \ db psql -U "${DB_USER}" -d "${DB_NAME}" \ - 2>"${RESTORE_ERR}") < "${DUMP_FILE}" || true + >/dev/null 2>"${RESTORE_ERR}") < "${DUMP_FILE}" || true # Surface real errors; ignore benign "already exists" noise from pg_dump headers FATAL_ERRORS=$(grep -i "^ERROR:" "${RESTORE_ERR}" \