-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Bonjour,
Je rencontre un problème d'installation avec la nouvelle version de GeoCam. Voici le message d'erreur que je reçois lors de l'exécution de la commande ./scripts/docker.sh up -d :
✔ Container geonature-annotation-doc-1 Running 0.0s
✔ Container geonature-annotation-taxapi-1 Started 23.4s
✘ Container geonature-annotation-minio-1 Error 11.5s
✔ Container geonature-annotation-db-1 Healthy 13.6s
✘ Container geonature-annotation-keycloak-1 Error 4.9s
✔ Container geonature-annotation-api-1 Recreated 7.2s
✔ Container geonature-annotation-frontend-1 Recreated 3.9s
✔ Container geonature-annotation-traefik-1 Recreated 2.9s
Je n'ai rien trouvé de particulier dans dans la partie "minio". Par contre, quand je lance la commande ./scripts/docker.sh logs keycloak, j'ai ce message d'erreur qui s'affiche :
keycloak-1 | 2023-11-28 10:27:18,183 INFO [org.infinispan.SERVER] (keycloak-cache-init) ISPN005054: Native IOUring transport not available, using NIO instead: io.netty.incubator.channel.uring.IOUring
keycloak-1 | 2023-11-28 10:27:18,290 WARN [io.quarkus.vertx.http.runtime.VertxHttpRecorder] (main) The X-Forwarded-* and Forwarded headers will be considered when determining the proxy address. This configuration can cause a security issue as clients can forge requests and send a forwarded header that is not overwritten by the proxy. Please consider use one of these headers just to forward the proxy address in requests.
keycloak-1 | 2023-11-28 10:27:18,299 WARN [io.agroal.pool] (agroal-11) Datasource '<default>': Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
keycloak-1 | 2023-11-28 10:27:18,349 WARN [org.infinispan.PERSISTENCE] (keycloak-cache-init) ISPN000554: jboss-marshalling is deprecated and planned for removal
keycloak-1 | 2023-11-28 10:27:18,370 WARN [org.infinispan.CONFIG] (keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled
keycloak-1 | 2023-11-28 10:27:18,387 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
keycloak-1 | 2023-11-28 10:27:19,306 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (development) mode
keycloak-1 | 2023-11-28 10:27:19,306 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to obtain JDBC connection
keycloak-1 | 2023-11-28 10:27:19,307 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
keycloak-1 | 2023-11-28 10:27:19,307 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Connection refused
keycloak-1 | 2023-11-28 10:27:19,307 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.
En général, je règle ce genre de souci via le fichier pg_hba.conf, mais là, je n'ai pas de dossier /etc/postgres dans ma VM. La BDD doit sûrement s'installer ailleurs (via Alembic peut-être ?). A moins que mon souci ne provienne d'un simple paramètre mal renseigné dans le fichier .env ? J'ai indiqué une adresse du type "192.168.x.x" pour ${DOMAIN} et "localhost" pour ${DB_ADDR}. Le port de la BDD n'est pas demandé et celui que j'ai indiqué pour ${HTTP_HTTPS_PORT} est le "8889".
Une idée pour résoudre ce problème ?