It's all about the answers!

Ask a question

"Cannot find read access policy for type DBArtifact" running repotools-rm_rebuildTextIndices.

Ruth Goreti Gonzalez Rodriguez (25110) | asked Mar 30 '20, 4:34 p.m.
We're running RM reindex and found the following error running repotools-rm_rebuildTextIndices:

2020-03-30 01:52:47,882 Cannot find read access policy for type DBArtifact
java.lang.IllegalStateException: Cannot find read access policy for type DBArtifact

We are using v6.0.6 (just upgraded from 6.0.1), java information in log:
2020-03-30 01:52:33,749 Repo Tools
2020-03-30 01:52:33,750 java.version=1.8.0_161
2020-03-30 01:52:33,750 java.runtime.version= - pxa6480sr5fp11-20180326_01(SR5 FP11)

Any idea of what's going on?

Accepted answer

permanent link
Jose Omar Oseguera Chijate (3429) | answered Mar 30 '20, 7:27 p.m.

The RM application didnt had any project area available. For such the reindex using the command -rebuildTextIndices was failling giving the mentioned error. In that case with no information inside the database we only run the following reindex commands. -rebuildIndices -reindex all

With those any error related to missing indices is fixed.

Ruth Goreti Gonzalez Rodriguez selected this answer as the correct answer

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.