How to find the build number of my JIRA database?

How can I find the build number of my JIRA database and change it?

I'm having a problem with my JIRA, it won't start up.
I had JIRA 7.0.10 and I upgraded it to JIRA 7.2.4, (did this on separate local machine) and I didn't make any changes to the entries in the dbconfig.xml to make it into the local Database. 

Anyway, I'm getting the following error message:

Failed to start JIRA due to a build number inconsistency. 
The data present in your database is newer than the version of JIRA you are trying to startup. 
Database build number: 72006 
JIRA app build number: 70120 
 
Please use the correct version of JIRA. You are running: 7.0.10#70120-sha1:37e3d7a6fc4d580639533e7f7c232c925e554a6a

Can you please tell me how to fix this? 
How can I make both the build numbers the same?

I fear that my database is connected to my LIVE server, and if the database is restarted, this error would show up and halt the system?

4 answers

1 accepted

This widget could not be displayed.

Bear in mind that if you just flip the version number and run an older version of JIRA, you're likely to find that it either

  • won't start, throwing a LOT of errors
  • will start, but display damaged/destroyed/unusable data
  • will start, but actively damage or destroy your data

When you have a 7.2.4 database, you must run 7.2.4 or above against it.  Downgrades are unsupportable and mostly guaranteed to fail.  (You might get away with 7.2.0 -> 7.2.3, but 7.lower is out of the question)

So what should we do now? 
Should we just upgrade the JIRA?  

You have a choice between:

  1. You already have upgraded it, you need to run 7.2.4 against that database
  2. Several months work trying to unpick a database in order to downgrade
  3. Revert to the backups you took before the upgrade

Upgraded JIRA to solve the issue. 

This widget could not be displayed.

Hi Mihammad,

Check the answers here: https://answers.atlassian.com/questions/195184

One of the most popular answers to your problem is to set jira.version to match jira.data.version like this:

 
<jira.version>7.0.10</jira.version>
 <jira.data.version>7.0.10</jira.data.version>

 

Regards,
Konstantin

Where is this found? 

This widget could not be displayed.

This Database build number: 72006, is coming from my Live JIRA server. It should be 70120, but instead, it is 72006 (which is build version of JIRA 7.2.4)

This widget could not be displayed.

@Nic Brough [Adaptavist]
Hi Nic, I could really use your help right now. 
Can you please help me out?  

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

127 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you