"Cannot find read access policy for type DBArtifact" running repotools-rm_rebuildTextIndices.
![]()
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=8.0.5.11 - pxa6480sr5fp11-20180326_01(SR5 FP11)
Any idea of what's going on?
|
Accepted answer
![]() 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.
repotools-rm.sh -rebuildIndices
repotools-rm.sh -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
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.