Syspass: New install w/ DOCKER (compose) - unable to connect to DB during setup

Created on 9 Feb 2020  路  3Comments  路  Source: nuxsmin/sysPass

sysPass Version
3.1.1

Describe the bug
After using docker compose - instructions here: https://syspass-doc.readthedocs.io/en/3.1/installing/docker.html

Unable to continue setup due to not being able to connect to DB - PW is correct but it seems like the root user login is going to the wrong IP address (see red error bar in screenshot) syspass-db IP is actually 172.20.0.2) no idea how to change that during install

Screenshots
https://imgur.com/Ti6rH2n

Platform (please complete the following information):

  • OS: CENTOS 7
  • Browser: Chrome
kinquestion triagneed-test v3

Most helpful comment

Same here.

I have tried to access the db with login:pass inside the syspass-db container - it works.

docker-compose example
mariadb log
syspass log
docker inspect internal network

UPD: if I set all the containers to the same network - it works.

All 3 comments

Hello, the message states that a user connecting from 172.20.0.3 is denied, so its correct, since database users are created using the host they will connect from and not the database host.

Anyway, I'll try to find out why it's denying such user.

Regards

Same here.

I have tried to access the db with login:pass inside the syspass-db container - it works.

docker-compose example
mariadb log
syspass log
docker inspect internal network

UPD: if I set all the containers to the same network - it works.

Thanks for the feedback @dmpanch !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robert-scheck picture robert-scheck  路  8Comments

bhu73 picture bhu73  路  5Comments

tallanvor picture tallanvor  路  7Comments

vmario89 picture vmario89  路  5Comments

GGOUSSEAUD picture GGOUSSEAUD  路  6Comments