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

I have two instance of odoo at different location in server 

First instance code is inside /usr/lib/python2.7/site-packages/odoo and  the second instance is inside /usr/lib/python2.7/site-packages/odoo1 folder and each one have its own conf , log and service files. 

While starting the first instance it takes the addons from its own addons folder (specified in the conf file)

But while starting the second instance it takes addons from first instance also, i dint specify that location in conf but it takes the addon location of first instance along with the addon of its own.How i can restrict the second instance to take the addon from its own folder

Ảnh đại diện
Huỷ bỏ
Tác giả

Different ports for two instance

Tác giả

yes i have specified default configuration file for each service

Câu trả lời hay nhất

Each instance of Odoo needs it's own configuration file with an addons_path variable specifying the location of the addons.

If you are running Odoo as a service, a different configuration file needs to be specified in each service definition.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Did you assign different ports for each instance?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
392
4
thg 7 25
662
2
thg 7 25
4776
2
thg 12 24
7881
2
thg 11 24
28669