Where are the queries for the sonarqube database specified?Background tasks show failed due to query

Error querying database. Cause: org.postgresql.util.PSQLException:

Where are these queries specified ? is at the app server, where can I check this ?

  • Version : 7.9 for sonarqube and postgres 10 for Database ,plugin : jenkins
  • Generating a report succesfully through jenkins plugin but background tasks showing failed
  • Checking the query on two servers- giving error on both, but one generates report succesfully, and another also generated generates, but background tasks showing failed


Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9 → 8.9.10 → 9.7 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.