Skip to Content
Menu
This question has been flagged
1 Reply
9763 Views

Guys,

I have two databases. odoo and odoo1.

0.0.0.0:8069/ is directed to 0.0.0.0:8069/web/database/selector.

But I want to change to 0.0.0.0:8069/web?db=odoo.

Please help me.

Avatar
Discard
Best Answer

Hello shameem@aχoncoms,


If you run in locally then try this command. The Server take default database using --db-filter options.
Ex:-

Go to your odoo directory using cd command.

cd odoo10 then enter

after this, paste below code.


./odoo-bin --addons-path=addons -d odoo --db-filter=odoo


If you run from windows then you should define --db-filter=odoo in openerp-server.conf file under odoo folder.


Hope this will helps you.

Thanks,

 

Avatar
Discard
Author

Thanks for your support.

I am using ubuntu and followed this

https://www.odoo.com/documentation/9.0/setup/install.html#deb

I wrote in terminal

./odoo-bin --addons-path=addons -d odoo --db-filter=odoo

But resut is

bash: ./odoo-bin: No such file or directory

Which version odoo are you using ? In odoo10, server will start with ./odoo-bin and In odoo9, server will start with ./odoo.py

You should define --db-filter=odoo in openerp-ser.conf file which is stored as follow path /etc/odoo/openerp-server.conf. Try it.

openerp-server.conf*

Author

Sorry for my mistake in link.

My version is odoo 10

result is bash: ./odoo-bin: No such file or directory

First you want to go odoo10 directory using cd command then check odoo-bin file is in your odoo10 directory or not. If yes then, start server using command which is in my answer. Also edited the answer

Author

Thank u for your constant support.

is --db-filter to filter database?

But I want to show all databases in 0.0.0.0:8069/web/database/selector.

My requirement is

First time, 0.0.0.0:8069/ must redirect to the login page of specified database.

--db-filter is filtered the database. Try to remove --db-filter options from terminal so you can see all the database.

Author

I solved by multi company instead of multi database. :)

Related Posts Replies Views Activity
0
Nov 18
1628
2
Nov 18
6746
1
Sep 17
2646
1
Jul 19
5401
1
Nov 18
2725