Problem
Given user does not have settings_*.py or secrets.py1,
And user runs make start or docker compose build/up,
Then those paths are created as directories.
Cause
The docker-compose.dev.yml#L14-L16 which creates volumes, even if file is missing, thus resulting in a directory.
Solution
Move these settings and secrets files into a server/conf/cms/settings — one directory volume instead of many file volumes.
— TACC/Core-Portal#1034 (comment) "Idea D"
Problem
Given user does not have
settings_*.pyorsecrets.py1,And user runs
make startordocker compose build/up,Then those paths are created as directories.
Cause
The
docker-compose.dev.yml#L14-L16which creates volumes, even if file is missing, thus resulting in a directory.Solution
Footnotes
Edge case e.g. if download fails. But even more edge case since
make setupCDN URL Inaccessible #17 was fixed by fix: handle download failure in setup script #24. ↩