diff --git a/scripts/_common.sh b/scripts/_common.sh index c763bbb..9057eda 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -9,7 +9,7 @@ YNH_PHP_VERSION=7.4 extra_php_dependencies="php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysqli php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-zip" # needed for raw upload and video playback -pkg_dependencies="ufraw-batch ffmpeg" +pkg_dependencies="ufraw-batch ffmpeg" #redis-server redis-tools #================================================= # EXPERIMENTAL HELPERS diff --git a/scripts/upgrade b/scripts/upgrade index 449b17a..375fd92 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -127,11 +127,12 @@ ynh_add_fpm_config --package="$extra_php_dependencies" ynh_script_progression --message="Installing Composer..." --weight=10 # Install Composer -ynh_install_composer +#ynh_install_composer -ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\" +#ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\" pushd "$final_path" + php$phpversion artisan key:generate -n php$phpversion artisan migrate -n --force php$phpversion artisan config:clear -n php$phpversion artisan config:cache -n