From 27d837602e381fb4202b16404c2631d1781c9a88 Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Thu, 12 Dec 2024 08:29:12 -0600 Subject: [PATCH] Try something for #382 --- support/cbiit-deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/cbiit-deploy.sh b/support/cbiit-deploy.sh index 4cd9a7f..ff15814 100755 --- a/support/cbiit-deploy.sh +++ b/support/cbiit-deploy.sh @@ -123,10 +123,12 @@ docker compose --project-name edrn exec db dropdb --force --if-exists --username docker compose --project-name edrn exec db createdb --username=postgres --encoding=UTF8 --owner=postgres edrn" || exit 1 ssh -q $USER@$WEBSERVER "cd $WEBROOT ; \ -pwd && ls && [ -f edrn.sql.bz2 ] &&\ +pwd && ls -l && [ -f edrn.sql.bz2 ] &&\ bzip2 --decompress --stdout edrn.sql.bz2 | \ docker compose --project-name edrn exec --no-TTY db psql --username=postgres --dbname=edrn --echo-errors --quiet" || exit 1 +exit 128 + echo "" echo "📀 Initial database setup" ssh -q $USER@$WEBSERVER "cd $WEBROOT ; \