cancel
Showing results for 
Search instead for 
Did you mean: 

problem with changing the repository path in windows

jackcool2000
Champ in-the-making
Champ in-the-making
hello:

when i use the default custom-repository.properties with dir.root=./alf_data, it would work but if i change it to another path dir.root=e:/intranet , it would give me errors.    I also change in repository.properties.

Any ideas?
1 REPLY 1

pmonks
Star Contributor
Star Contributor
Did you copy over the contents of ./alf_data to e:/intranet in addition to changing the dir.root property?

The alf_data directory and alfresco database act together as the persistence layer for the repository, and this means that they must be kept in sync (ie. if you delete one you must delete the other one as well).  What I'm guessing happened in your case is that e:/intranet was empty, but Alfresco continued to use your existing alfresco database (which was not empty).  Alfresco checks for this condition at startup and if they're out of sync you'll see a "CONTENT INTEGRITY ERROR" in the alfresco.log.

Cheers,
Peter