Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[11.0] and [12.0] entrypoints do not chown /var/lib/odoo as odoo user #14

Open
ShreeOpusVL opened this issue Jun 21, 2019 · 1 comment
Assignees

Comments

@ShreeOpusVL
Copy link

This means for any 11.0 or 12.0 projects, the volume mount for /var/lib/odoo must have the following command run against it:

chown -R 101 <path/to/var/lib/odoo/volume>
@Nick-OpusVL
Copy link
Contributor

The correct command is (in docker-compose):

docker-compose run --rm -u root odoo chown -R odoo:odoo /var/lib/odoo

More generally, use the username 'odoo' inside whatever environment Odoo is running in rather than the UID, because you can guarantee it won't be 101 on everyone's environment.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants