Page 1 of 1

Openkm max.file.size

PostPosted:Wed Sep 14, 2022 1:28 pm
by taranu.andrei
Hi,

We try to limit the maximum upload size of files, for our users.
We tried from GUI, with different configuration: 100 MB, 104857600 kb etc.

https://www.openkm.com/wiki/index.php/A ... _file_size

Also tried in /opt/openkm/conf/server.xml:
Code: Select all
<Connector port="8080" address="0.0.0.0" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
                maxPostSize="104857600" />
Nothing works.

Openkm 6.3 CE(build 8156)

Any ideas/suggestions?

Thank you

Re: Openkm max.file.size

PostPosted:Mon Sep 19, 2022 11:52 am
by jllort
The right parameter to restrict the size of files that can be uploaded is the max.file.size
https://docs.openkm.com/kcenter/view/ok ... eters.html

Do not modify the server.xml file for this matter.