sfix (s/```/~~~/)

This commit is contained in:
David Prevot 2023-08-02 12:44:41 +02:00
parent 3135b6e753
commit 66792813b5

View file

@ -48,7 +48,7 @@ La configuration est générée dans le fichier `/home/gerrit/etc/gerrit.config`
Un exemple de session :
```
~~~
*** Gerrit Code Review 2.13.7
***
@ -181,11 +181,11 @@ Install plugin singleusergroup version v2.13.7 [y/N]? y
Installed singleusergroup v2.13.7
Initializing plugins.
No plugins found with init steps.
```
~~~
Si vous obtenez le message d'erreur suivant :
```
~~~
Exception in thread "main" com.google.gwtorm.server.OrmException: Cannot initialize schema
[…]
Caused by: java.io.IOException: Cannot create repository All-Projects
@ -193,7 +193,7 @@ Caused by: java.io.IOException: Cannot create repository All-Projects
Caused by: org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: Cannot create repository All-Projects
[…]
Caused by: java.io.IOException: Creating directories for /home/git/All-Projects.git failed
```
~~~
C'est que l'utilisateur `gerrit` n'a pas les droits de créer un dossier dans `/home/git` (ou le chemin renseigné).
@ -260,8 +260,8 @@ Exemple de VirtualHost :
AllowEncodedSlashes On
ProxyPass / http://127.0.0.1:8081/ nocanon
</VirtualHost>
~~~
```
> **Note** : Assurez-vous d'avoir activé le module apache `proxy_http`.
Il faudra s'assurer d'avoir dans la configuration de Gerrit :