From 3c2804808f2941cc07f26b03709ae351c0c21a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 19 Aug 2023 17:25:33 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 240e237..3bc3252 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,6 +29,16 @@ fi chown -R $app:www-data "$install_dir" +#================================================= +# XBACKBONE UPGRADE +#================================================= +ynh_script_progression --message="Install database" --weight=1 + +pushd $install_dir + php$phpversion php/migrate --install + php$phpversion php/clean +popd + #================================================= # PHP-FPM CONFIGURATION #================================================= @@ -37,11 +47,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1 # Create a dedicated PHP-FPM config ynh_add_fpm_config --usage=low --footprint=low -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 - # Create a dedicated NGINX config ynh_add_nginx_config