跳至內容
選單
此問題已被標幟
1 回覆
5390 瀏覽次數

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
10月 23
26932
0
8月 20
2809
0
6月 20
3437
4
7月 25
445
1
12月 23
3263