Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3038 Weergaven

I have a different odoo server with postgres database, how do I run the service postgresql.service

For notes :

192.x.x.100 Odoo Server

192.x.x.83 Postgres Server


Thanks

Avatar
Annuleer
Auteur Beste antwoord

db_host = 192.x.x.83
db_port = 5432
db_user = rdsOdoo
db_password = False
addons_path = /opt/odoo/odoo/addons,/opt/odoo/odoo/custom-addons
xmlrpc_port = 8069


This is my configuration file in odoo server, for IP PostgreSQL has been added to configuration file

But if i want to enable the service, the error results

Failed to start odoo.service: Unit postgresql.service not found.


Thanks

Avatar
Annuleer
Beste antwoord

Hi,

You can specify the PostgreSQL details in the odoo configuration file, in the db_host specify IP of the postgres server, and specify db_port, db_user and password.

db_host = 192.x.x.83


also make sure the PostgreSQL configuration will accept connection from 192.x.x.100 

Thanks

Avatar
Annuleer