1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

fix restore

This commit is contained in:
Kayou 2020-03-27 16:58:43 +01:00 committed by GitHub
parent ef88e516df
commit 5d4f979104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,11 +117,11 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
# SPECIFIC UPGRADE
#=================================================
init_composer $final_path
cd $final_path && sudo /usr/bin/php7.2 artisan migrate --env=production --force
cd $final_path && sudo /usr/bin/php7.2 artisan cache:clear
cd $final_path && sudo /usr/bin/php7.2 artisan firefly:upgrade-database
cd $final_path && sudo /usr/bin/php7.2 artisan firefly:verify
cd $final_path && sudo /usr/bin/php7.2 artisan passport:install
cd $final_path && sudo /usr/bin/php$phpversion artisan migrate --env=production --force
cd $final_path && sudo /usr/bin/php$phpversion artisan cache:clear
cd $final_path && sudo /usr/bin/php$phpversion artisan firefly:upgrade-database
cd $final_path && sudo /usr/bin/php$phpversion artisan firefly:verify
cd $final_path && sudo /usr/bin/php$phpversion artisan passport:install
#=================================================
# GENERIC FINALIZATION