Forums

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

Error after upgrading from JIRA 7.13.13 to 8.20.12

Pradip_10 November 12, 2022

Hi All,

 

I have just upgraded Jira Software 7.13.13 to 8.20.12 but i'm unable to start Jira due to following error after upgrade

 

****************************************************************************
******* Wrong JVM version! Jira requires 1.8 or 11 to run. *******
****************************************************************************
***
*** Output of java -version command is:
openjdk version "9.0.4"
OpenJDK Runtime Environment (build 9.0.4+11)
OpenJDK 64-Bit Server VM (build 9.0.4+11, mixed mode)
*** (End of output) ***
***
*** If you want JIRA to start using this JVM
*** set environment variable 'ignore_jvm_version' to 'true'
***
****************************************************************************

 

Any help to resolve this issue is really appreciated

 

I have attached screenshot of error for your reference.

 

Platform used:

Windows 10 Pro

 

-Pradip

 

4 answers

0 votes
Chiara Squilloni December 1, 2022

Hi Pradip, 

we are corrently struggling upgrading from jira 7.1.0 to jira 8.20.3 because of the long term support. 

How is going your upgrade? Did you took the intermediate step to jira 8.13?

Please let me know.

 

Chiara

Pradip_10 December 2, 2022

Hi Chiara,

 

Yes, i have successfully upgraded JIRA v7.13.13 to v8.13.27 and then

v8.13.27 to v8.20.12

 

From your JIRA version, it's seems that , its too old but can be upgrade to 8.20.x

 

Please follow this matrix path:

As you may aware that we can't direct upgrade from v7.x.x to 8.x.x, we need to follow intermediate step so go step wise as suggested by official docs of JIRA:

1. v7.1.0 to 8.5.x OR v8.13.x

2. v8.5.x OR v8.13.x to v8.20.x

 

If you are going directly to v8.20.3 from v7.1.0 then you may face many issue also its not recommended by Atlassian JIRA.

 

If you facing any issue while upgrading please feel free to ask.

 

Thanks

Chiara Squilloni December 2, 2022

Hi Pradip,

thank you so much. I'll try these intermediate steps. I'll let you know.

 

Chiara

Pradip_10 December 2, 2022

Hi Chiara, 

 

Perhaps you will easily upgrade from v7. 1.0 to v8.13.x. But while upgrading from v8.13.x to v8.20.x, you will face issues. 

 

-Pradip

Chiara Squilloni
Contributor
December 6, 2022

Hi Pradip,

we try to upgrade from v7.1.0 to Jira 8.13.27 but nothing seems to work! In the log we find:
Jira 8.13.27 build: 813027 started. You can now access Jira through your web browser. Plugins and caches are being initialised.
but from the web broser we see the message "JIRA is currently being upgraded
2022-12-06 10:58:18 warning" and nothing is happening in the logs.

We also raise a support issue because we have to upgrade because of the OAuth 2.0 that is not support in our version.

Pradip_10 December 6, 2022

Hi Chiara, 

 

Would you mind to post screenshot of access page of JIRA in web browser? 

 

Thanks 

Like Chiara Squilloni likes this
Chiara Squilloni
Contributor
December 6, 2022

jirastagelog.png

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.
December 6, 2022

That means what it says - your Jira is running ok, but it needs to upgrade the data to match the new version, so it's now ploughing through all the data changes.

You should be able to use Jira fine after it has finished.  You should be able to see progress in the application log file.

Like Chiara Squilloni likes this
Pradip_10 December 6, 2022

I'm unable to interpret language, can you please use English language and repost the screenshot? 

 

Thanks

Like Chiara Squilloni likes this
Chiara Squilloni
Contributor
December 15, 2022

Hi @Pradip_10 

how does you take the upgrade?

As @Nic Brough -Adaptavist- told us the jira restart but AFTER 4 DAYS

Is this possibile? My sysadmin told me that the db was busy with this query:

set STATE = 1
where OS_WFENTRY.ID in (select O_S_CURRENT_STEP.ENTRY_ID
from OS_CURRENTSTEP O_S_CURRENT_STEP
where O_S_CURRENT_STEP.ENTRY_ID in (...)

is the reason why the restart of the db is taiking so long!

The support told us that that query is very similar of the one performed in the health check, but in the producion eviorment it took half an hour! How is possible?

Also sorry for annoying you! I'll open a new post becaus the issue of Pradip is closed.

Pradip_10 December 15, 2022

Hi @Chiara Squilloni 

 

I haven't faced such issue while upgrading from v7.x.x to v.8.13.27. 

I'm not sure about the query. But you should not face any issue for upgrading from v7 to v8

Are you able to upgrade your JIRA instance to v8.13.27 ? 

I'm strongly recommend you please do the upgradation first on staging / test environment (copy the whole data from prod to test environment) then if its successful, you may go for production upgrade. 

 

-Thanks

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 13, 2022

Hi @Pradip_10 ,

welcome to the Atlassian community!

As specified here https://confluence.atlassian.com/adminjiraserver0820/supported-platforms-1095776511.html, JIRA requires java 8 or 11. Currently your server is using java 9.

Please install JAVA 8 or 11 using this guide https://www.java.com/en/download/help/download_options.html

Fabio

0 votes
Rob Horan
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 12, 2022

Are you able to go directly to 8.20?  I see an upgrade to 8.13, but I'm not sure if you can go past that in one step.  I suspect you might need an intermediate step along the way.

https://confluence.atlassian.com/jiracore/upgrading-jira-server-from-7-x-to-8-13-1018788769.html

I'd recommend opening a ticket with Atlassian Support.

Chiara Squilloni December 1, 2022

Hi Rob, we are corrently struggling upgrading from jira 7.1.0 to jira 8.20.3 because of the long term support. I read the article but I didn't find any advice that we have to take a intermediate step to the 8.13 version.

Can you help me? Thank you so much.

 

Chiara

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 12, 2022

Welcome to the Atlassian Community!

Exactly how did you perform the upgrade?  

This error is what it says - your Jira is set up to use an unsupported JVM, but you can only do that if you have chosen not to use the JVM the distribution includes if you're using the installers, or you have done a manual install.

Pradip_10 November 12, 2022

Hi Nic,

Yes, i have used installer for upgrading. Do you have any idea how can i get rid of this error while starting up JIRA 8.20.12 after upgrade?

Thanks

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 13, 2022

The installers install the correct version of Java as part of the install, so the next thing I would look at is how the environment is configured.  Why is it pointing to a system installation of Java?

Pradip_10 November 13, 2022

Thanks all !

 

One more thing can i upgrade my current jira 7.13.13 to 8.20.12 as suggested by @Rob Horan  do i need to follow an intermediate step along the way ie upgrade 7.13.13 to 8.13.0 and then go for 8.20.12

 

Thanks

Pradip_10 November 13, 2022

Hi,

 

I have upgraded jira 7.13.13 to 8.13.0.

 

Now getting below error:

 

JAVA_HOME "C:\Program Files\Atlassian\JIRA\jre\" contains spaces. Please change to a location without spaces if this causes problems.

If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide

Files\Atlassian\JIRA\jre\\bin\java.exe"" was unexpected at this time.

 

How can i bypass this error, even jira service is getting creating by installer

 

Anyone please help i'm stuck on this since 5 days, tried troubleshooting but nothing works. Feeling frustrated now

 

Please help

 

Thanks

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 13, 2022

We do not have enough information about your installation or what you have been doing to be able to help you yet.

Let's start with the basics.  Where, exactly, is (was) your old 7.13 Jira installed?  Was it really C:\Program Files\Atlassian\JIRA ?  

Then, how did you run the installer?  Download, run it, and tell it to look where to do the upgrade?

Pradip_10 November 13, 2022

Yes Jira old is installed in C:\Program Files\Atlassian\JIRA and run installer to upgrade jira to this location

I have attached screenshot for your reference

Suggest an answer

Log in or Sign up to answer