From a510d14d08af412de50cc8e8437dc1569870ad8b Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Fri, 13 Sep 2024 10:53:58 -0500 Subject: [PATCH] Support #371 --- support/cbiit-deploy-prod.sh | 8 ++++---- support/cbiit-deploy.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/support/cbiit-deploy-prod.sh b/support/cbiit-deploy-prod.sh index e1290060..6f0e0708 100755 --- a/support/cbiit-deploy-prod.sh +++ b/support/cbiit-deploy-prod.sh @@ -138,10 +138,10 @@ docker compose --project-name edrn stop search &&\ sleep 60 &&\ docker compose --project-name edrn start portal" || exit 1 -# echo "" -# echo "🆙 Applying upgrades" -# ssh -q $USER@$WEBSERVER "cd $WEBROOT ; \ -# docker compose --project-name edrn exec portal django-admin edrn_biomarker_submission" || exit 1 +echo "" +echo "🆙 Applying upgrades" +ssh -q $USER@$WEBSERVER "cd $WEBROOT ; \ +docker compose --project-name edrn exec portal django-admin copy_daily_hits_from_wagtailsearch" || exit 1 echo "" echo "🤷‍♀️ Final portal restart and restart of search engine" diff --git a/support/cbiit-deploy.sh b/support/cbiit-deploy.sh index 2d71764f..26367f21 100755 --- a/support/cbiit-deploy.sh +++ b/support/cbiit-deploy.sh @@ -139,10 +139,10 @@ docker compose --project-name edrn stop search &&\ sleep 60 &&\ docker compose --project-name edrn start portal" || exit 1 -# echo "" -# echo "🆙 Applying upgrades" -# ssh -q $USER@$WEBSERVER "cd $WEBROOT ; \ -# docker compose --project-name edrn exec portal django-admin edrn_biomarker_submission" || exit 1 +echo "" +echo "🆙 Applying upgrades" +ssh -q $USER@$WEBSERVER "cd $WEBROOT ; \ +docker compose --project-name edrn exec portal django-admin copy_daily_hits_from_wagtailsearch" || exit 1 echo "" echo "🤷‍♀️ Final portal restart and restart of search engine"