Page 1 of 1

Changing the repository

PostPosted:Thu Sep 22, 2011 7:33 pm
by pkukk
Is there step by step instructions on how to change the repository location?

Re: Changing the repository

PostPosted:Thu Sep 22, 2011 8:07 pm
by pkukk
I am running OpenKM on Ubuntu just for a little further clarification

Re: Changing the repository

PostPosted:Fri Sep 23, 2011 6:08 pm
by jllort
OK it's easy. But first which OpenKM version are you using ?

Re: Changing the repository

PostPosted:Sat Oct 01, 2011 11:15 am
by LN-BEF
I'm interested in step by step instructions too :) My version is OpenKM v 5.1.7

Thanks..

Re: Changing the repository

PostPosted:Mon Oct 03, 2011 11:04 am
by pavila
Do you mean to move the "repository" directory to another disk or partition?

Re: Changing the repository

PostPosted:Tue Oct 04, 2011 6:13 am
by jllort
Before doing anything ensure you've backup all.

This must be used with care.
I asume you're using the default installation ( hypersonic ) if not you must do the change in your database
1- Stop jboss
2- Open the file server/default/data/hypersonic/okm_app ( if you're on windows with some utf-8 editor like ultraedit or gedit )
3- Look for something like "repository.home"
INSERT INTO OKM_CONFIG VALUES('repository.home','string','/home/jllort/software/jboss-4.2.3.GA-OpenKM/repository')
and change to your new repository path
4- Move the folder repository to your new path
5- Start jboss

We'll be waiting your feedback.