diff --git a/build/README.md b/build/README.md index ec6dbd5e..ad70d23c 100644 --- a/build/README.md +++ b/build/README.md @@ -95,3 +95,26 @@ COPY ./odoo.conf.template /etc/odoo/ USER odoo ``` + +## Troubleshooting + +### Session folder not writable + +**Problem** + +When starting the container the following error shows up: + +``` +/var/lib/odoo/sessions: directory is not writable +``` + +**Cause** + +The Odoo user/group have a different uid/gid. + +**Solution** + +```bash +docker exec -u root -it $CONTAINER bash +chown -R odoo:odoo /var/lib/odoo +``` \ No newline at end of file