cancel
Showing results for 
Search instead for 
Did you mean: 

CONTENT INTEGRITY ERROR: Indexes not found for 6 stores.

msvoren
Champ in-the-making
Champ in-the-making
I have to fully rebuild indexes for my alfresco to function properly.
So, each time i restart,
'index.recovery.mode=FULL'
must be in my configuration, alfresco rebuilds indexes and everything is fine.

If i remove 'index.recovery.mode=FULL', it will say "CONTENT INTEGRITY ERROR: Indexes not found for 6 stores." and will fail to start.
Any ideas?
09:55:59,213 User:System ERROR [repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 6 stores.                      
09:55:59,213 User:System INFO  [repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.   
09:55:59,214 User:System ERROR [repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
09:55:59,218 User:System ERROR [web.context.ContextLoader] Context initialization failed                                                      
org.alfresco.error.AlfrescoRuntimeException: 03220000 Ensure that the 'dir.root' property is pointing to the correct data location. 
8 REPLIES 8

mrogers
Star Contributor
Star Contributor
That's not normal.    First thing to check is the setting of dir.root in your alfresco-global.properties.   Make sure its pointing to a fixed path for example and then if it is make sure nothing is damaging your data.

Hi, I'm facing the same kind of issue. It turns out that somehow, some nodes exist in the database but not in alf_data, resulting in a CONTENT INTEGRITY ERROR and the impossibility to make a full rebuild of the index.
Let's say I don't care to loose a few documents : is there a way to run some kind of "cleaning up" of the database (SQL statements ?), so the rebuild of the index finally works ?? Any clue please ?

msvoren
Champ in-the-making
Champ in-the-making
yep, that's the problem, dir.root is correct.

what could be "damaging my data"?

msvoren
Champ in-the-making
Champ in-the-making
So, indexes are there, built, but if I restart alfresco, and don't set "rebuilt" indexes, alfresco won't find dir.root.
If I rebuild indexes (which takes some time), everything is ok with dir.root location..

ssaravanan
Champ in-the-making
Champ in-the-making
If you don't have any data and you are testing, then its worth dropping the DB and let Alfresco create the sql schemas for
you again & try restarting the server as an alternative with no index.recovery as FULL

hsohaib
Champ on-the-rise
Champ on-the-rise
If i remove 'index.recovery.mode=FULL', it will say "CONTENT INTEGRITY ERROR: Indexes not found for 6 stores." and will fail to start.
Any ideas?

When you say "remove", you mean you set it to VALIDATE instead ?

Try removing the content of "alf_data\lucene-indexes", run a FULL reindex, and then set it back to "VALIDATE"

rogier_oudshoor
Champ in-the-making
Champ in-the-making
Are you running on Linux? It sounds like a access issue … (alf user can write but not read all in said directory)

msvoren
Champ in-the-making
Champ in-the-making
tried with deleting indexes, running FULL then set to VALIDATE… same thing.

and, yes, running on linux.. permissions are ok..

it's krejzi I tell you Smiley Happy