Uploading files with more than 10 MB is failing

Hello.

I am trying to change the max allowed document size to be uploaded into Flowable by adding the property below into the /opt/alfresco/tomcat/lib/application.properties file:
spring.servlet.multipart.max-file-size=100MB

The problem is that the value is ignored, and the default (10 MB) still applies.

I know the properties file is being used, as I use it for all the other properties, including the database connection.
Is there any other way to change this option?

Thank you.

Hi,

apparently an additional property needs to be set;

spring.servlet.multipart.max-request-size

I was under the impression that the default for this was unlimited but this not seem to be the cause.
Can you try to set this and see if this works for you?

Regards,

Yvo

Hello.

Yes, I tried that yesterday after I posted the question here, and the only way I could make it work was by including both spring.servlet.multipart.max-file-size and spring.servlet.multipart.max-request-size.

I believe the documentation (https://flowable.com/open-source/docs/bpmn/ch14-Applications/#flowable-ui-applications-configurations) should list both properties, as the max-file-size alone is not enough.

Thank you.

Yes. You’re right. I already changed it in code (flowable-default.properties).
Will also add it to the docs.

Thanks for pointing this out

Regards,

Yvo