From 08e047ee09b64623ec7a9a1ce490924d14a4315f Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 26 Dec 2023 15:08:30 +0100 Subject: [PATCH] fix source .env --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 42a6e22..3dbb207 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -96,8 +96,13 @@ popd #================================================= ynh_script_progression --message="Upgrading database..." --weight=1 +set -a + +source $install_dir/.env + ynh_exec_warn_less $install_dir/venv/bin/ftcli db upgrade +set +a #================================================= # NGINX CONFIGURATION #=================================================