mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-04 19:03:39 +00:00
fix: race condition could cause mkdirs() to fail with "dir exists"
This commit is contained in:
parent
b51fdb46f3
commit
df07422adb
@ -253,6 +253,7 @@ pen-release/palm.master --repo-dir=test-course/course`. (by @regisb)
|
||||
- [Bugfix] Build openedx-dev Docker image even when the host user is root, for instance on Windows. (by @regisb)
|
||||
- [Bugfix] Patch nutmeg.1 release with [LTI 1.3 fix](https://github.com/openedx/edx-platform/pull/30716). (by @ormsbee)
|
||||
- [Improvement] Make it possible to override k8s resources in plugins using `k8s-override` patch. (by @foadlind)
|
||||
- [Bugfix] Fix a race condition that could prevent a newly provisioned Studio container from starting due to a FileExistsError when creating logs directory.
|
||||
|
||||
## v14.0.2 (2022-06-27)
|
||||
|
||||
|
@ -23,7 +23,7 @@ FRONTEND_REGISTER_URL = LMS_ROOT_URL + '/register'
|
||||
# Create folders if necessary
|
||||
for folder in [LOG_DIR, MEDIA_ROOT, STATIC_ROOT_BASE]:
|
||||
if not os.path.exists(folder):
|
||||
os.makedirs(folder)
|
||||
os.makedirs(folder, exist_ok=True)
|
||||
|
||||
{{ patch("openedx-cms-common-settings") }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user