Skip to Content
Menú
This question has been flagged
2 Respostes
9548 Vistes

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
Descartar
Autor 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
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de juny 19
10526
0
de febr. 25
652
2
de gen. 25
6554
2
de gen. 24
10137
7
de gen. 24
47570