diff --git a/scripts/_common.sh b/scripts/_common.sh index e9fac5a..814b6ad 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ YNH_PHP_VERSION="7.3" -pkg_dependencies="php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd" +pkg_dependencies="php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-session php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd" YNH_COMPOSER_VERSION=2.1.1 diff --git a/scripts/upgrade b/scripts/upgrade index f2dd682..eb0ef0a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,7 +114,7 @@ ynh_add_fpm_config ynh_script_progression --message="Installing BookStack with Composer..." --weight=5 # Install composer -ynh_install_composer --install_args="--no-dev" #&& php$phpversion artisan migrate --no-interaction +ynh_install_composer --install_args="--no-dev" #================================================= # FINAL BOOKSTACK INSTALL @@ -123,9 +123,9 @@ ynh_script_progression --message="Install BookStack" --weight=5 pushd $final_path php$phpversion artisan migrate --no-interaction - php$phpversion artisan cache:clear --no-interaction + #php$phpversion artisan cache:clear --no-interaction php$phpversion artisan config:clear --no-interaction - php$phpversion artisan view:clear --no-interaction + #php$phpversion artisan view:clear --no-interaction popd chmod 755 $final_path