Closed eboileau closed 4 months ago
We now have conflicting directory creation between create_local_folders
(container) and FileService
(both dev and prod): this should happen only once, probably by FileService
, and be safe (create if not exists, i.e. exists_ok=True).
The only tricky one is IMPORT_DIR
, which should exists on startup... see also #126
As discussed with Etienne:
Etienne pointed out that we should also move out as much as possible from docker/scripts/__create_local_folders.py. What needs to stay?
Permission setup:
Possible approach:
To do that, we need:
A clear and concise description of what the bug is.
On deployment,
__create_local_folders.py
is run, and directories underHOST_DATA_DIR
end up with the wrong ownership. This is "commented out" in the installation playbook.mini_cron.sh
should also be more forgiving.This can be fixed after install, but ideally we want a clean install.