dataverse-docker icon indicating copy to clipboard operation
dataverse-docker copied to clipboard

Dataverse Docker installation error postgres authentification

Open Peterritus opened this issue 3 years ago • 1 comments

Dear all,

I am trying to setup a local docker dataverse installation. I got a fatal error during the installation. Error is as follows:

postgres         | 2021-09-27 07:34:56.549 UTC [86] FATAL:  password authentication failed for user "dvnuser"
postgres         | 2021-09-27 07:34:56.549 UTC [86] DETAIL:  Role "dvnuser" does not exist.
postgres         |     Connection matched pg_hba.conf line 95: "host all all all md5"

The steps I took were:

  1. I downloaded https://github.com/IQSS/dataverse-docker
  2. I installed docker, and docker composed
  3. export traefikhost=localhost
  4. docker network create traefik
  5. export [email protected]
  6. docker-compose -f docker-compose-local.yml up

I tried it on fedora 34 and an almalinux VM. I asked this in this google group, and got feedback, that it was reproduced. It seems like dataverse is running, I can connect to to it and upload files. But the container that are up, do not match with what is given in the installation guide.

CONTAINER ID   IMAGE                        COMMAND                  CREATED          STATUS          PORTS                                                                                                                 NAMES
e029c88248d8   coronawhy/dataverse:5.5      "/tini -- /bin/sh -c…"   10 minutes ago   Up 10 minutes   8181/tcp, 0.0.0.0:4848->4848/tcp, :::4848->4848/tcp, 9009/tcp, 0.0.0.0:8085->8080/tcp, :::8085->8080/tcp              dataverse
7725c61098a2   traefik:v2.2                 "/entrypoint.sh --ap…"   10 minutes ago   Up 10 minutes   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8089->8080/tcp, :::8089->8080/tcp   dataverse-docker-master_reverse-proxy_1
3d227d76e023   containous/whoami            "/whoami"                10 minutes ago   Up 10 minutes   80/tcp                                                                                                                whoami
02ce0dea85d3   ekoindarto/solr-cvm:latest   "/tini -- /tmp/entry…"   10 minutes ago   Up 10 minutes   0.0.0.0:8983->8983/tcp, :::8983->8983/tcp                                                                             solr
a13911c76f7f   postgres:10.13               "docker-entrypoint.s…"   10 minutes ago   Up 10 minutes   0.0.0.0:5433->5432/tcp, :::5433->5432/tcp                                                                             postgres

Thanks in advance. Best regards

Peterritus avatar Sep 28 '21 09:09 Peterritus

I end up with the same postgre errors but I was able to connect with url http://dataverse-dev.localhost:8085 (following advice on this issue #56 I can not explain why its working but its working

gwendoux avatar Oct 25 '21 12:10 gwendoux