-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
Description
When I try to configure upload max file size it's always stuck at default value of 200 MB
Steps to reproduce the behavior
https://github.com/Hellwest/strapi-failing-upload-max-size (see commit history)
- Initialize Strapi app with docker (I'm using PostgreSQL database)
- Try to adjust your configurations in config/request.js
module.exports = {
parser: {
enabled: true,
multipart: true,
formidable: {
maxFileSize: 900 * 1024 * 1024,
},
},
}It fails.
3. Try to configure in extensions/upload/config/config.js
module.exports = {
enabled: true,
provider: "local",
providerOptions: {
sizeLimit: 900 * 1024 * 1024,
},
}It fails.
Expected behavior
I can upload a 700MB mp4 video file
You can see maxFileSize is still ~200 MB on the screen
System
- Node.js version: 12.18.2
- NPM version: 6.14.5
- Strapi version: 3.0.5
- Database: PostgreSQL
- Operating system: Ubuntu 18.04/Linux Mint 19.3/Linux Mint 20
Additional context
Similar issues: #4156, #1975, #1906 and maybe #2737 (Suggested solutions don't work. I'm not using nginx, it's a clean repository, so body size can't be configured any other way)
RyanPrentiss and roylee0704
