Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/build/edxapp/lms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ PROFILE_IMAGE_BACKEND:
options:
base_url: /media/profile-images/
location: /edx/var/edxapp/media/profile-images/
PROFILE_IMAGE_MAX_BYTES: 1048576
PROFILE_IMAGE_MAX_BYTES: 2097152
PROFILE_IMAGE_MIN_BYTES: 100
PROFILE_IMAGE_SECRET_KEY: placeholder_secret_key
PROFILE_IMAGE_SIZES_MAP:
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/edxapp/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ EDXAPP_PROFILE_IMAGE_MAX_AGE: 31536000
EDXAPP_PROFILE_IMAGE_HASH_SEED: placeholder_secret_key

# In bytes
EDXAPP_PROFILE_IMAGE_MAX_BYTES: 1048576
EDXAPP_PROFILE_IMAGE_MAX_BYTES: 2097152
Copy link

Copilot AI Dec 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The EDXAPP_PROFILE_IMAGE_MAX_BYTES value has been updated to 2097152 (2MB) in this file, but the corresponding PROFILE_IMAGE_MAX_BYTES setting in docker/build/edxapp/lms.yml is still set to the old value of 1048576 (1MB). This inconsistency could cause profile image uploads to fail in Docker-based deployments while working in other environments. Consider updating docker/build/edxapp/lms.yml line 454 to match this change.

Copilot uses AI. Check for mistakes.
EDXAPP_PROFILE_IMAGE_MIN_BYTES: 100

EDXAPP_PROFILE_IMAGE_SIZES_MAP:
Expand Down