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

Hello i am trying of handle multiple instences of odoo8 on my server and when i make login in the second instance this drop my session on the first instance taht is in other port.

This is the error that send me the log:


openerp.http: Logged into database 'secondDb', but dbfilter rejects it; logging session out.


I have make some changes on the file config.py and there are this:



group.add_option("-d", "--database", dest="db_name", my_default="dbname",

help="specify the database name")

group.add_option("-r", "--db_user", dest="db_user", my_default="user",

help="specify the database user name")

group.add_option("-w", "--db_password", dest="db_password", my_default="password",

help="specify the database password")

group.add_option("--pg_path", dest="pg_path", help="specify the pg executable path")

group.add_option("--db_host", dest="db_host", my_default="127.0.0.1",

help="specify the database host")

group.add_option("--db_port", dest="db_port", my_default="5432",

help="specify the database port", type="int")


and the same on the other instance that is the order is reversed happen the same thing.


Each instance have different postgres user.


If someone can say me what can i do for evite that, really thanks.

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

What is the value of your db_filter config? The changes that you make in config.py are not clear. You can configure all of those options in a config file and use it to run Odoo. Are you accessing your instances through a subdomain?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
4745
1
thg 2 23
3167
2
thg 4 24
6345
0
thg 2 16
5132
3
thg 7 25
8773