Page 1 of 1

Move repository to another drive (OpenKM.cfg)

PostPosted:Sat Mar 07, 2009 1:14 pm
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?

Re:Move repository to another drive (OpenKM.cfg)

PostPosted:Sat Mar 07, 2009 6:22 pm
by jllort
You\'re trying to create a new repository to this location or moving to this location ?

Re:Move repository to another drive (OpenKM.cfg)

PostPosted:Sun Mar 08, 2009 10:39 am
by FrankSpierings2
I am trying to put the initial repository on /var/OpenKM, while JBOSS (and OpenKM) are installed in /opt/JBoss.
Therefore I don\'t need to migrate any data, just move the initial location of the repository.

Re:Move repository to another drive (OpenKM.cfg)

PostPosted:Mon Mar 09, 2009 9:58 am
by pavila
Repository location is relative to $JBOSS_HOME. In Unix / Linux you can use links or mount another partition at $JBOSS_HOME/repository.

Re: Move repository to another drive (OpenKM.cfg)

PostPosted:Fri Oct 01, 2010 7:44 am
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)

Re: Move repository to another drive (OpenKM.cfg)

PostPosted:Fri Oct 01, 2010 6:40 pm
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.

Re: Move repository to another drive (OpenKM.cfg)

PostPosted:Mon Oct 04, 2010 2:41 am
by Ashy
I take it this is on linux? On windows, making a simple shortcut does not cut it I take it? Atleast, so far OpenKM did not recognize it.

Re: Move repository to another drive (OpenKM.cfg)

PostPosted:Mon Oct 04, 2010 10:31 pm
by pavila
Window file link implementation is crappy. Is only useful if you want to put an application short-cut in the user desktop.