Skip to content
Other versions

Loading…

Migration from v2.6 to v2.7

  • Go to OpenKM Administration > Utilities > Database query and execute (usually the invoice URL is http://localhost:8080/invoice; if you have another, update it):

    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 invoice-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>