Odoo Help


[9.0c] db restore/backup problem on unproxied docker container with workers port 8069/8072

Mark Draheim
on 8/23/16, 9:33 AM 662 views

Here is a strange problem on our docker testing machines. We have one docker prod container that uses chat and workers and is behind a proxy. So port 8072 is accessible and longpollig proxied to it.

Now, there is a second docker container for testing that basically uses the same setup. It also has chat, workers, and longpolling configured and bound to host. Since that container is not proxied, I connect via ssh to docker host and forward the remote localhost ports to my laptop. These are actually different ports from the prod docker but for clarity I use the standard ones here. The problem also shows on the proxied container when circumventing the proxy by ssh fowarding localhost ports.

If I open localhost:8069 in my browser, I get the db selection. I can log in to any database and do stuff. But I cannot restore databases nor can I get good dumps. The restore gives me error 400 bad request. The dump produces incomplete zip files that are much smaller than they should be and do not contain all the data.

If I disable workers and connect to localhost:8069, I can dump restore just fine.

What puzzles me is this: when workers are enabled, I can point my browser to localhost:8072 and get the db selection view and then I can restore/dump datbases just fine.

Is there an explanation for this behaviour? I thought 8072 was completely optional and is not required for normal use. But here it looks like, given workers!=0, 8072 is the usable port while 8069 has massive problems.

The docker images are homebrew, since official docker images do not support workers. It would be great to have an official reference image with some comments in the conf. Anyway, I keep debugging the problem.

Mark Draheim
on 8/30/16, 2:50 PM

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.


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

2 follower(s)


Asked: 8/23/16, 9:33 AM
Seen: 662 times
Last updated: 1/9/17, 5:17 AM