odoo / odoo/docker

Module cannot be found uploaded in the path from default Docker image. Instead one level below.

Open
#403 1 comment 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

#Impacted versions:
Version 15.

#Steps to reproduce:

Run Fargate task with default Odoo image from Docker hub.
Odoo process logs:

INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons','/var/lib/odoo/addons/15.0', '/mnt/extra-addons']

Mount EFS share to Odoo Fargate service.

Use EC2 instance to mount EFS and unpack module.zip into location reported from the Odoo process from the logs.
Module would be here:
/var/lib/odoo/addons/15.0/module/

In Developer Mode Update App List.

Current behavior:
No new module is found.

Expected behavior:
Display new module in Odoo Admin Apps List.

NOTE
If I move module one dir below then module is found.
Dir hierarchy:

/var/lib/odoo/addons/module/
/var/lib/odoo/addons/15.0/`

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 with the default Odoo Docker image and compare its configured addons paths with the Fargate/EFS mount hierarchy shown in the report. Reproduce the module placement under /var/lib/odoo/addons/15.0/module/ and verify that updating the App List makes the module appear; the expected result is discovery at the documented path rather than one directory below.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.