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

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?

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

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 10 23
26875
0
thg 8 20
2767
0
thg 6 20
3425
4
thg 7 25
396
1
thg 12 23
3257