Ir al contenido
Otras versiones

Cargando…

Change repository home

Esta página aún no está disponible en tu idioma.

By default the repository is located at “$TOMCAT_HOME/repository” but you can change to other location.

Understanding the contents of repository folders

Section titled “Understanding the contents of repository folders”

Into “$TOMCAT_HOME/repository” there are three folder “index”, “cache” and “datastore”.

Folder Backup Description
index No The folder which contains the Lucene search engine indexes. The content of that folder can be rebuild.
Although is not mandatory backup this folder, we recommend doing it.
cache No The folder which contains the application cached files. For example, for previewing documents, sometimes is needed to transform the original document to other format. The conversion consumes a lot of hardware resources, for this reason the application  stores these converted files to be reused later. The content of that folder can be cleaned without major problems.
Although is not mandatory backup this folder, we recommend doing it.
datastore Yes The folder which contains all binary data of the documents. 
Is mandatory mandatory backup this folder otherwise the binary data of the documents could be lost on a server hardware fail.
  • Stop the application
  • Move the “$TOMCAT_HOME/repository” to other location.
  • Edit the “$TOMCAT_HOME/OpenKM.cfg” file and add the property “repository.home”.
  • Start the application
repository.home=C:/okmrepo
repository.home=/mnt/okmrepo

Table of properties:

Folder Property
index hibernate.search.index.home
cache repository.cache.home
datastore repository.datastore.home
  • Stop the application
  • Move the “$TOMCAT_HOME/repository/{folder}” to other location.
  • Edit the “$TOMCAT_HOME/OpenKM.cfg” file and add the some property.
  • Start the application
hibernate.search.index.home=C:/okmrepo/index
repository.datastore.home=D:/okm/datastore
repository.cache.home=D:/okm/cache
hibernate.search.index.home=/mnt/okmrepo/index
repository.datastore.home=/mnt/okm/datastore
repository.cache.home=/mnt/okm/cache

Windows mapped network disk is not working

Section titled “Windows mapped network disk is not working”

 Seems there’re restrictions using network unit ( mapped with “net use” command line ) and application running from services. To solve it is necessary to create a link between UNC and the file system.

Terminal window
MKLINK /D C:\okm-repository \\192.168.1.36\eDocuments\okm-repository