• how can I update 5.1.3 to 5.1.4

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #11124  by joako
 
It's in the wiki, but there's no place to download it from.

I try to upgrade from 5.1.3 to 5.1.5 but even though 5.1.5 was released an hour after 5.1.4 it seems like you need to upgrade 5.1.3 -> 5.1.4 - > 5.1.5.

5.1.3 -> 5.1.4 gives many errors and won't run.
 #11128  by joako
 
Ok, this process works 5.1.3. -> 5.1.5. Replace OpenKM.war didn't work with 5.1.5 or 5.1.4

1) Stop OpenKM
Code: Select all
# /etc/init.d/okmInstance stop
2) Backup entire OpenKM dir (/opt/openkm here) just in case:
Code: Select all
# tar -czf /root/okm-backup-`date +%s`.tgz /opt/openkm/
3) Keep repository/ OpenKM.cfg, server/default/data
Code: Select all
# mv /opt/openkm/OpenKM.cfg /opt/openkm/repository/ /opt/openkm/server/default/data /opt/
4) Replace OpenKM Directory with new one
Code: Select all
# rm -rf /opt/openkm
# unzip OpenKM-5.1.5_JBoss-4.2.3.GA.zip
# mv jboss-4.2.3.GA/ /opt/openkm
5) Replace the data files
Code: Select all
# rm -rf /opt/openkm/OpenKM.cfg /opt/openkm/server/default/data/
# mv /opt/OpenKM.cfg /opt/repository/ /opt/openkm/
# mv /opt/data/ /opt/openkm/server/default/
6) Change hibernate.hbm2ddl=none in OpenKM.cfg to hibernate.hbm2ddl=update

7) Start OpenKM Service
Code: Select all
# /etc/init.d/omkInstance start
8) Login to your OpenKM and logout (not sure if this is needed, I believe I read hibernate.hbm2ddl=create affects every login, so I assume the same for update)

9) Change hibernate.hbm2ddl=update in OpenKM.cfg to hibernate.hbm2ddl=none

10) Restart OpenKM Service
Code: Select all
# /etc/init.d/omkInstance stop && # /etc/init.d/omkInstance start
 #11129  by pavila
 
If you see an Hibernate exception when upgrading from 5.1.3 to 5.1.4, remove the hibernate-annotations.jar file located at $JBOSS_HOME/server/default/lib.
 #11143  by joako
 
pavila wrote:If you see an Hibernate exception when upgrading from 5.1.3 to 5.1.4, remove the hibernate-annotations.jar file located at $JBOSS_HOME/server/default/lib.
Yes, I believe that's what I saw. That's vital information that should be in the Migration Guide: http://wiki.openkm.com/index.php/Migration_Guide

Can you please update it? I don't see a way I can update it myself.

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.