[12] /usr/bin/odoo ignores options set by entrypoint
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 1.2k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
It seems /entrypoint.sh in 12.0 is the same as for 11.0
it checks some variables (also towards config file) and sets a line of database arguments to be appended to /usr/bin/odoo invocation
The problem is, when server starts it reports database as default@default:default
I do not see any parsing of --db_name, --db_host, --db_port and --db_password in the code of odoo12.
Also it seems odoo12 checks variables PGPORT, PGHOST, etc which are not checked by entrypoint at all.
Seems some contract was changed on odoo side but changes ignored in Docker image
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with /entrypoint.sh and compare the 12.0 image with the referenced 11.0 behavior; then inspect the /usr/bin/odoo invocation and the database options named in the report. Done means the entrypoint's database settings are honored when Odoo 12 starts instead of falling back to default@default:default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100