diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index ced9df5..0b12ee7 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -3,7 +3,7 @@ * The admin panel is available directly from the Movim UI once an admin user is logged in. To set a user admin login at least once (to register it in the database). You can then set him admin using the following command. ``` -sudo php7.4 /var/www/movim/daemon.php setAdmin {jid} +sudo php8.0 /var/www/movim/daemon.php setAdmin {jid} ``` The administrators will be listed on the login page of the instance. \ No newline at end of file diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index c8c7898..f2c8c1f 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -3,7 +3,7 @@ * Le panneau d'administration est disponible directement à partir de l'interface utilisateur MOVIM une fois qu'un utilisateur administrateur est connecté. Pour définir un administrateur, connectez-vous au moins une fois (pour l'enregistrer dans la base de données). Vous pouvez ensuite le régler comme administrateur à l'aide de la commande suivante : ``` -sudo php7.4 /var/www/movim/daemon.php setAdmin {jid} +sudo php8.0 /var/www/movim/daemon.php setAdmin {jid} ``` Les administrateurs seront inscrits sur la page de connexion de l'instance. \ No newline at end of file diff --git a/scripts/restore b/scripts/restore index da8297e..6176daa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -72,6 +72,16 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +#================================================= +# SPECIFIC RESTORATION +#================================================= +# REINSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Reinstalling dependencies..." + +# Define and install dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies + #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= @@ -83,16 +93,6 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_add_fpm_config phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) -#================================================= -# SPECIFIC RESTORATION -#================================================= -# REINSTALL DEPENDENCIES -#================================================= -ynh_script_progression --message="Reinstalling dependencies..." - -# Define and install dependencies -ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies - #================================================= # RESTORE THE POSTGRESQL DATABASE #=================================================