From b3ed97d3d577ef6b33076f9061e219e6bad75bbe Mon Sep 17 00:00:00 2001 From: Michael Scholz Date: Fri, 11 Oct 2024 16:35:02 +0200 Subject: [PATCH] Document WAR configuration option for maxUploadSize --- .../associating-resources/using-filestore.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/manual/docs/user-guide/associating-resources/using-filestore.md b/docs/manual/docs/user-guide/associating-resources/using-filestore.md index 584d7fb9d376..1ffd452ca7a4 100644 --- a/docs/manual/docs/user-guide/associating-resources/using-filestore.md +++ b/docs/manual/docs/user-guide/associating-resources/using-filestore.md @@ -5,7 +5,7 @@ 3.2 -If documents are not available, editors can upload attachments to a metadata record. The document is added to the filestore. The filestore can contains any kind of files. +If documents are not available, editors can upload attachments to a metadata record. The attachment is added to the filestore. The filestore can contain any kind of files. ![](img/filestore.png) @@ -25,4 +25,15 @@ A file uploaded in this way will be exported in the metadata export file (MEF). ## Filestore configuration -By default, the maximum file size is set to 100Mb. This limit is set in `/services/src/main/resources/config-spring-geonetwork.xml` with the parameter `maxUploadSize`. +By default, the maximum file size for attachment uploads is set to 100Mb. When building GeoNetwork from source, this limit can be changed in `/services/src/main/resources/config-spring-geonetwork.xml` with the parameter `maxUploadSize`. + +For deployment on an application server, or for adjusting the limit in an already running web application, the value for `maxUploadSize` can be changed in `WEB-INF/config.xml` accordingly: + +```xml + + + 5000 + ./data/tmp + false + +``` \ No newline at end of file