Sonarqube 9.9.8 Community Edition Task Pending problem

Hello

I’m currently using the SonaCube 9.9.8 Community Edition.

Jenkins build was successful, but SonarQube continues to receive the message “There is a pending project analysis. More details available on the Background Tasks page.” All tasks remain “waiting” or “canceled” on the Background Tasks page.

Files such as ce.log, sonar.log, es.log, and app.log do not have special logs.

How can I figure out what the problem is?
How can we solve it?

Hey there!

Thank you for providing the details. Here are a few suggestions to help resolve the issue:

First, try restarting your SonarQube instance (from the command line). A restart often helps to clear or push through any stuck background tasks and can sometimes resolve these pending analysis issues.

Additionally, only the latest version of SonarQube Community Build is considered active, so you’ll need to upgrade and see if the situation is still replicable before we can help you.

Your upgrade path is:

9.9.8 → 24.12 → 25.5

You may find these resources helpful:

After upgrading, it’s also a good idea to perform database maintenance. You can do this by running the database maintenance steps outlined in the post upgrade docs.