Odoo Help

0

Strange behaviour on Addon Installation on multiple (docker) instances

By
Dominic
on 4/4/16, 1:14 AM 864 views

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?

0
Michael Mugge
On 3/11/17, 5:55 AM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/4/16, 1:14 AM
Seen: 864 times
Last updated: 3/11/17, 5:55 AM