ledger-web icon indicating copy to clipboard operation
ledger-web copied to clipboard

FATAL: Ident authentication failed for user "phr" (PG::ConnectionBad)

Open philiprhoades opened this issue 5 years ago • 0 comments

People,

I have a fondness for CLI and Ruby stuff and just found ledger and ledger-web so I would like to get this working if possible - is anyone still around?

I created the phr pg user with:

template1=# createuser -d -s -r phr

and this works as user phr:

$ psql ledger

but I get this when I try to start ledger_web:

/home/phr/.gem/ruby/gems/sequel-5.37.0/lib/sequel/adapters/postgres.rb:210:in `initialize': FATAL: Ident authentication failed for user "phr" (PG::ConnectionBad)

I can't work out what is wrong . . help appreciated!

Thanks, Phil.

philiprhoades avatar Oct 15 '20 09:10 philiprhoades