Open ShreeOpusVL opened 5 years ago
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.
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: