problem with restarting Jira after upgrading 6.4.10 to 7.1.6

Hi,

yesterday we've experienced a curious behaviour after upgrading our production JIRA to v.7.1.6. We've used rapid upgrade method and everything went smoothly until final JIRA restart. We've finished updating all the plugins and re-indexing JIRA and finally we've wanted to restart JIRA one last time to be sure that it works as expected - it was a good decision because it wasn't working as expected wink

After the restart JIRA couldn't start properly (well it started but no further than some "initialising operations", so nobody could access the system through the GUI) - there was no error in logs nor any explanation what was going on. The only thing that the system was doing was massive amount of operations on the database. Most of it was something like this INSERT:

INSERT INTO fieldlayoutitem (ID, FIELDLAYOUT, FIELDIDENTIFIER, DESCRIPTION, VERTICALPOSITION, ISHIDDEN, ISREQUIRED, RENDERERTYPE) VALUES (268502, 10703, 'customfield_11204', '', null, 'true', 'false', 'atlassian-wiki-renderer')

We let it work like that for about 3 hours but nothing changed in that time so we rolled back to the previous version from backup because our maintenance window was closing to an end.

Does anybody encountered such behaviour? For me it is strange that JIRA started successfully after upgrade and worked OK but after updating plugins and re-indexing it couldn't restart.

I know that it looks like a problem with one of the plugins but we haven't encountered it in our test instance so it was an unpleasant surprise for us :/

 

 

1 answer

We've replicated the problem in test instance and it seems that it has nothing to do with plugins, because with all plugins disabled, JIRA in our environment needs 12 hours of database operations to finally start up (during first restart after upgrade). Strange is that it performs those operations veeeeery slowly - only one active connection to the database and only 4-5 writes/sec (while normally working it is about 300-400 writes/sec).

Is it a normal behaviour when upgrading JIRA to version 7.x.x ?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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