docker icon indicating copy to clipboard operation
docker copied to clipboard

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

Open markotitel opened this issue 4 years ago • 1 comments

#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/`

markotitel avatar Jan 28 '22 03:01 markotitel

Looking over old issues, from https://github.com/docker-library/docs/blob/master/odoo/content.md#mount-custom-addons you can put your addons in the volume which is mounted at /mnt/extra-addons

lathama avatar Apr 02 '24 21:04 lathama