Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Multiple instances cross sessions

By
Javier Batres Velásquez
on 5/25/15, 3:17 PM 1,086 views

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.

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?

Axel Mendoza
on 7/22/15, 2:12 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/25/15, 3:17 PM
Seen: 1086 times
Last updated: 7/22/15, 2:12 PM