You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] How to increase allowed attachment size? FILE_SIZE_LIMIT not working #3392
When a image bigger than 5MBs is uploaded the system give an error. File size too large. Please select a file smaller than 5MB.
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.
I have verified that setting FILE_SIZE_LIMIT and restarting updates the nginx.conf in the proxy container.
For example, mine looks like
...
client_max_body_size 134217728;
...
When I upload a file that is 20 MB, it failed with a 413 Request Entity Too Large.
But, it would not show up in the "proxy" container logs. Why is that?
Turns out, I had to update the outer nginx layer that reverse proxied towards the container, as the outer nginx layer handles HTTPS with certbot.
(host nginx) -> [docker nginx proxy container -> api container]
^^^^^^^^^^
Failure was in the host.
If you run into this, check every layer of your implementation!
@cendyne nailed it. FILE_SIZE_LIMIT now sets the limit in the API, the web app and Plane's bundled proxy. If uploads still fail with a 413, a reverse proxy in front of Plane is rejecting them, so raise its limit too, for example client_max_body_size in nginx.
Activity
niltonvasques commentedon Jan 23, 2024
@Plorenzo I had also to increase the Nginx max body size:
Plorenzo commentedon Jan 24, 2024
I just check and the nginx config in the container is correctly updated already from the .env file
mguptahub commentedon Feb 6, 2024
@Plorenzo hope you have changed the .env file
Plorenzo commentedon Feb 6, 2024
@mguptahub please refer to my original comment
cendyne commentedon Jul 23, 2024
I ran into this too. Good news, read through.
I have verified that setting
FILE_SIZE_LIMITand restarting updates thenginx.confin the proxy container.For example, mine looks like
When I upload a file that is 20 MB, it failed with a 413 Request Entity Too Large.
But, it would not show up in the "proxy" container logs. Why is that?
Turns out, I had to update the outer nginx layer that reverse proxied towards the container, as the outer nginx layer handles HTTPS with certbot.
If you run into this, check every layer of your implementation!
[SILO-270] feat: Notion Importer Phase 1 Implementation (#3392)
[SILO-270] feat: Notion Importer Phase 1 Implementation (makeplane#3392)
vihar commentedon Nov 1, 2026
@cendyne nailed it. FILE_SIZE_LIMIT now sets the limit in the API, the web app and Plane's bundled proxy. If uploads still fail with a 413, a reverse proxy in front of Plane is rejecting them, so raise its limit too, for example
client_max_body_sizein nginx.[SILO-270] feat: Notion Importer Phase 1 Implementation (makeplane#3392)