mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
commit
87fccba099
1 changed files with 7 additions and 7 deletions
|
@ -80,7 +80,7 @@ chown -R $app: $final_path
|
|||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_restore_file --origin_path="/etc/php/7.2/fpm/pool.d/$app.conf"
|
||||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
|
@ -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
|
||||
|
@ -130,7 +130,7 @@ cd $final_path && sudo /usr/bin/php7.2 artisan passport:install
|
|||
#=================================================
|
||||
ynh_script_progression --message="Reloading nginx web server and php-fpm..." --time --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=php7.2-fpm --action=reload
|
||||
ynh_systemd_action --service_name=php$phpversion-fpm --action=reload
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue