Modify the file upload limit
To modify the file upload limit, follow the steps below:
-
Edit the /opt/bitnami/tomcat/webapps/liferay/WEB-INF/classes/portal-ext.properties file and set the com.liferay.portal.upload.LiferayFileItem.threshold.size option. For example:
com.liferay.portal.upload.LiferayFileItem.threshold.size 1048576
-
Restart the Tomcat server for the changes to take effect:
$ sudo /opt/bitnami/ctlscript.sh restart tomcat