python manage.py migrate --noinput
File "/home/puppetclient/.virtualenvs/taiga/local/lib/python3.4/site-packages/psycopg2/__init__.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
django.db.utils.OperationalError: FATAL: Peer authentication failed for user "taiga"
My local.py contain below variables
from .development import *
DATABASES = {
'default': {
'ENGINE': 'transaction_hooks.backends.postgresql_psycopg2',
'NAME': 'taiga',
'USER': 'taiga',
'PASSWORD': 'changeme',
'HOST': '',
'PORT': '',
}
}
I tried to run below command again but no success
(taiga)puppetclient@puppetslave:~/taiga-back/settings$ sudo -u postgres createuser taiga
createuser: creation of new role failed: ERROR: role "taiga" already exists
(taiga)puppetclient@puppetslave:~/taiga-back/settings$ sudo -u postgres createdb taiga -O taigaERROR: role "taiga" already exists
(taiga)puppetclient@puppetslave:~/taiga-back/settings$ sudo -u postgres psql -c "CREATE ROLE taiga LOGIN PASSWORD 'changeme';"
ERROR: role "taiga" already exists
--
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/ad4cdff1-f450-4d36-929c-115004183bcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/CAEQ%3D4yDq7CqJ-fWBKXB5XFiUR9dxk%3DYaS5U2PbcdPEVSE0Skuw%40mail.gmail.com.
$ git clone https://github.com/taigaio/taiga-scripts.git
$ cd taiga-scripts
$ bash setup-devel.sh1.5. Setup development-like environment
This setup is much like the previous one but with a few differences:
It does not install services like nginx, as they are only necessary for production
It sets all hostnames to localhost to easily run everything on localhost
Make sure you have a fresh and updated Ubuntu 14.04 machine or virtual image:
$ git clone https://github.com/taigaio/taiga-scripts.git
$ cd taiga-scripts
$ bash setup-devel.sh