hooram / ownphotos

Self hosted alternative to Google Photos
MIT License
2.77k stars 233 forks source link

Not possible to finish the setup #57

Open Happyfeet01 opened 5 years ago

Happyfeet01 commented 5 years ago

Hello,

i use the Docker-compose.yml file from this github repo.

But when i try to login i get the Message "no connection to the backend server" when i look at http://domain.tld:3000/api i see this error:

`

Request Method: GET

http://backend/api/auth/token/obtain 2.1.2 OperationalError FATAL: password authentication failed for user "postgres" /venv/lib/python3.5/site-packages/psycopg2/init.py in connect, line 130 /venv/bin/python3 3.5.2 ['', '/code', '/venv/bin', '/venv/lib/python35.zip', '/venv/lib/python3.5', '/venv/lib/python3.5/plat-x86_64-linux-gnu', '/venv/lib/python3.5/lib-dynload', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/venv/lib/python3.5/site-packages', '/venv/lib/python3.5/site-packages/dlib-19.16.99-py3.5-linux-x86_64.egg', '/venv/lib/python3.5/site-packages/IPython/extensions', '/root/.ipython'] Wed, 16 Jan 2019 17:58:31 +0000

`

The Settings are correct in the docker-compose.yml file

` - POSTGRES_PASSWORD=AaAa1234

[...]

`

Docker Log:

backend log:

2019-01-16 17:58:31.218 UTC [58] FATAL: password authentication failed for user "postgres" 2019-01-16 17:58:31.218 UTC [58] DETAIL: Password does not match for user "postgres". Connection matched pg_hba.conf line 95: "host all all all md5"

The passwords are the same...

hooram commented 5 years ago

Could you see if docker pull hooram/ownphotos:dev helps?

Happyfeet01 commented 5 years ago

Hi,

I use the dev image.

guysoft commented 5 years ago

@Happyfeet01 What @hooram is trying to say is you might be using an out of date version of the dev image.

guysoft commented 5 years ago

Closing if no reply.

Happyfeet01 commented 5 years ago

Sorry for the late response,

this weekend i have the time to try the setup again. But get the same message when i check it over domain:3000/api

Status: Image is up to date for hooram/ownphotos:dev

But DB Pass is the same in ownphotos-db and backend


2019-02-23 16:57:54.963 UTC [50] FATAL:  password authentication failed for user "postgres"
2019-02-23 16:57:54.963 UTC [50] DETAIL:  Password does not match for user "postgres".
        Connection matched pg_hba.conf line 95: "host all all all md5"

`

Request Method: GET

http://backend/api 2.1.2 OperationalError FATAL: password authentication failed for user "postgres" /miniconda/lib/python3.7/site-packages/psycopg2/init.py in connect, line 130 /miniconda/bin/python 3.7.1 ['', '/code', '/miniconda/bin', '/miniconda/lib/python37.zip', '/miniconda/lib/python3.7', '/miniconda/lib/python3.7/lib-dynload', '/miniconda/lib/python3.7/site-packages', '/miniconda/lib/python3.7/site-packages/dlib-19.16.99-py3.7-linux-x86_64.egg', '/miniconda/lib/python3.7/site-packages/cmake-3.13.3-py3.7-linux-x86_64.egg', '/miniconda/lib/python3.7/site-packages/IPython/extensions', '/root/.ipython']

`