2

I installed Odoo in localhost and after running this command:

./odoo-bin -c odoo-server.conf

and go to Chrome and say localhost:8012 .

Results:

Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

and in ./odoo-bin -c odoo-server.conf

conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL:  role "pythondev" does not exist - - -
karel
  • 122,292
  • 133
  • 301
  • 332

1 Answers1

1

Whoever runs odoo must also have an account that has permissions on postgresql. In the error it shows it says that the user "pythondev" does not exist. To solve:

sudo su - postgres -c "createuser -s pythondev" 2> /dev/null || true

Then set this user in odoo-server.conf