Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
10129 Vues

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
Ignorer
Auteur Meilleure réponse

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
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
juin 19
11131
0
févr. 25
1807
2
janv. 25
8481
2
janv. 24
10138
7
janv. 24
49359