تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
10134 أدوات العرض

For some reason PostgreSQL listings on port 5433 on my server, but odoo server try to connect on port 5432 (default in the psycopg2).

I am not able to change the PostgreSQL port, since it is used for anther service, any suggestion please? 

الصورة الرمزية
إهمال
أفضل إجابة
You can change the port Odoo uses.

You edit settings in /etc/odoo.conf and set:
db_port = 5433

Updated answer (fixed):
Standard config file location: /etc/odoo/odoo.conf
الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Hello

I am using odoo 12 (installed from source)

my system is WSL (Ubuntu for windows 10)

I am not sure if there is such a path or file

?

الصورة الرمزية
إهمال

Sorry, my small mistake. You find in /etc/odoo/odoo.conf.

If not exist look for the odoo.conf file in other locations. Somewhere must be.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
سبتمبر 21
3942
0
يوليو 24
1067
4
أبريل 25
2904
1
مايو 18
5296
0
فبراير 25
680