Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5364 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ต.ค. 23
26875
0
ส.ค. 20
2768
0
มิ.ย. 20
3425
4
ก.ค. 25
396
1
ธ.ค. 23
3257