From 4b992cd74221fb718d436f2748548400909a40a0 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 16 Jul 2022 18:04:48 +0200 Subject: [PATCH] Fix upgrade --- check_process | 7 +++---- scripts/upgrade | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/check_process b/check_process index 0ff4a7c..e6e9e32 100644 --- a/check_process +++ b/check_process @@ -13,7 +13,9 @@ setup_public=0 upgrade=1 # 4.5.18~ynh1 - #upgrade=1 from_commit=572f98be58975399c5e7fc7d435a4ac5b78765da + upgrade=1 from_commit=572f98be58975399c5e7fc7d435a4ac5b78765da + # 4.5.45~ynh1 + upgrade=1 from_commit=1f60ce6460175f08de8e61d7545a3e16888bd904 backup_restore=1 multi_instance=1 port_already_use=0 @@ -21,6 +23,3 @@ ;;; Options Email= Notification=none -;;; Upgrade options - ; commit=572f98be58975399c5e7fc7d435a4ac5b78765da - name=4.5.18~ynh1 diff --git a/scripts/upgrade b/scripts/upgrade index 5d12436..5e62701 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -93,7 +93,7 @@ then ynh_script_progression --message="Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep=".env" fi chmod 750 "$final_path" @@ -154,7 +154,7 @@ pushd "$final_path" # Run the database migrations php$phpversion artisan migrate --force - php$phpversion artisan db:seed --class=UpdateSeeder --force + php$phpversion artisan db:seed --force # Bring the application out of maintenance mode php$phpversion artisan up