symptom:
# tail /var/log/odoo/odoo-server.log
...
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL: role "odoo" does not exist - - -
Solution:
1. su as postgres user in your Debian
# su - postgres
2. run psql
$ psql
psql (11.7 (Debian 11.7-0+deb10u1))
Type "help" for help.
3. create role odoo to connect and exit
postgres=# create role odoo login createdb;
CREATE ROLE
postgres=# \q
No comments:
Post a Comment