Open jamesstidard opened 1 year ago
Since you are mounting over top of /etc/odoo, I don't think you can still assume that the default addons_path = /mnt/extra-addons
is in effect. What do you have set for addons_path in your local ./config/odoo.conf?
Hi,
I initially posted this on OCA/OpenUpgrade, but it was closed and suggested I ask for help here.
I'm trying to migrate my
odoo:14
over toodoo:15
usinghttps://github.com/OCA/OpenUpgrade
. Hopefully someones done something similar in the past, or can see the mistake I'm making.Here's the re-port of the issue:
I'm trying to upgrade from v14 to v15. I'm also using the docker image of odoo.
I'm following the documentation here.
The error I get is:
So this is saying it's unable to find the
openupgrade_framework
, though I've copied theopenupgrade_framework
andopenupgrade_scripts
modules into the/mnt/extra-addons
directory.The dockers
/etc/odoo/odoo.conf
options.addons_path
is set to/mnt/extra-addons
, and the modules are in there. I'm also calling theodoo
command with--config=/etc/odoo/odoo.conf
so that it is using that folder. You can see this in the output:The folder structure of the
openupgrade_framework
looks like/mnt/extra-addons/openupgrade_framework/__manifest__.py
, so believe I have it properly positioned.Unsure where to go from here. Has anyone had any experience of upgrading within the docker container, or otherwise know what could be going on here?
Here are the steps I've done and the
docker-compose.yml
if handy: