Skip to content

Database Connection Issue #2

@abraxas

Description

@abraxas

This may be a documentation issue (if I just need to have done something else), or an issue with the container.

Running with the recommended "sudo docker pull base/chef-server ; sudo docker run -d -p 443:443 base/chef-server", the server spins up, but errors when I enter the correct default administrative login.

If I attach, I get the following errors constantly (tens to hundreds per second)

2014-07-19_22:20:40.45343 =ERROR REPORT==== 19-Jul-2014::22:20:40 ===
2014-07-19_22:20:40.45345 Unable to start database connection: {error,
2014-07-19_22:20:40.45352 {{badmatch,{error,econnrefused}},
2014-07-19_22:20:40.45354 [{pgsql_sock,init,1,
2014-07-19_22:20:40.45359 [{file,"src/pgsql_sock.erl"},
2014-07-19_22:20:40.45361 {line,51}]},
2014-07-19_22:20:40.45364 {gen_server,init_it,6,
2014-07-19_22:20:40.45368 [{file,"gen_server.erl"},{line,304}]},
2014-07-19_22:20:40.45370 {proc_lib,init_p_do_apply,3,
2014-07-19_22:20:40.45379 [{file,"proc_lib.erl"},
2014-07-19_22:20:40.45386 {line,227}]}]}}

My physical machine already has a running postgres instance, if that matters or not.

It looks like it's expecting something for a database, and not connecting. Is there some db config I'm missing, or is this legitimately a container-side issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions