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 : Un exemple de session :
``` ~~~
*** Gerrit Code Review 2.13.7 *** 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 Installed singleusergroup v2.13.7
Initializing plugins. Initializing plugins.
No plugins found with init steps. No plugins found with init steps.
``` ~~~
Si vous obtenez le message d'erreur suivant : Si vous obtenez le message d'erreur suivant :
``` ~~~
Exception in thread "main" com.google.gwtorm.server.OrmException: Cannot initialize schema Exception in thread "main" com.google.gwtorm.server.OrmException: Cannot initialize schema
[…] […]
Caused by: java.io.IOException: Cannot create repository All-Projects 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: 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 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é). 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 AllowEncodedSlashes On
ProxyPass / http://127.0.0.1:8081/ nocanon ProxyPass / http://127.0.0.1:8081/ nocanon
</VirtualHost> </VirtualHost>
~~~
```
> **Note** : Assurez-vous d'avoir activé le module apache `proxy_http`. > **Note** : Assurez-vous d'avoir activé le module apache `proxy_http`.
Il faudra s'assurer d'avoir dans la configuration de Gerrit : Il faudra s'assurer d'avoir dans la configuration de Gerrit :