odoo / odoo/docker

Error exec /entrypoint.sh: no such file or directory when running Odoo 17 Docker image

Open
#507 5 comments 2 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

Issue: Error exec /entrypoint.sh: no such file or directory when running Odoo 17 Docker image

Description:

When I build the Docker image for Odoo 17 using the following command:

docker build -t odoo17 .

And then run the container using:

docker run -p 8069:8069 --name odoo --link db:db -t odoo17

I encounter the following error:

exec /entrypoint.sh: no such file or directory

Steps to Reproduce:

  1. Clone the official Odoo repository and navigate to the 17.0 directory.
  2. Build the Docker image with: docker build -t odoo17 .
  3. Run the Docker container for posgres docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:15
  4. Run the Docker container with: docker run -p 8069:8069 --name odoo --link db:db -t odoo17

Expected Behavior:
The Odoo container should start without errors, and the application should be accessible via http://localhost:8069.

Actual Behavior:
The container fails to start, displaying the error message: exec /entrypoint.sh: no such file or directory.

Additional Information:

  • The entrypoint.sh file exists in the 17.0 directory and is referenced in the Dockerfile.

I am unsure if my commands are incorrect or if there is an issue with the entrypoint.sh script. Any guidance or assistance would be greatly appreciated.

Thank you!

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 reviewing the 17.0 Dockerfile and the referenced entrypoint.sh, then reproduce the reported docker build and docker run commands with the postgres:15 container. Confirm whether the image builds and the Odoo container starts at http://localhost:8069; document the cause of the missing entrypoint and the verified startup command.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile
Domain
build-system, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.