From 6d9072fb09554db47dcd954a3f1ed081ca47103b Mon Sep 17 00:00:00 2001 From: Michael Scholz Date: Fri, 11 Oct 2024 16:35:02 +0200 Subject: [PATCH] Document startup configuration of maxUploadSize --- .../associating-resources/using-filestore.md | 10 ++++++++-- 1 file changed, 8 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 584d7fb9d37..0ef53a42652 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,10 @@ 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 is set to 100 MB. This limit is set in `/services/src/main/resources/config-spring-geonetwork.xml` with the parameter `maxUploadSize`. + +During startup of the application, this limit can be adjusted by adding the following option to **CATALINA_OPTS**. The value is to be specified in bytes, thus, the following example configures an upload size of maximal 1 GB: + +``` +-Dapi.params.maxUploadSize=1000000000 +```