Skip to Content
Menu
This question has been flagged
2 Replies
8984 Views

Using Odoo 9.0 and PostgreSQL 9.5.

I want to use Odoo in a remote PostgreSQL server. Both services are in different Cloud servers hosted on Digital Ocean. I already tried:

  • Changing the pg_hba.conf and postgresql.conf to listen to all addresses and hosts in the PostgreSQL Server machine.

  • Creating odoo user in postgres with superuser and createdb permissions.

  • Changing both the openerp-server.conf at /opt/odoo/odoo-server/debian and /etc/odoo/. Adding the db_host, db_port, db_user and db_password accordingly. Also tried removing the comment symbol from the line  "admin_passwd = admin" and using it as master password when acessing Odoo for the first time.


This covers basically all the solutions suggested in other threads about this same problem.

Anyone got any clues ?

Any help is highly appreciated!



Avatar
Discard
Author Best Answer

I found the solution! When prompted for the Master Password in the moment of creating the db I wasn't inserting the proper one.

Ivan answer in this thread helped me figured it out:

https://www.odoo.com/es_ES/forum/ayuda-1/question/acess-denied-error-while-creating-a-company-database-73979

In this step you are supposed to use the Odoo password for database operations.


@Ermin Trevisan Thanks for your help, appearently the firewall presented no problem at all.

Avatar
Discard
Best Answer

Maybe stupid, but did you open port 5432 in the firewall of your Postgres-server?

Avatar
Discard
Related Posts Replies Views Activity
2
Jun 19
9730
1
Jul 24
3499
2
Jan 24
10135
7
Jan 24
45456
0
Mar 23
1038