Skip to Content
Menu
This question has been flagged
1 Reply
3434 Views

Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 270, in run_wsgi

    execute(self.server.app)

  File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 258, in execute

    application_iter = app(environ, start_response)

  File "/home/admin/odoo/odoo/service/server.py", line 250, in app

    return self.app(e, s)

  File "/home/admin/odoo/odoo/service/wsgi_server.py", line 166, in application

    return application_unproxied(environ, start_response)

  File "/home/admin/odoo/odoo/service/wsgi_server.py", line 154, in application_unproxied

    result = handler(environ, start_response)

  File "/home/admin/odoo/odoo/http.py", line 1318, in __call__

    return self.dispatch(environ, start_response)

  File "/home/admin/odoo/odoo/http.py", line 1292, in __call__

    return self.app(environ, start_wrapped)

  File "/usr/local/lib/python3.6/dist-packages/werkzeug/wsgi.py", line 766, in __call__

    return self.app(environ, start_response)

  File "/home/admin/odoo/odoo/http.py", line 1455, in dispatch

    self.setup_db(httprequest)

  File "/home/admin/odoo/odoo/http.py", line 1387, in setup_db

    httprequest.session.db = db_monodb(httprequest)

  File "/home/admin/odoo/odoo/http.py", line 1539, in db_monodb

    dbs = db_list(True, httprequest)

  File "/home/admin/odoo/odoo/http.py", line 1506, in db_list

    dbs = odoo.service.db.list_dbs(force)

  File "/home/admin/odoo/odoo/service/db.py", line 369, in list_dbs

    with closing(db.cursor()) as cr:

  File "/home/admin/odoo/odoo/sql_db.py", line 634, in cursor

    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)

  File "/home/admin/odoo/odoo/sql_db.py", line 178, in __init__

    self._cnx = pool.borrow(dsn)

  File "/home/admin/odoo/odoo/sql_db.py", line 517, in _locked

    return fun(self, *args, **kwargs)

  File "/home/admin/odoo/odoo/sql_db.py", line 585, in borrow

    **connection_info)

  File "/usr/local/lib/python3.6/dist-packages/psycopg2/__init__.py", line 130, in connect

    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)

psycopg2.OperationalError: FATAL:  role "synconic" is not permitted to log in

2018-09-18 04:57:14,027 27201 ERROR ? werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 270, in run_wsgi

    execute(self.server.app)

  File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 258, in execute

    application_iter = app(environ, start_response)

  File "/home/admin/odoo/odoo/service/server.py", line 250, in app

    return self.app(e, s)

  File "/home/admin/odoo/odoo/service/wsgi_server.py", line 166, in application

    return application_unproxied(environ, start_response)

  File "/home/admin/odoo/odoo/service/wsgi_server.py", line 154, in application_unproxied

    result = handler(environ, start_response)

  File "/home/admin/odoo/odoo/http.py", line 1318, in __call__

    return self.dispatch(environ, start_response)

  File "/home/admin/odoo/odoo/http.py", line 1292, in __call__

    return self.app(environ, start_wrapped)

  File "/usr/local/lib/python3.6/dist-packages/werkzeug/wsgi.py", line 766, in __call__

    return self.app(environ, start_response)

  File "/home/admin/odoo/odoo/http.py", line 1455, in dispatch

    self.setup_db(httprequest)

  File "/home/admin/odoo/odoo/http.py", line 1387, in setup_db

    httprequest.session.db = db_monodb(httprequest)

  File "/home/admin/odoo/odoo/http.py", line 1539, in db_monodb

    dbs = db_list(True, httprequest)

  File "/home/admin/odoo/odoo/http.py", line 1506, in db_list

    dbs = odoo.service.db.list_dbs(force)

  File "/home/admin/odoo/odoo/service/db.py", line 369, in list_dbs

    with closing(db.cursor()) as cr:

  File "/home/admin/odoo/odoo/sql_db.py", line 634, in cursor

    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)

  File "/home/admin/odoo/odoo/sql_db.py", line 178, in __init__

    self._cnx = pool.borrow(dsn)

  File "/home/admin/odoo/odoo/sql_db.py", line 517, in _locked

    return fun(self, *args, **kwargs)

  File "/home/admin/odoo/odoo/sql_db.py", line 585, in borrow

    **connection_info)

  File "/usr/local/lib/python3.6/dist-packages/psycopg2/__init__.py", line 130, in connect

    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)

psycopg2.OperationalError: FATAL:  role "synconic" is not permitted to log in


Avatar
Discard
Best Answer

Hi Mac,

You just need to create role for postgres user "synconic", just follow this link: https://stackoverflow.com/questions/11919391/postgresql-error-fatal-role-username-does-not-exist

Thanks!


Avatar
Discard