Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone know where to put this code at during start-up?

Brian Johnson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2020

-Djira.downgrade.allowed=true
I have no idea of where to put this code at? Is it in the database or what?

We have different database versions and need to rollback from 8.05 to 7.5

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 22, 2020

Look in the setenv.sh or setenv.bat file (depending on your operating system), in <jira install>/bin

However, also be aware that while that the flag can attempt to trigger a downgrade, it rarely does what people seem to guess it might. 

It will check to see if a downgrade might be possible and execute it if it can.  This

  • really only works for minor changes of version where the database has not changed shape.  8.0.5 back to 8.0.0 might work, but there is zero possibilty that 8.0.5 to 7.anything will not just fail (on a good day - on a bad one, it will probably render your database corrupt beyond repair)
  • takes no account of any apps you have installed, even Atlassian ones.  There's no way to know what they may do when you use the flag

Suggest an answer

Log in or Sign up to answer