Skip to content

Conversation

@xrhstoskap
Copy link

@xrhstoskap xrhstoskap commented Jan 6, 2026

Description

Fix large file upload failures caused by mismatched backend limits.

This PR fixes an issue where file uploads larger than 50MB would silently fail.
Although nginx was configured to allow uploads up to 100MB, Django backend settings
(DATA_UPLOAD_MAX_MEMORY_SIZE and FILE_UPLOAD_MAX_MEMORY_SIZE) were limited to 50MB,
causing requests to be rejected before processing.

Fixes #3156


What changed

  • Increased DATA_UPLOAD_MAX_MEMORY_SIZE
  • Increased FILE_UPLOAD_MAX_MEMORY_SIZE
  • Aligned Django backend upload limits with the nginx configuration (100MB)

Type of change

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist

  • I have read and understood the rules about how to Contribute to this project
  • The pull request is for the branch develop
  • Linters (Black, Flake, Isort) gave 0 errors.
  • I have added tests for the feature/bug I solved (see tests folder).

Notes

  • This change only affects backend upload limits.
  • No impact on existing APIs or plugin behavior.
  • Successfully tested by uploading and processing a ~75MB file.

@fgibertoni
Copy link
Contributor

Hey, please read the full contribution guidelines and adjust the PR accordingly, thanks.

@xrhstoskap xrhstoskap changed the base branch from master to develop January 7, 2026 13:23
@xrhstoskap xrhstoskap changed the title Fix upload limit Fix upload limit. Fixes #3156 Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems with uploads of big files

4 participants