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

Hi, 

I discovered a strange behaviour today when I installed a native Odoo Addon on my Odoo installation. 

My Setup: 

I run 3 Odoo instances via Docker. Each of them on a different port. I have a load balancer that chooses one of these 3 containers. Works perfectly ... BUT when I install an addon I get strange errors. In the end the addons cannot be installed. 

When I turn off the load balancer and reduce the instances to only one, I can install the addon when I connect directly on the docker container. 

My question now is, what exactly happens when an addons get installed? I did not found any similar problem in google. 

Someone who faced the same issue? Or maybe who could explain that behaviour?

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

How did you install the addon? If you installed it from inside the app and did not mount a common volume for "extra-addons" then the addon is only downloaded to the container where the installation was triggered. If however, you have all containers pointing to the one common folder on the host for a common extra-addons, then the downloaded module is available for all containers. Or you could just used Dockers new named volume feature.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
4
أكتوبر 23
27021
0
أغسطس 20
2822
0
يونيو 20
3446
4
يوليو 25
480
1
ديسمبر 23
3278