mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Fixed restore
This commit is contained in:
parent
73b9c0a6f9
commit
511ad72956
2 changed files with 1 additions and 3 deletions
|
@ -102,6 +102,7 @@ ynh_restore_file "/etc/php/7.1/conf.d/20-$app.ini"
|
|||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
#=================================================
|
||||
init_composer $final_path
|
||||
cd $final_path && sudo /usr/bin/php7.1 artisan migrate --env=production --force
|
||||
cd $final_path && sudo /usr/bin/php7.1 artisan cache:clear
|
||||
cd $final_path && sudo /usr/bin/php7.1 artisan firefly:upgrade-database
|
||||
|
|
|
@ -103,9 +103,6 @@ cp -a "$tmpdir/storage/export/*" "$final_path/storage/export/"
|
|||
#remove tmp dir
|
||||
sudo rm -Rf "$tmpdir"
|
||||
|
||||
exec_composer "$final_path" update --quiet --no-scripts --no-dev
|
||||
exec_composer "$final_path" update --quiet --no-dev
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue