From 609dc94b8c1e563a95d57d658a7ffff9c3fffc8e Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 21 Feb 2024 08:30:14 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8314959..621949c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -131,8 +131,9 @@ cp -r "$install_dir/build/services/" "$install_dir/live/services/" cp -r "$install_dir/build/patches/" "$install_dir/live/patches/" cp -r "$install_dir/build/server-ce/config" "$install_dir/config/" ynh_secure_remove --file="$install_dir/config/settings.js" +ynh_secure_remove --file="$install_dir/config/production.json" -ynh_add_config --template="../conf/production.json" --destination="$install_dir/build/server-ce/config/production.json" +ynh_add_config --template="../conf/production.json" --destination="$install_dir/config/production.json" ynh_add_config --template="../conf/production.json" --destination="$install_dir/live/services/history-v1/config/production.json" cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$install_dir/live/services/history-v1/config/"