Startup check: JIRA build version
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
During installation, upgrade or startup, JIRA performs a number of checks. The JIRA Build Version check verifies that the version of the data stored in the database can be used by the version of JIRA that is about run. If the check fails, JIRA will fail to start. This is to prevent potential data corruption.
While this problem should never happen, there are a few ways to get your data and JIRA instance into this state:
- You may have tried a newer version of JIRA in your test, staging, or dev environment, but forgot to change the database config, and ran it against your production database. This would have upgraded your data.
- You upgraded JIRA, and then tried to downgrade.
- You are migrating the data from an existing JIRA instance that used a newer version of JIRA than the instance you are migrating to
- You are migrating from JIRA Cloud to JIRA Server
The JIRA instance must not be started without further checks. As different versions of JIRA may rely on different structures in the database, running JIRA with the wrong version of database can result in severe data loss. Certain database tables may also not be available, making it impossible for JIRA to run.
The best, and safest solution is to upgrade JIRA to the latest version. This updates and syncs your data and JIRA version back to the same level. A full guide on how to upgrade your JIRA instance can be found here. JIRA Server Upgrade Guide.
Alternative Resolution: Downgrade your data
An alternative resolution is to try to downgrade your data to a version that is compatible with your current JIRA version.
To do this, start your JIRA with the downgrade-flag like so
It will check if JIRA is able to downgrade your data, and if so, will attempt a downgrade. This is not guaranteed to be available for your setup.
If you already ran into this issue, your logs will hint if this option will be available. It is not always possible to downgrade your data so running this command may not bring any results but just yield the same error message again.
Alternative Resolution: Database backup
If you have a database backup with an older data version, you can try to use this to fix your database.
If you do not know if your back up has an older working data version do not try this.
Using a backup will lead to data loss! All data between the time the backup was done and now will be lost!