Error : Maximum upload size of 75000000 bytes exceeded

Hello Community,

I am new to OpenMRS and I’ve been exploring it for a while now. I am getting this error while uploading the Cashier Module -

Module OpenHMIS Cashier Module cannot be started because it requires the following module(s): openhmis.backboneforms 2.3,openhmis.inventory 1.5,openhmis.commons 3.0,jasperreport 1.5.7 Please install and start these modules first.

To fix this error I tried installing the pre- required OpenHMIS Commons omod file - https://addons.openmrs.org/show/org.openmrs.module.openhmis-commons

While uploading this we get this error - SEVERE: Servlet.service() for servlet [openmrs] in context with path [/openmrs] threw exception [Request processing failed; nested exception is org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size of 75000000 bytes exceeded; nested exception is org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (89177331) exceeds the configured maximum (75000000)] with root cause org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (89177331) exceeds the configured maximum (75000000)

We have been trying to look for a solution , but we haven’t been able to find any help.

@dkayiwa @ibacher

Instead of uploading the module via the web interface, just paste the omod file into the application data directory’s modules folder.

Hello @dkayiwa , I tried doing that but I am getting this error -

@mksd @ningosi

Looks like you have a custom module that have wrong beans injection. The error can be in your moduleapplicationcontext.xml or your service layer. Can you share your repo for your custom module?

Hi @ningosi , This is not a custom module, its the OpenHMIS Commons omod file that I installed from openMRS add ons, this was the one mentioned as a pre-requisite for the cashier module. Here’s the repo for the same : https://github.com/banda-health/openmrs-module-openhmis.commons

A complete server side log via pastebin.com would be helpful.

Yes sure, here