Je pensais au pg_hba.conf par rapport au refus de connection sur https://forum.fab-manager.com/t/tuto-mettre-a-jour-fab-manager/152/7 dans les logs.
Au niveau des logs justement lesquelles pourraient aider aiguiller le problème?
avec docker-compas logs j’ai ça qui me semble bizarre :
fabmanager_1 | 2017-06-08 13:28:15,146 INFO supervisord started with pid 1 fabmanager_1 | 2017-06-08 13:28:16,149 INFO spawned: 'app' with pid 7 fabmanager_1 | 2017-06-08 13:28:16,152 INFO spawned: 'worker' with pid 8 fabmanager_1 | 2017-06-08 13:28:17,155 INFO success: app entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) fabmanager_1 | 2017-06-08 13:28:17,156 INFO success: worker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) fabmanager_1 | 2017-06-08 13:28:24,164 INFO exited: worker (exit status 1; not expected) fabmanager_1 | 2017-06-08 13:28:24,194 INFO spawned: 'worker' with pid 19 fabmanager_1 | 2017-06-08 13:28:24,194 INFO exited: app (exit status 1; not expected) fabmanager_1 | 2017-06-08 13:28:25,197 INFO spawned: 'app' with pid 25
5bd84e9d06f8 nginx:1.9 "nginx -g 'daemon off" 3 days ago Up 15 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp core_nginx_1 693e0525fe2d sleede/fab-manager "/usr/bin/supervisord" 3 days ago Up 15 minutes 3000/tcp core_fabmanager_1 f80783282486 postgres:9.4 "docker-entrypoint.sh" 3 days ago Up 15 minutes 5432/tcp core_postgres_1 c091d7b3339f redis:3.0 "docker-entrypoint.sh" 3 days ago Up 15 minutes 6379/tcp core_redis_1 5f6f70312f57 elasticsearch:1.7 "/docker-entrypoint.s" 3 days ago Up 15 minutes 9200/tcp, 9300/tcp core_elasticsearch_1
J’essaie de relancer après avoir refait les commandes de mise à jour mais ça donne rien…
Pour clôturer ce fil, l’erreur provient bien d’une mauvaise configuration du fichier pg_hba.conf de Postgres.
Fichier qu’il faut modifier avec précaution.
Voici le bon contenu :
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres trust
#host replication postgres 127.0.0.1/32 trust
#host replication postgres ::1/128 trust
host all all all trust