After upgrade SonarQube hangs in “temporary state”
- Version SonarQube Community 8.5.1 (upgraded from 8.3)
- Upgrade was made on Friday afternoon, but even Monday noon we receive
Results are temporarily unavailable. Indexing of issues is in progress.
when hitting the “Issues”-Tab on the top menu bar.
- Another issue: All projects are grayed out (about 180 small or medium size, rarly large ones) like “CZone” - except for re-runned project (like “DesingSystem”):
- When re-running the build steps / analysis of a project, the project become available again - with all history data
- Steps we did: Upgrade from 8.3.0.34182 to 8.5.1 (build 38104) - launching the website as an administrator by the upgrade notes
I assume that the indexing process the message claims about did not run oder stoped some how…Any chance to restart this process?
Hello @DominikTouring!
First of all indexing of the issues is an async progress, running in the background, so it can take time to make all of the project issues indexed (depending on size).
Secondly, what is the status of the banner at the top of the page? Is it yellow or red? Is the status bar progressing at all?
Thirdly, could you please check background tasks status to see if there are any tasks which are in ‘pending’, ‘in progress’ or ‘failed’ (Administration -> Projects-> Backgroud Tasks)?
Yes, you can restart indexing by deleting data folder located in: $SQ_HOME/data/es6
SonarQube temporary state issue:
Check the logs of SonarQube to see if there are any errors or warnings that might indicate the cause of the issue. You can find the logs in the logs
folder of your SonarQube installation directory(Issues)
- Make sure that you have enough memory and disk space for SonarQube to run properly. [According to the documentation, SonarQube requires at least 2 GB of RAM