Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
10693 Lượt xem

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? 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất
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
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

?

Ảnh đại diện
Huỷ bỏ

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 21
4409
1
thg 7 25
1495
4
thg 4 25
3900
1
thg 5 18
5616
0
thg 2 25
1626