mirror of
https://github.com/YunoHost-Apps/invoiceninja_ynh.git
synced 2024-09-03 19:26:22 +02:00
Fix upgrade
This commit is contained in:
parent
16cf34faf7
commit
4b992cd742
2 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue