Jim
Jim

Reputation: 556

Sonar in Maven build stopped working

I had a project built with maven on a Jenkins CI server, and recently the Sonar portion of the build began to fail with the well known

  org.sonar.core.persistence.BadDatabaseVersion: Database must be upgraded. Please browse http://x.x.x.x:9000/setup

I browsed to http://x.x.x.x:9000/setup, and the message there was green and said my database was up to date. The database looks good and the sonar server doesn't throw any Exceptions as far as I can tell from the output, and this installation had been working well up until a few days ago.

I checked that the id was the same between the running server and the database, and insured that only one instance of Sonar was talking to the H2 DB.

My next step is to step through Sonar code, which I'm not eager to do. Any pointers as to what's wrong would be appreciated.

Thanks.

Upvotes: 0

Views: 238

Answers (1)

Spiff
Spiff

Reputation: 2286

Your Maven plugin version is probably not aligned with your Sonar install.

Upvotes: 1

Related Questions