makeplane / makeplane/plane

[bug] How to increase allowed attachment size? FILE_SIZE_LIMIT not working

Open
#3,392 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
59.6k
Forks
5.8k
Avg merge
1d 22h
Merged PRs (30d)
49

Description

Is there an existing issue for this?
  • I have searched the existing issues
Current behavior

When a image bigger than 5MBs is uploaded the system give an error.
File size too large. Please select a file smaller than 5MB.
Screenshot 2024-01-17 at 20 15 17

To increase this limit, I tried to change FILE_SIZE_LIMIT to 15728640 in .env a restart the services, both with ./setup.sh script and directly docker compose up -f and after the services are up again the same error happens when trying to upload a big file.

Steps to reproduce

Create an issue an try to upload a 6MB file

Browser

Safari, also in Firefox

Version

Self-hosted

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how FILE_SIZE_LIMIT is passed through the self-hosted Docker Compose setup and where the 5MB attachment validation is applied. Reproduce the issue by creating an issue and uploading a 6MB image after setting FILE_SIZE_LIMIT to 15728640; done means the configured limit is honored after restarting the services.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.