Merge pull request #2123 from pp-r/Retrieve-DB-password-when-update-app

Retrieve db password when update app
This commit is contained in:
Éric Gaspar 2022-10-16 10:17:40 +02:00 committed by GitHub
commit 26a6218020
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
images/Galette_1_fr_MAJ.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
images/Galette_2_fr_MdP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View file

@ -15,6 +15,24 @@ routes:
*Galette* est une application web de gestion dadhérents et de cotisations en ligne à destination des associations. Cest avant toute chose un logiciel libre, communautaire, et gratuit ! Galette fonctionne sur nimporte quel serveur web qui prend en charge PHP.
### Mise à jour de l'application
Une fois la mise à jour de l'application faite, vous devez vous rendre sur la page de l'installeur qui par défaut est de la forme `https://domaine/galette/installer.php`.
Une fois sur cette page, une vérification des prérequis est affiché.
À l'étape suivante vous allez devoir choisir le type d'installation : ici `Mise à jour`.
![Galette MAJ](https://github.com/YunoHost/doc/tree/master/images/Galette_1_fr_MAJ.png)
C'est à cette nouvelle étape, où les champs sont pré-remplis, qu'il va falloir renseigner le mot de passe de la base de données.
![Galette MdP](https://github.com/YunoHost/doc/tree/master/images/Galette_2_fr_MdP.png)
Vous allez pouvoir le retrouver en vous connectant en SSH à votre serveur. Il faudra passer en root et afficher le fichier `config.inc.php` dans lequel se trouve le mot de passe de l'application :
>sudo su
>
>cat /var/www/galette/galette/config/config.inc.php
## Liens utiles
+ Site web : [galette.eu (fr)](https://galette.eu/site/fr/)

View file

@ -15,6 +15,24 @@ routes:
*Galette* is a membership management web application towards non profit organizations. This is before all a free software (as in free speech), community and free (as in beer)! Galette works on any web server that handle PHP.
### Updating the application
Once you have updated the application, you must go to the installer page which by default is `https://domaine/galette/installer.php`.
Once on this page, a verification of the prerequisites is displayed.
At the next step you will have to choose the type of installation: here `Update`.
![Galette Update](https://github.com/YunoHost/doc/tree/master/images/Galette_1_en_Update.png)
It is at this new step, where the fields are pre-filled, that you will have to fill in the database password.
![Galette Password](https://github.com/YunoHost/doc/tree/master/images/Galette_2_en_Passwd.png)
You will be able to find it by connecting to your server with SSH. You will have to switch to `root` and display the `config.inc.php` file in which the application password is located:
>sudo su
>
>cat /var/www/galette/galette/config/config.inc.php
## Useful links
+ Website: [galette.eu (en)](https://galette.eu/site/)