I have trouble
with sentry upgrade fail . authentication fail with user
I have code
(sentry)sentry@sent01
postgres@sent01:~$ createdb sentrydb
postgres@sent01:~$ createuser sentry --pwprompt
postgres@sent01:~$ psql -d template1 -U postgres
psql (9.1.14)
Type "help" for help.
postgres=# GRANT ALL PRIVILEGES ON DATABASE sentrydb to sentry;
postgres=# \q
postgres@sent01:~$ exit
(sentry) sentry@sent01:~$ vim~/.sentry/sentry.conf.py
DATABASES = {
'default': {
'ENGINE': 'sentry.db.postgres',
'NAME': 'sentrydb',
'USER': 'sentry',
'PASSWORD': 'somePasswordHere',
'HOST': 'localhost',
'PORT': '5432',
}
}
(sentry) sentry@sent01:~$ sentry upgrade
FATAL: password authentication failed for user "sentry"
FATAL: password authentication failed for user "sentry"