diff --git a/manifest.json b/manifest.json index a5d8b65..a19e560 100644 --- a/manifest.json +++ b/manifest.json @@ -26,7 +26,7 @@ "multi_instance": false, "services": [ "nginx", - "php7.3-fpm", + "php8.0-fpm", "postgresql", "metronome" ], diff --git a/scripts/_common.sh b/scripts/_common.sh index 4adc929..a7551e4 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -YNH_PHP_VERSION="7.4" +YNH_PHP_VERSION="8.0" YNH_COMPOSER_VERSION="2.2.7" diff --git a/scripts/upgrade b/scripts/upgrade index 2df45f5..8180002 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,7 +97,7 @@ then ynh_script_progression --message="Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/config/db.inc.php" fi chmod 750 "$final_path" @@ -132,12 +132,12 @@ ynh_add_fpm_config #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." +# ynh_script_progression --message="Updating a configuration file..." -ynh_add_config --template="../conf/db.example.inc.php" --destination="$final_path/config/db.inc.php" +# ynh_add_config --template="../conf/db.example.inc.php" --destination="$final_path/config/db.inc.php" -chmod 400 "$final_path/config/db.inc.php" -chown $app:$app "$final_path/config/db.inc.php" +# chmod 400 "$final_path/config/db.inc.php" +# chown $app:$app "$final_path/config/db.inc.php" #================================================= # BUILD MOVIM