Consistency Check On cq5
Consistency Check On cq5
crx-quickstart/repository/repository.xml
crx-quickstart/workspaces/*/workspace.xml
e) Start CQ.
f)
Watch the log files for any error and repair messages.
4. Fix errors/Inconsistencies (that are not automatically repaired) with the CRX Console
Tool. There can be different types of inconsistencies in the CRX/workspace but in our
case we encountered following type of inconsistency:
o
6. Once you are logged in into the CRX using this command line, tool follow the steps
below.
a) For example, For the error: NodeState 'ab4f7781-714d-4706-95cb76d68922479c' references inexistent parent id '112111b9-bfd9-4c25-a5c2de63b09124ea' (may be orphaned) (PersistenceManagerUtils.java, line 381)
b) Run these commands to remove the orphan child node save and exit:
o
o
o
rm [ab4f7781-714d-4706-95cb-76d68922479c]
save
exit
Note: If you have many errors to fix then you can prepare multiple rm commands.
7. Create a file named redo_X.log under: crxquickstart/repository/workspaces/<workspace>/index/ where the X in the file name
matches what is in the end of the filename for the crxquickstart/repository/workspaces/<workspace>/index/indexes_X file. And enter the
following in the file:
o
1 DEL ab4f7781-714d-4706-95cb-76d68922479c
1 COM