Trouble with sentry upgrade

171 views
Skip to first unread message

Vu Dang

unread,
Aug 16, 2016, 2:56:04 AM8/16/16
to sentry

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"


 

Reply all
Reply to author
Forward
0 new messages