cancel
Showing results for 
Search instead for 
Did you mean: 

problem with lucene backup

rascio
Champ in-the-making
Champ in-the-making
hi,
i hope this is the right section of the forum to ask that.
i've a problem with the backup-lucene-indexes under the alf_data folder. Alfresco create a folder called '{store_type}' into backup-lucene-indexes, and when i try to start alfresco it throw an exception because there is that folder…but why alfresco make this?

here is the stacktrace:
2010-01-08 13:06:37,416 INFO  [STDOUT] 13:06:37,410  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneIndexBackupComponent' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Existing index backup does not look like the expected structure. It constains a directory with a name that does not match a store protocol /opt/ecm/jboss/repository/alfresco/alf_data/backup-lucene-indexes/{store_type}
Caused by: java.lang.IllegalArgumentException: Existing index backup does not look like the expected structure. It constains a directory with a name that does not match a store protocol /opt/ecm/jboss/repository/alfresco/alf_data/backup-lucene-indexes/{store_type}
        at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$2.execute(AbstractLuceneIndexerAndSearcherFactory.java:1452)
1 REPLY 1

silvion
Champ in-the-making
Champ in-the-making
I'm having the same problem with Alfresco 3.1.2. When I change this directory to the normal SpacesStore/workspace the same error exists except {store_type} = SpacesStore

You can solve this issue by deleting the backup-lucene-indexes folder (before every Alfresco restart), however I want a stronger solution. I hope anyone can help me… thanks in advance