cptactionhank / docker-atlassian-jira-software

Atlassian JIRA Software wrapped in a Docker image
https://cptactionhank.github.io/docker-atlassian-jira-software
MIT License
267 stars 165 forks source link

How can I start jira with extra args "-Djira.downgrade.allowed=true"? #83

Open kurtontheway opened 4 years ago

kurtontheway commented 4 years ago

Hi, Are there any environment variables referring to extra start-up arguments? My jira database was written by version 8.9.0 by accident, while my app version is 8.1.0, So Jira had problems to start up with the following message:

Database: Failed to start JIRA due to a build number inconsistency.
The version of the data present in your database is higher than the version of JIRA you are trying to start.
Database build number: 809000
JIRA app build number: 801000

The valid solution to me is starting jira with "-Djira.downgrade.allowed=true", How can I achieve that? Any clue is appreciated!