odoo / odoo/docker

[All] entrypoint.sh: Does not allow Unix Sockets

Open
#265 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

In the actual definition of the entrypoint, if the database variables are not set, the default behavior is to connect to a database called "db". If everything is set to "False", Odoo's try to connect to a host called False, with False user and False password.

This behavior does not allow to use a Unix Sockets connection.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting entrypoint.sh and how it handles unset or false database variables. Reproduce the connection setup with Unix socket values and verify that the entrypoint no longer forces a host, user, or password of False while the default database behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
database, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.