Hi, The "upload.max" setting is no longer valid in DSpace 7. It was removed during the 6.x -> 7.x upgrade, as it only applied to DSpace 6.x and below.
Because DSpace 7 uses Spring Boot for the backend, you can use Spring Boot's own settings to tweak the maximum size of an uploaded file. See https://spring.io/guides/gs/uploading-files/#_tuning_file_upload_limits By default, DSpace 7 sets both "spring.servlet.multipart.max-file-size" and "spring.servlet.multipart.max-request-size" to 512MB in this file: https://github.com/DSpace/DSpace/blob/main/dspace-server-webapp/src/main/resources/application.properties#L127-L134 However, you can override those defaults by specifying a *new value* in your "local.cfg" (as any settings in local.cfg will override defaults in that application.properties file). So, you could, for example set: "spring.servlet.multipart.max-file-size = 1GB" to add a 1GB limit. I believe you can also set these to "-1" to make the file upload unlimited (however there is always a risk that a very large upload will still fail if your request simply times out in Tomcat.) Hopefully that helps. Let us know if there are other questions on this list. Tim On Monday, December 6, 2021 at 8:17:07 AM UTC-6 [email protected] wrote: > As prescribed in Dspace7 documentation (under submission user > interface/configuring the file upload step/basic settings), have tried > increasing maximum upload file size by adding upload.max = -1 in dpsace.cfg > but was unsuccessfull. Kindly help. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/6f2bf773-8a13-407c-8677-198112c14df6n%40googlegroups.com.
