Migration from 2.6 to 2.7

  • Go to OpenKM Administration > Utilities > Database query and execute ( usually invoice URL is http://localhost:8080/invoice, if have another, update with yours ):
    insert into OKM_CONFIG (CFG_KEY, CFG_TYPE, CFG_VALUE) values ('invoice.url','string','http://localhost:8080/invoice');
  • Edit the invoice-capture.properties file and rename this configuration property:
    • root.destination.folder to root.destination.folder.path
  • Set the value of the mentioned property root.destination.folder.path with a valid OpenKM path, for example:
    •  /okm:root/invoice-module
  • Stop Tomcat and replace the WAR
  • Replace the invoice.war archive at $TOMCAT_HOME/webapps
  • Replace the inovice-plugins.jar archive at $TOMCAT_HOME/plugins
  • Start Tomcat again
  • Update the metadata definition of the metadata group named "okg:invoice_doc_type":
<!-- TYPE DOCUMENT -->
<property-group label="Document type" name="okg:invoice_doc_type">
  <select label="Type" name="okp:invoice_doc_type.type" type="simple"
          className="com.openkm.plugin.form.values.OptionDocumentTypeList"/>
</property-group>

 

 

Table of contents [ Hide Show ]