IQSS / dataverse-docker

Dataverse 6.2 on Docker with integrated services called "Archive in a box" and could be used both as demo and production system and easily integrated with other services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dataverse Docker installation error postgres authentification

Peterritus opened this issue · 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 useremail=m...@mail.com
  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

commented

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