• Move repository to another drive (OpenKM.cfg)

  • 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.
 #2337  by FrankSpierings2
 
I need to place the OpenKM repository directory to /var/OpenKM.
Therefore I modified the following values in OpenKM.cfg
Code: Select all
repository.config=/var/OpenKM/repository.xml
repository.home=repository
The problem is that OpenKM seems to append these strings. So now it will not write the repository to /var/OpenKM/repository, but to /opt/JBoss/var/OpenKM/repository.

Is there any way I can correct this?
 #2338  by jllort
 
You\'re trying to create a new repository to this location or moving to this location ?
 #2344  by pavila
 
Repository location is relative to $JBOSS_HOME. In Unix / Linux you can use links or mount another partition at $JBOSS_HOME/repository.
 #6643  by Ashy
 
Sorry for bumping this thread but:

Lets say openkm is installed at D:\OpenKM\ (using windows)

And i want to move the repository with all the files to X:\Repository\

Since repository location is relative to $JBOSS_HOME, how do I make sure OPENKM knows where to look for the repository ? What do I exactly put in the openkm.cfg ?

I thought something like this could work out:


repository.config=X:/Repository/repository.xml

repository.home=X:/Repository/

This does not change anything, as i get the same error:

Configuration file could not be read.: D:\Downloads\OpenKM\OpenKM-4.1_JBoss-4.2.3.GA\X:\repository\repository.xml
(yes, test configuration)
 #6653  by jllort
 
I think pavila is saying to you, create a shortcut x:\repository and copy in c:\jboss\ it'll point to you x:\repository that's the most easiest way for doing it, because repository creation is only make at first jboss starting there some critical configuration files that might not be changed without knowing what are you doing.

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.