TAIGA Postgre user: peer authentication failure.

857 views
Skip to first unread message

bap...@gmail.com

unread,
Mar 1, 2016, 11:32:43 AM3/1/16
to taigaio
(Ubuntu 15.10. Postgre 9.4) 

Hello - 

I am attempting to install Taiga using the following instructions: 
http://taigaio.github.io/taiga-doc/dist/setup-development.html

When I attempt to fun the following command:
python manage.py migrate --noinput

I the process fails with the following error:

    conn = _connect(dsn, connection_factory=connection_factory, async=async)

django.db.utils.OperationalError: FATAL:  Peer authentication failed for user "taiga"


Actions: 

Updated the entry for user taiga in pg_hba.conf (etc/postgresql/9.4/main) to:

"local all taiga password"

- restarted postgre. 


Results: Same error. 


Additional information: I receive the peer authentication error when attempting to run "psql -U taiga". 


Any insight is appreciated. 


Ben

David Barragán

unread,
Mar 1, 2016, 12:23:18 PM3/1/16
to bap...@gmail.com, taigaio
Have you created 'taiga' user in postgresql?

sudo -u postgres createuser taiga
sudo -u postgres createdb taiga -O taiga

--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/ccf19048-90da-4cbf-bb4c-bd110cfa90f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

---

 
David Barragán Merino  
Engineer

www.kaleidos.net/FFF8E7

bap...@gmail.com

unread,
Mar 1, 2016, 12:46:52 PM3/1/16
to taigaio, bap...@gmail.com
Yes, both the user and the DB exist. 

Thank you, 

Ben
Reply all
Reply to author
Forward
0 new messages