Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

"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?

0 votes


Accepted answer

Permanent link

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 30 '20, 4:34 p.m.

Question was seen: 948 times

Last updated: Mar 30 '20, 7:27 p.m.

Confirmation Cancel Confirm