1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-05-18 22:42:48 +02:00
parent a2d8e8712d
commit 8e023f1fec
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -144,12 +144,18 @@ ynh_install_composer --install_args="--ignore-platform-reqs"
#=================================================
ynh_script_progression --message="Upgrading Lychee source files..." --weight=4
pushd $final_path
php$phpversion artisan key:generate -n --force --env
php$phpversion artisan migrate -n --force
php$phpversion artisan config:clear -n
php$phpversion artisan config:cache -n
popd
# pushd $final_path
# php$phpversion artisan key:generate -n --force --env
# php$phpversion artisan migrate -n --force
# php$phpversion artisan config:clear -n
# php$phpversion artisan config:cache -n
# popd
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
( cd $final_path && php$phpversion artisan migrate -n --force )
( cd $final_path && php$phpversion artisan config:clear -n )
( cd $final_path && php$phpversion artisan config:cache -n )
#=================================================
# SECURE FILES AND DIRECTORIES