تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
3815 أدوات العرض

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

الصورة الرمزية
إهمال
الكاتب

Different ports for two instance

الكاتب

yes i have specified default configuration file for each service

أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

Did you assign different ports for each instance?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 25
164
4
يوليو 25
505
2
يوليو 25
4660
2
ديسمبر 24
7789
2
نوفمبر 24
28567