odoo / docker

Other
979 stars 1.57k forks source link

docker map directory permission error #481

Open forzenheart opened 11 months ago

forzenheart commented 11 months ago

when i run with: sudo docker run -v /home/ubuntu/odoo/data/:/var/lib/odoo get error like this:

path = odoo.tools.config.session_dir File "/usr/lib/python3/dist-packages/odoo/tools/config.py", line 723, in session_dir os.makedirs(d, 0o700) File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/var/lib/odoo/sessions' - - -

SmartPhoneLover commented 10 months ago

Did you solve it?

cap-jmk commented 9 months ago

Same problem in podman 4.3.1

I dug into it. And things that do not work