• 16MB limit with mysql

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #12302  by preminik
 
Hi,
I have successfully installed and configured OpenKM to use mysql as database (datastore), but I found out that this configuration limits the max file size to 16MB.

The files are uploading without any errors and confirmation is also displayed as file upload successful. But when I try to download the file it is only 0 bytes.

mysql is configured to allow upto 132MB files.

Please help..!

Thanks with regards,
Preminik.
 #12337  by pavila
 
So you have increased the maximum upload file size (max.file.size) and can upload them but they are empty when downloaded? OpenKM (and MySQL) give you any error when upload any file bigger than 16MB? Take a look at $JBOSS_HOME/server/default/log/server.log file.
 #12343  by preminik
 
Thanks for the reply Pavila,

My mistake, the original Datastore was on MyISAM engine.
I re-created the database and used InnoDB engine for the Datastore, all good now.

Thanks again.
Preminik

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.