Skip to content
Snippets Groups Projects
Commit 023e0a13be48 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: Fix path used when running chown in the image, it was using /var/lib/odoo...

:ambulance: Fix path used when running chown in the image, it was using /var/lib/odoo which is not where the data is present when running
parent 3cd1dfb12d21
No related branches found
No related tags found
1 merge request!116🚑 Fix path used when running chown in the image, it was using /var/lib/odoo...
......@@ -5,6 +5,8 @@
16.5.0
------
Fix path used when running chown in the image, it was using /var/lib/odoo which is not where the data is present when running.
When running tests, only install modules that are not going to be tested. Modules to be tested will be installed during the tests.
16.4.0
......
......@@ -616,6 +616,8 @@
chown_directories.add(data_volume_path)
arg.append("--data-dir")
arg.append(data_volume_path)
if run_chown:
chown_directories.add(data_volume_path)
# avoid the duplication of unbind volumes with all addons
if odoo_type == ODOO_7:
......@@ -653,8 +655,6 @@
# make sure the permission in the volumes are correct
if run_chown:
chown_directories.add("/mnt")
if odoo_type not in (ODOO_7, ODOO_8):
chown_directories.add("/var/lib/odoo")
if chown_directories:
_logger.info("chown container’s %s to Odoo user", ", ".join(chown_directories))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment