From f97524fcf5fe2be2cb2da95361172a6a2377697b Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Wed, 16 Oct 2024 18:32:18 +0200 Subject: [PATCH] feat: readme --- build/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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